Contribution Guide
The guide offers general rules and guidelines for pushing changes to the documentation site. We accept pull requests on github for new pages/sections and major/minor edits to existing pages. The site is powered by Material for MkDocs. We recommend reading their documentation for an understanding of how it works. Each page is written as a markdown file.
General Rules
- Check how the page renders before submitting pull requests. Material for MkDocs Getting Started page shows how to set Material for MkDocs.
- Add your page to the navigation tree in mkdocs.yml, in the appropriate location so that it shows up in the sidebar.
- Ensure your pages are readable in both light mode and dark mode.
New Page/Section Guidelines
- Include description of page/section in the pull request.
- Only ONE new page/section per pull request.
- Check the structure of other similar pages for inspiration.
- Avoid table of content trees with a depth of greater than three. (ie: main page -> subpage -> subpage, depth = 3)
Major/Minor Edits Guidelines
- Describe reason for the edit in the pull request.
- Only have ONE major edit per pull requests. You may include multiple minor edits in a single request.