Skip to content

RoBorregos/RoBorregos-Docs

Repository files navigation

RoBorregos-Docs

RoBorregos Official Documentation

Welcome to the RoBorregos Official documentation. This documentation is based on mkdocs, using the material theme.

Development team

Name Email Github Role
Iván Romero [email protected] @IvanRomero03 Repo Mantainer and Documentation Lead

Add new page

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.

Run locally

To run the documentation locally, you need to have python installed.

  1. Clone the repository
git clone https://github.com/RoBorregos/RoBorregos-Docs.git
  1. Install the requirements
pip install -r requirements.txt
  1. Run the server
mkdocs serve
  1. If you encounter issues with the command not being found try the following
python -m mkdocs serve
  1. Open the browser and go to http://localhost:8000

Test

Run formatting tests

pip install -r requirements_test.txt
# At root directory of project
pytest 

Deploy

Pls do not deploy without permission from the repo mantainer.

mkdocs gh-deploy