aerostack2 / aerostack2.github.io

Documentation of the Aerostack2 Project
https://aerostack2.github.io/
MIT License
8 stars 6 forks source link

CONTRIBUTION GUIDE

This repository contain the source files to build Aerostack2's documentation from docs folder. In order to build the project, just push the changes to docs and github actions will automatically push the built html files in branch gh-pages.

Adding a python package to docs

To add a python module to the web, follow these steps:

IMPORTANT: If there is a missing dependency, even if the ros-build phase is completed, autodoc won't generate the documentation. We can make autodoc ignore these dependencies by adding these dependencies to the rule inside this repo's conf.py file. For example:

autodoc_mock_imports = ['as2_msgs', 'geographic_msgs', 'motion_reference_handlers']

This is to be improved in later versions.

Adding a C++ project to docs

To add a C++ module to the web, follow these steps: