cms-analysis / HiggsAnalysis-KITHiggsToTauTau

http://cms-analysis.github.io/HiggsAnalysis-KITHiggsToTauTau/
6 stars 18 forks source link

Documentation with sphinx and readthedocs.org #62

Closed pfackeldey closed 6 years ago

pfackeldey commented 6 years ago

This is a template for a readthedocs.io website! You can test it locally by installing sphinxvia pip and then do from the docs directory:

The input of the website is configured in the .rst files. They can be written manually or automatically with the sphinx-apidoc command. More info here: http://www.patricksoftwareblog.com/python-documentation-using-sphinx/
As soon as you want we can merge it and everybody contributes to it. This is the easiest way I would suggest. Once there is a documentation we can use readthedocs (https://readthedocs.org/) to host it. It also provides a webhook which allows to build the documentation after every commit.

Let me know what you think about this :)

pfackeldey commented 6 years ago

some updates: to install on lx3b do:

then you can use the sphinx executables!
Here is a small appetizer...:
build_copy.tar.gz

(Just download, unpack and run firefox build_copy/html/index.html)

pfackeldey commented 6 years ago

I think I can close this one now, since we use doxygen, right? :)

greyxray commented 6 years ago

I would say yes. I am pro doxygen just because it's simpler to maintain and I saw it being used way more often so it already showed its reliability once is set up. also people know how to use it

pfackeldey commented 6 years ago

ok thanks for your replies!