1
0
Fork 0

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:
Joost De Cock 2024-11-18 11:05:16 +01:00 committed by GitHub
parent ef8f68bcaf
commit 469eb43c95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
595 changed files with 20432 additions and 2469 deletions

View file

@ -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)
}
}
}