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/NewModuleNamefolder with a fileSimple Sample Usage.mdin it (analogously how it is done in theDataTransfersubmodule). - In the
Guides/MainGuide.mdfile, add the new submodule to the list of available references. - Create a new jazzy configuration
NewModuleName.yamlin theJazzy Configurationsfolder (you could just copyDataTransfer.yamland 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
DataTransfersubmodule). - Finally run
make generate-docs.