This repository contains the source code to our docs site at docs.permit.io.
- Docs are located in the
docs/
folder - All docs must be in the
md
format (markdown) or themdx
format (Markdown with react) - Check out this tutorial on how to write docs
- You can configure the sidebar by editing
sidebars.js
(as shown in this tutorial)
This website is built using Docusaurus 2, a modern static website generator.
To install the required NPM packages run:
yarn
To Start the docs website on port 3000 run:
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.
This command generates static content into the build
directory and can be served using any static contents hosting service:
$ yarn build
Merging new code to master will auto-deploy to netlify.