Skip to content

Programmatically create pages? #1641

Closed Answered by brc-dd
DavidSabine asked this question in Q&A
Discussion options

You must be logged in to vote

Write a script to transform the data in a JSON file to a MD file and emit it to the spec directory? 👀

There isn't a way to directly feed that data to VitePress, you'll need to generate a markdown file corresponding to each of your spec.json files and write it to filesystem before building the docs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DavidSabine
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