Skip to content
Discussion options

You must be logged in to vote

My bad for leaving this unanswered for nearly a year. I literally only just spotted it. The easiest way to do it now (which wasn't true a year ago) is to create a new site with npx create-docstatic@latest -mysite, where mysite is the name of your repo. Then drop all your .mdx files into the /docs folder in whatever folders they are already in (if you're using .md files, just rename them to .mdx). Then start the local server with yarn dev, connect to Tina admin (localhost:3000/admin) and create a new table of contents.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aowendev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants