Skip to content

Readthedocs support

blaflamme edited this page Nov 7, 2011 · 12 revisions

We'd like to set up a Read the Docs instance for all Pylons Projects github-hosted projects (Pyramid, Pylons, all Pyramid add-ons, all Pylons project libriaries such as Colander and Deform). The system should have the following features:

  • If we choose to run our own RTD instance, we should create a buildout for it.

  • Get all docs under Pylons Project namespace

  • Point out docs.pylonsproject.org to the namespace

  • Should show docs for all existing tags for each package.

  • Automatically publish new revision of docs when a tag is made to git

  • Automatically update a dev version of the docs for each package every X minutes, or on each commit?

Update documentation procedure

  • Connect to github.com, create an account if you don't have one
  • Verify if the project you're looking for is already updated
  • Fork the project to your own account, i.e. pyramid_beaker
  • Remove _themes from docs/.gitignore
  • Remove docs/_themes directory if it exists
  • Do git submodule add git://github.com/Pylons/pylons_sphinx_theme.git docs/_themes
  • In Makefile change the line under _themes: for cd ..; git submodule update --init; cd docs
  • Test out the building process; make clean html
  • Send a pull request