-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 07.06.2010 15:48, schrieb Roberto Alsina:
> It seems there has been some internal changes in sphinx and I don't see how 
> to 
> fix rst2pdf to work again.
> 
> The problem is with the module index. In 0.6.x I iterated over 
> self.env.modules ... any hints on where I can look to create this index now? 
> 
> I am currently disabling it for sphinx 1.x as a workaround.

Hi Roberto,

yes a few things changed in this area -- best look at the HTML builder for
guidance.  In short, the concept of "the" module index is too Python specific
for the new domains model in Sphinx 1.x, so I had to generalize it to
"domain-specific indices", which are referenced by `domain.indices`.  Each
index is represented by a `sphinx.domains.Index` subclass and has an
appropriate `generate()` method.

But as I said, best look at the HTML builder's `prepare_writing()` method,
where this is handled.

HTH,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEARECAAYFAkwTRbYACgkQN9GcIYhpnLDawACeKaAEnq0VXM3tBVMi2P7+B5w/
rz8Aniarn7/bBawhxhjUupnqQtKV9K17
=ApZl
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to