#documentation

3 messages · Page 1 of 1 (latest)

hidden zephyr

What does discord.js use to generate the docs, is it jsdoc or some other?
I see the jsdoc comments but I wasnt able to found what exactly is used.

ashen lanceBOT

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

hidden zephyr

is the docgen on npm or no?