Skip to main content

Usage

Usage#

Generate#

Enter the following command to generate the document.

./bin/cli.js -o example/openapi.json -p dist

Show documents#

Docusaurus v2 documentation is generated in dist directory.
To see the documentation, go inside dist directory and type the following command.

yarn install
yarn start

Build documents#

After it looks fine, build the document for publication.

yarn build

Modify documents#

You can modify the documentation according to Docusaurus v2.
See below for Docusaurus v2.

https://docusaurus.io/