mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 14:06:59 +02:00
feat: prototype custom pages site generation
This commit is contained in:
parent
cf08a20737
commit
bc7b2835b0
8 changed files with 78 additions and 9 deletions
|
@ -13,7 +13,7 @@ async function generate(file, content) {
|
|||
}
|
||||
}
|
||||
|
||||
const indexRE = /(^|.*\/)index\.md$/i;
|
||||
const indexRE = /(^|.*\/)index\.(md|js)$/i;
|
||||
const mdRE = /\.md$/;
|
||||
|
||||
function fileToPath(file) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue