Mindwerks / worldengine

World generator using simulation of plates, rain shadow, erosion, etc.
MIT License
988 stars 129 forks source link

Improving documentation #166

Closed ftomassetti closed 8 years ago

ftomassetti commented 8 years ago

In this issue we could discuss how to improve documentation. I think it could be also a good exercise to take a step back and look at the global picture so that we can shape how we want version 1.0 to be.

I would suggest to use readthedocs: https://readthedocs.org/. To use it we should create a directory containing documentation in a rst format (think of it as an alternative to Markdown) and a git hook will just take those documents, compile them and produce documentation which would be available under worldengine.readthedocs.org

What do you think? @psi29a @esampson @tcld

tcld commented 8 years ago

I don't have experience with writing proper documentation. Are you thinking of a user-side documentation (explain commandline parameters and maybe some scientific foundations) or more of a developer-side documentation (explain functions, return values, etc.)?

ftomassetti commented 8 years ago

User-side documentation: what it is possible to do with WorldEngine. We could need also better developer-side documentation. Perhaps we could use comments in code and the wiki for that.

ftomassetti commented 8 years ago

I woud like to document:

esampson commented 8 years ago

I can look at tackling the general documentation; things such as what the different options are, what they produce, and explanations of biomes, temperature and humidity ranges.

ftomassetti commented 8 years ago

thanks @esampson that is appreciated. Perhaps we could try to have small PRs for the documentation and merge frequently so it is easier for everyone to contribute. Do you want me to setup readthedocs or do you want to do that?

psi29a commented 8 years ago

RTD is great, but we should really use Sphinx to handle things. I've experience with this, just a bit to setup and it documents itself. :)

psi29a commented 8 years ago

This means that documentation needs to be written in ReST: http://sphinx-doc.org/rest.html

If people want to start doing this, it is trivial to add to Sphinx. RTD then takes Sphinx and generates documentation for us in LaTeX, pdf, HTML and etc...

ftomassetti commented 8 years ago

Cool. We have the manual in master now so we can discuss the content in specific issues. Closing this general one.