A little background…
I’ve got quite a bit of free time between now and Christmas, so I’d like to squeeze another round of teletype hacking in. Ultimately I’m looking to add some (sympathetic) new ops in, such as PN versions for every P op, and also some private ops for my own compositions.
In order to get that done there are two things I need to sort out. One of them is fiddle around with the source code to make the parser much more efficient (at the moment every extra op makes the parser a little bit slower). I’d like to do that later in the year, once all the wonderful new Ansible and Expander additions have had a chance to settle.
I’d also like to update the documentation, especially as there is some new functionality, and I want to add more, and we’ve also got the V2 stuff on the horizon. It’s going to be important to make sure that all of it is easily discoverable. I think it would nice to do this in such a way that it didn’t require @tehn’s time, but instead it could be edited by the community.
Ideas?
At the moment I’m thinking the best way to go would be to integrate the documentation into the teletype repo, with the implication that the documentation is updated at the same time as any new functionality is added.
So far I’ve got 2 difference ideas for how to do this.
-
Add a docs directory, and use Markdown and some combination of sphinx or mkdocs (and possibly readthedocs.org).
-
Add the documentation directly to the source code and write a custom utility to extract it.
Personally I favour approach 1 as:
- any custom code to generate the docs will be hard to maintain.
- only coders will be able to edit it, which would be a shame as it’s super easy to edit docs on GitHub (even if you can’t use
git).
Thoughts?
Thoughts anyone, good idea or bad? I’m more than happy to the technical side sorted out (e.g. auto-publishing to a website, weaving some Latex magic to make pretty PDFs), but it would be nice to have as much help as possible with the actual documentation.
Finally, Hacktoberfest be upon us, if I can get something set up relatively soon, this could be a nice way to encourage contributions (especially from non-coders) and get some T-shirts…