New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move nml docs to be in repo, build with jekyll/sphinx/readthedocs etc #44
Comments
There might be automated wiki scrapers to do this, or maybe it can just all be rebuilt by copy-paste. Job for long winter evenings 👍 |
Since the rest of the code is in Python, Sphinx might be a good option. (Sphinx is also written in Python, Jekyll is in Rub.) It should be possible through GitHub actions to build the documentation, and then push it to GitHub pages (effectively the "gh-pages" branch of this repo) and host it from there. I've done this with previous project via Travis-CI, but haven't tried yet with GitHub Actions. |
I'd be in favour of not using an automated tool to convert the docs, but do it manually. I don't particularly like the structure on the wiki and many sections (especially regarding basic syntax) seem unclear or even incomplete to me. Also, while Markdown is popular, I think we should consider just writing things directly as HTML. Publishing will be a simple file copy (or upload). It will be readable, with formatting, unmodified on any user's computer. The documentation does use lots of tables which are IMHO annoying to work with in MD. |
asciidoc is nice, it is Eclipse documentation standard, comes close to expressiveness of Sphinx with simpler syntax.
|
TMWFTLB |
Current
nml docs are in the newgrf wiki
Upsides of the wiki:
Downsides of the wiki:
Contentious bits:
Desired
replace wiki for nml with docs in the repo
use .md or .rst whichever is considered to be winning
leave the wiki in place for nfo and general newgrf info
build and hosting options:
The text was updated successfully, but these errors were encountered: