-
Notifications
You must be signed in to change notification settings - Fork 1
How to Generate the Documentation
Marcus Hudritsch edited this page Dec 12, 2023
·
3 revisions
Automatic Generation
- The documentation gets automatically generated with GitHub workflows and pushed to external servers.
- You can access it at: https://pallas.ti.bfh.ch/slproject/docs/index.html
- The code documentation gets generated with the Doxygen tool.
- All files needed for the generation are in the folder docs.
Download Doxygen and the Graphviz tool
- Doxygen is a tool that can generate HTML documentation from the source code.
- You can download it for free at: https://doxygen.nl/
- Install Doxygen with default options.
- For the graphics inside the documentation Doxygen uses the Graphviz tool.
- You can download it for free at: http://www.graphviz.org/
- Install the Graphviz tool with the default options.
- On macOS you can install both tools with
brew install graphviz
Generate the HTML Documentation locally
- Open the Doxygen.exe (or .app on MacOS)
- Over the menu File > Open ... open the file
Doxyfile
in the folder doc. - Under the tab Wizard > Project adapt the
Project version or id
- Under the tab Wizard > Project select the
SLProject.png
in the folder doc as logo. - Under the tab Expert > Dot set the correct path to the dot tool (Graphviz) in
DOT_PATH
. - Under the tab Run press
Run doxygen
to launch the generation process. - The documentation is generated into the folder doc
- After generation open the index.html page inside the doc folder.