SoftmatterLMU-RaedlerGroup / pyama

Desktop application for extracting single-cell fluorescence from single-cell time-lapse microscopy movies
MIT License
1 stars 2 forks source link

setup doxygen documentation #21

Closed BeastyBlacksmith closed 3 years ago

BeastyBlacksmith commented 3 years ago

This PR uses doxygen for the documentation. I found setup easier and results nicer than using sphinx (#20).

Docstrings need to formatted according to the specification (https://www.doxygen.nl/manual/docblocks.html#pythonblocks). The list of commands: https://www.doxygen.nl/manual/commands.html

All in all its still a bit cluttered, but that could be improved in a different PR.

To build the documentation locally:

Closes #17

dwoschee commented 3 years ago

Why isn’t PYTHON_DOCSTRING set to NO?

According to the docs, this would allow for more pythonic docstrings (at least omitting the ! at the beginning of each docstring). This sounds like a cleaner solution.

BeastyBlacksmith commented 3 years ago

Good point, I think I wanted to play safe

BeastyBlacksmith commented 3 years ago

Now I know, the system installed doxygen 1.8.17 and the documentation is for 1.9.2 ^^

dwoschee commented 3 years ago

PYTHON_DOCSTRING is introduced by doxygen 1.8.20. Would it be possible to use at least this version?

BeastyBlacksmith commented 3 years ago

I built version 1.9.1 from source, we might need to create an artifact for that in the github action though

BeastyBlacksmith commented 3 years ago

updated the configuration file and dropped the bangs