Open mrwonko opened 11 years ago
I like the idea of using Doxygen. I only ask that you keep the compiled documentation, so that new people won't have to download Doxygen in order to get documentation.
@eezstreet, where would you want the documentation kept? The git repository would be a horrible place for that IMHO.
Given the amount of people with webservers I do not think we'll have any problems finding a place to store it and I believe the documentation could be generated through buildbot (which is being worked on in #68)
@Joel probably a /doc/ folder on the Github, or stored on an external webserver, and the Documentation link on the wiki linking to it.
Date: Sun, 14 Apr 2013 10:07:41 -0700 From: notifications@github.com To: OpenJK@noreply.github.com CC: eezstreet@live.com Subject: Re: [OpenJK] Docu style (#109)
Given the amount of people with webservers I do not think we'll have any problems finding a place to store it and I believe the documentation could be generated through buildbot (which is being worked on in #68)
— Reply to this email directly or view it on GitHub.
The documentation should be stored in a gh-pages orphan branch, which makes them available online via https://razish.github.io/OpenJK/.
It's called Github Pages: https://help.github.com/articles/creating-project-pages-manually
Here's my own example and the orphan gh-pages branch.
I'm about to start documenting the code. While reading functions I'll improve their documentation to help me get a better understanding, which will help with describing the overall architecture later.
How should the code be documented? Take this example from the current code:
I'd argue that listing the function name is redundant. When looking for a certain function, you can use the functionality of your IDE. I'd also like to use Doxygen style so we can generate Doxygen documentation. I'd rather have something like this:
Any comments on that? Do/Don't? Any other wishes/recommendations regarding the documentation? Like a "Where do I need to look for X" list would obviously be nice. Should that kind of stuff go into our wiki? Then it will be missing when people fork. Should a docu/ folder be added? How should that documentation be written? A text-only Doxygen file?