pando.py
pando.py copied to clipboard
move docs to RtD
In order to drive quality we want to use literate programming with published documentation coming from inline docstrings. The tooling for this is Sphinx w/ hosting on RTD.
Ideal would be to host on RTD using aspen.io as a CNAME while keeping the existing theme more or less.
I think the TODO here is to write the build system bits that will build the docs and put them on RTD. Which we should do ASAP; once they're in shape we can point aspen.io there via CNAME, but in the meantime it'd be a way to get feedback and see what more needs doing.
- [ ] Make ChangeLog easier to find per #435
It's on me to configure RtD asap ... best to start with even broken docs up there and iterate until we can cut aspen.io over to it.
RtD handles localizations badly. Basically we will need a copy of aspen repository for every language. =/ https://read-the-docs.readthedocs.org/en/latest/localization.html#project-with-multiple-translations
Do we have translations? Let's burn that bridge when we come to it.
I don't like Sphinx + RtD. Can Aspen generate a static version of itself and host it? Something like http://simpla.io/
Sphinx generates nice docs from code comments, thus encouraging them both to stay up to date. RtD is a defacto (python-world) standard, and is also free. We're currently doing self-hosted docs and they tend to easily get out of date, as well as eventually costing us $$$ if we pull enough traffic to overwhelm the heroku instance that's currently hosting them.
@techtonik at #403:
Some kind of reference page that list all variables that set automatically in Simplates context will be useful. For example,
pathis a very common name in my scripts, and while it makes sense, I was a little surprised.There seems to be these variables:
pathrequestresponseWhat else?
Hmmm ... a start.

Per https://github.com/AspenWeb/pando.py/issues/357#issuecomment-245387376 I'm trying to get this on http://pando.aspen.io/. Seeing it, but http://pando.readthedocs.io/ isn't redirecting as I'd expect.

Oh default theme. It makes projects look boring and low valued.
You know what they say, @techtonik : PRs accepted!
Need old theme for that.
PRs accepted!
The ever-sounding refrain. :-)
Oh default theme. It makes projects look boring and low valued.
I mean, you're right, @techtonik. I would love to have a custom theme for the projects at http://*.aspen.io/, to tie in with the homepage.
