Last updated: 5. March 2024
This is a tutorial on generating documentations like this one in the environment of GitHub Enterprise at ZHAW. The procedure is tested under Windows 10.
This tutorial was created in response to numerous requests.
The documentation .html files should lay in the <repo root>/docs directory. Therefore you should create this directory in the root of your workspace.
Doxyfile and place it e.g. in the root of your project.Doxyfiledocs folder as output folderhtml subfolder).Doxyfile of this Repository or find it out yourself with the provided manuals of the used tools.SHORT_NAMES and set CASE_SENSE_NAMES to YES in the Doxyfile. This makes sure that the names of generated files stay consistent which reduces the (unnecessary) data overhead on GitHub.Doxyfile come and go. Some options might be called different when using another version.This step is only required when using .m files.
Only commented lines beginning with %> will be analyzed by Doxygen. After the line starts with %> you can use the usual doxygen commands, e.g.
m2cpp.pl, e.g. in C:/Tools/Using Doxygen with Matlab/m2cpp.pl. (The file can also be fount in this repo.).pl files with Perl. <matlab installation root>\<version>\sys\perl\win32\bin\perl.exe..m files with the Perl script by changing the FILTER_PATTERNS option of the created Doxyfile. This step is not required if you're just some boring engineer that doesn't care how things are looking. If you're cool, this step is mandatory.
.js and .css files placed in the root of the downloded files in some subfolder of your docs folder.HTML_EXTRA_STYLESHEET of the Doxyfile. .css files.You can create and include a custom .css file to change things. With doxygen-awesome-css the most important settings can be configured with variables. Check out the myStyle.css file in this repo for an example. An then add you custom .css file to the Doxyfile configuration as last file.
Configure the extensions according to the documentation of doxygen-awesome-css.
Most of them need to include additional .js files in the header. In order to make this work you have to
new_header.html.new_header.html file in some subfolder of docs and rename it.HTML_HEADER option of your Doxyfile Run doxygen in the root of your repo. If set up correctly, the html documentation files are now inputted in the docs folder. Push the whole content to the Github server.
/docs and press Save./docs folder or its subfolders, a link will appear within the Pages settings./html subfolder)