The docpad-plugin-ghpages uses the following information to stitch a new repo with contents of ./out directory onto root of your gh-pages branch:
git config user.emailgit config user.name
The docpad-plugin-ghpages uses the following information to stitch a new repo with contents of ./out directory onto root of your gh-pages branch:
git config user.emailgit config user.name| import { Route, Switch } from "wouter-preact"; | |
| const pageFiles = import.meta.globEager("./pages/**/*.tsx"); | |
| const pages = Object.keys(pageFiles) | |
| .sort() | |
| .reverse() // Ensure the order of page file names. Put `:<filename>` to the end of the array. | |
| .map((filePath) => { | |
| const path = filePath.slice(8, -4).replace(/\/?index$/, ""); | |
| const { Page } = pageFiles[filePath]; |