Ensure you have yarn
installed (macOS users can Run brew install yarn
)
- Use
yarn
to install dependencies - Use
yarn dev
to run the docs locally. - Use
yarn build
to build the docs.
You should always run yarn build
before pushing any changes to validate that there are no syntax errors.
This documentation is created using Nextra.
Each page is generated from a single .mdx
file under the ./pages
directory.
Each directory represents a page grouping. Each directory contains a _meta.json
file, which dictates the order and name of the items in the navbar.
For more information on how the docs are structured, please refer to the Nextra docs.
All content submitted will be reviewed by a maintainer
To standardize the documentation, please follow the style guide for instructions on how to format changes to the docs.
As an open source and decentralized protocol, we greatly appreciate any contributions! If you feel like the docs can be better in some way, please feel free to fork this repo and make a pull request or open an issue in this Repository.
While the contents of this repository are not technical in nature, contributing requires a basic understanding of:
- Git
- Github
To propose changes directly, you can open a Pull Request against this repository.
- Fork the repository, then clone the forked repository locally.
- Make changes to the repository. You can refer to the contribution guide above on how or where to make specific changes.
- Validate your changes by running the docs locally (Refer to the Quick Start section above for instructions)
- Commit and push your changes to your forked repository.
- Once your changes have been pushed to your forked repository, make a Pull Request against this repository. Ensure that your Pull Request follows the template so we can understand and review your changes clearly.
Alternatively, if you have more general suggestions on how we can improve or correct these docs, you can open an issue.