![]() |
Peano
|
The tutorials are embedded into their respective extension documentation. However, the list below provides an overview over some tutorials.
![]() | ![]() |
![]() | ![]() |
Tutorials are written as plain Doxygen files and typically have the extension dox.
If you prefer to have Python notebooks, please store the notebook (without any binary content) in the repository. The notebooks then have to be converted before we actually invoke doxygen. This is done by calling
If you now call Doxygen, the notebook is integrated into the static webpage.
This webpage will be given the identifier that corresponds to the qualified file path, where all / are replaced with underscores and the postfix is eliminated. So if your file is called
Peano/tutorials/mghype/hitchhikers-guide.ipynb
then you'll get a page with the identifier
tutorials_mghype_hitchhikers-guide
If you have boxes in your Jupyter notebook which are classified as raw, these are unfortunately not preserved by the markdown export of the notebooks. However, our postprocessing script is able to reconstruct a proper formatting if you indent the lines within your raw box by at least give spaces, just as you would do with markdown in Doxygen. You have to indent every single line of the block though.
If all is a mess, just add a line of tilde chars when you start the raw block as well as the very end. You should be all set then.
It is always tricky to decide what documentation should go into tutorials and what type of information does not fit in there. Our rule of thumb reads as follows:
How the code is designed, the overarching architecture, how components interact, and so forth all goes into documentation.
are in tutorials. How things are implemented go into documentation if they are high level. Otherwise they go straight into the in source docu. Numerics is a grey area but I decided to move them to the tutorials.