This repository contains the sources to build the technical documentation for the ROMI project. It is published here: https://docs.romi-project.eu/.
If it is your first time around, have a look at the official mkdocs documentation here.
We strongly recommand to create a virtualenv or conda environment first!
With conda, something like this should be enough to get you started:
conda create -n romi_robots_docs python=3.10
conda activate romi_robots_docsTo install all the requirements at once, defined in the requirements.txt file, simply do:
python3 -m pip install -r requirements.txtYou may have to update pip first:
python3 -m pip install --upgrade pipModify the documentation and test them with:
mkdocs serveNote that this should be run from the project's root directory.
!!! important
As we reference the plant_3d_explorer, plant_3d_vision, plant_imager & plantdb modules by reading their
README.md it may significantly slow down the process of generating the HTML files and thus alter the livereload
experience.
Once you are satisfied with your modifications, you can either:
- push them to the GitHub repository and wait for the automatic build (thanks to the
buildjob defined in.github/workflows/main.yml) - use
mkdocs gh-deploy.
Install the linkchecker library:
pip3 install linkcheckerCheck links (after upload to website):
linkchecker https://docs.romi-project.eu