pygobject / pgi-docgen

API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/
GNU Lesser General Public License v2.1
128 stars 36 forks source link

Support multiple namespace versions #18

Closed lazka closed 10 years ago

lazka commented 10 years ago

It's probably not worth the effort... at least written down somewhere..

First question: How to install multiple versions of everything if distros remove old packages?

One solution:

Split the whole module net in overlapping sub trees with only compatible modules. Process each in its own process with its own target directory. Each run also generates dummy index files for all incompatible modules so the resulting files (given the toctree is collapsed, which it is atm) should be the same across runs.

Open questions:

lazka commented 10 years ago

Another idea might be to build each namespace separate and use intersphinx locally.

lazka commented 10 years ago

I'll go with local intersphinx

lazka commented 10 years ago

works now \o/