feat: Add various content types to docusaurus (#7231)
This brings blog posts, showcase posts, and newsletter editions into the Docusaurus site. It also adds support for using TailwindCSS inside a container. So this will probably end up being the new freesewing.org site in v4.
This commit is contained in:
parent
ef8f68bcaf
commit
469eb43c95
595 changed files with 20432 additions and 2469 deletions
|
@ -94,6 +94,7 @@ function mmOption(option) {
|
|||
|
||||
/*
|
||||
* Generate options page for each design
|
||||
* Also create placeholder /designs/NAME page
|
||||
*/
|
||||
async function generateDesignsDocs() {
|
||||
// Iterate over designs
|
||||
|
@ -163,6 +164,7 @@ async function generateDesignsDocs() {
|
|||
await ensuredir(dir)
|
||||
fs.writeFileSync(`${dir}/readme.mdx`, content.join('\n'))
|
||||
}
|
||||
fs.writeFileSync(`./src/pages/designs/${name}.md`, name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue