How is the documentation generated

I see you might use @discordjs/docgen to make the docs.json file but how do you turn that into an actual website with a theme. Like https://discord.js.org/#/docs
3 Replies
d.js toolkit
d.js toolkit14mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
d.js docs
d.js docs14mo ago
How we generate our documentation: - (1) Source code is run through the docgen to parse JSDocs and Markdown files, generating a single JSON file with documentation data - (2) The output JSON file is named by the branch or tag name and committed to the docs branch of its corresponding repository - (3) The website pulls a list of branches and tags from GitHub, with the repo being specified in a DataSource - (4) The website downloads the JSON file from the docs branch for the selected tag/branch, then parses and displays it
Jire
JireOP14mo ago
@Qjuh what I mean: what tool or util parses them into html Ah ok
Want results from more Discord servers?
Add your server