Files
nym/documentation/docs
import this 2d6ed2ac9e [NEW-DOCs/operators]: Command output, accordion, api scraping & all final tasks (#5026)
* 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>
2024-10-24 13:59:23 +02:00
..
2024-10-24 13:58:38 +02:00
2024-10-24 13:54:47 +02:00
2024-10-24 13:58:38 +02:00
2024-10-24 13:54:46 +02:00

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.