RoBorregos Official Documentation
Welcome to the RoBorregos Official documentation. This documentation is based on mkdocs, using the material theme.
Name | Github | Role | |
---|---|---|---|
Iván Romero | [email protected] | @IvanRomero03 | Repo Mantainer and Documentation Lead |
To add a new page, locate the docs directory.
ROBORREGOS-DOCS
│ mkdocs.yml
│ requirements.txt
│
└───docs
│ │ index.md
│ │ YourNewPage.md
│ └───assets
│ favicon.png
│ logo.png
│ ...
│
└───sites
...
Here, add a new .md file and add your content. To add new images, add them to the assets folder. Preferably, use the same name as the page you are adding. Example: If you are adding a new page called YourNewPage.md, add your images to the assets folder with the name YourNewPage.
To run the documentation locally, you need to have python installed.
- Clone the repository
git clone https://github.com/RoBorregos/RoBorregos-Docs.git
- Install the requirements
pip install -r requirements.txt
- Run the server
mkdocs serve
- If you encounter issues with the command not being found try the following
python -m mkdocs serve
- Open the browser and go to http://localhost:8000
Run formatting tests
pip install -r requirements_test.txt
# At root directory of project
pytest
Pls do not deploy without permission from the repo mantainer.
mkdocs gh-deploy