docs.rarible.org is building with MkDocs and deploying to GitHub Pages. Documentation source files have been written in Markdown and configured with the mkdocs.yml
.
Requirements for work with MkDocs:
- Python
- pip
-
Install MkDocs:
pip install mkdocs
-
Install Material Theme for MkDocs:
pip install mkdocs-material
-
Clone the repository with docs.
-
Switch to the required branch or create it.
-
Make changes, commit and push.
-
For checking the changes locally, run the command in the project directory:
mkdocs serve
-
Open up
http://127.0.0.1:8000/
in your browser.
Changes in the documentation will be displayed immediately.
Merge pull requests or push changes to GitHub main
branch. The site will be automatically built and deployed within a few minutes.
You should never edit files in your pages repository by hand. Because you will lose your work the next time you push the changes.
- MkDocs documentation for configurate settings.
- Material documentation for configurate theme and extentions.