This website is built using Docusaurus, a modern static website generator.
If you are new to Docusaurus/NodeJS, please install yarn, nvm and node first. Example:
brew install yarn
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
#start a new terminal window
nvm install node
Then run yarn
to install the dependency libs.
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
It has been configured to deploy new changes to docs.timeplus.com via Netlify.
Currently English is the only official language for the documentation and we are working on other languages, starting from Simplified Chinese. It's managed by Crowdin and welcome any contribution.
- Make sure your Neutron is up-to-date
- Go to your Neutron folder,
make gen_api_doc
to generatedocs/swagger.yaml
- Go back to this folder and modify the
root
inside the.redocly.yaml
, make sure the path is correct yarn rest-doc