* add custom scripts, create prebuild to import data to pages * update after latest prebuild * auto commit generated command files * add accordion component * add changbelog page * add node_api_check outputs * finish all command outputs * more accordions beautifications * finish accordion * PR ready to go * address review comments --------- Co-authored-by: mfahampshire <maxhampshire@pm.me>
Nym Docs v2
New consolidated version of the nym docs.
Local development
npm i
npm run dev
Open http://localhost:3000 to browse the output that will hot-reload when you make changes.
If you are cutting a new version with binaries that have updated commands (and you have updated the command list in autodocs) run:
npm generate:commands
This will regenerate the md command files for the binaries, move them into position, and then commit them to the branch head.
Build
npm run build
The static output will be in ./out;
If you are cutting a new version with binaries that have updated commands (and you have updated the command list in autodocs) run this first:
npm generate:commands
This will regenerate the md command files for the binaries, move them into position, and then commit them to the branch head.
Template details
This documentation was made with Nextra using the template from here https://github.com/shuding/nextra-docs-template.