This folder organizes everything needed to generate the documentation of Jetworking
:
Guides
: markdown files to be included in the generated documentation.Jazzy Configurations
: configuration files of the documentation generation engine.
The generated documentation files are stored in the top-level docs
folder.
Whenever the specification of a public
or open
interface changes, the documentation can be easily updated by running make generate-docs
from the root directory.
For the docs generation, Jazzy is used, which can be installed using RubyGems as follows:
sudo gem install jazzy
Note for users with Apple Silicon Macs: If the make generate-docs
fails with an error like this one, you may want to try this solution.
When a new submodule is added, the documentation generation configuration should also be updated:
- Create the
Guides/SubGuides/NewModuleName
folder with a fileSimple Sample Usage.md
in it (analogously how it is done in theDataTransfer
submodule). - In the
Guides/MainGuide.md
file, add the new submodule to the list of available references. - Create a new jazzy configuration
NewModuleName.yaml
in theJazzy Configurations
folder (you could just copyDataTransfer.yaml
and edit accordingly). - In the Makefile, check all scripts and, where needed, add a line to also generate documentation for the new sub module (analogously to the
DataTransfer
submodule). - Finally run
make generate-docs
.