Open leifdenby opened 3 years ago
Leif, this sounds a really good idea. Thumbs up from me. I think a useful way of looking at it is to imagine being completely new to it (like me, more or less). Then I would like to know from the documentation:
Hi @leifdenby
I don't have a lot of experience actively using doxygen (I mostly look at model documentation and comments in the code), but it sounds like a good idea to use the format whenever we can. I think leaving other documentation in a tex format may be OK: a main thing to avoid is having (possibly incompatible) documentation in multiple places (tex and md files).
I'd like to get a discussion started about how we want to make documentation for MONC available. My aim would be the documentation that satisfies the following:
What do people think about this?
To get the ball rolling on this I have set up Doxygen-based documentation which parses the source-code of MONC and generates a website where one can search through the source code. That is work in progress (see https://github.com/Leeds-MONC/monc/pull/30). The way this is currently set up any time the
master
branch is changed on our fork the documentation is automatically regenerated and made available on https://leeds-monc.github.io/monc/ (it needs a bit more work to compile only for tagged version, and for all tagged versions).I would like to build on this Doxygen-based documentation by adding more markdown-formatted files to
doc/
in the repository (here's what I've got so far: https://github.com/Leeds-MONC/monc/tree/doxygen-action/doc). This would cover each of the model components and I was planning we'd take content (with attribution) from the MONC documentation LaTeX document that Adrian and Todd have been working on: https://www.overleaf.com/project/5e467337742dd800019e2448. What do people think about this idea? How should we organise thedoc/
folder? A file for each componentmicrophysics.md
,radiation.md
etc? Sub-directories with related functionality?