UofSSpaceTeam / roveberrypy

Software for the Rover 2014-2016
Educational Community License v2.0
3 stars 0 forks source link

Better documentation #56

Closed ottopasuuna closed 7 years ago

ottopasuuna commented 7 years ago

Currenty the only thing that is documented sufficiently is the ExampleProcess.py. The rest of the code base relies on descriptive variable names, which is fine for small programs, but our sofware has grown enough in the past few years that more rigerous documentation will make it easier for new members to learn the internals, and improve the longevity of the project. Also, I don't think anyone really goes to the wiki, nor updates it, so finding a different place (ReadTheDocs?) to put all our documentation for roveberrypy, embeded code, PCBs, and how to get started with the team, might be a good idea.

climathosphere commented 7 years ago

I Second This.

ottopasuuna commented 7 years ago

I was just looking at Github pages, and they look like a possible solution. We could use ReadtheDocs/sphinx for autogenerating documentation from code coments, and have examples on how to use the software in that repo. Then a Github page for the usst organization could act as a hub linking to all the individual repo's doc pages, and explaining how things work together, as well as general team contributing stuff such as git tutorials etc.

ottopasuuna commented 7 years ago

I think I got a solution for the central docs page. I have a heroku app watch pushes to the private branch on the uofsspacedesignteam.github.io repo, and it uses a script called jekyll-auth to only allow people in our github organization to view the page. Try it out here https://usstdocs.herokuapp.com/

ottopasuuna commented 7 years ago

Docs are basically done for now, in the future I would like to add Doxygen for the embedded stuff, but there isn't much to document, and I'd rather save the effort for next year's API's.