Hello, I am working on converting documentation from Sphinx 0.6.4 to Sphinx
1.2.2. We have custom directives that create an index that links
namespace::method::class using a node generator as follows:
def getTargetNode(self, targetname, noindex=False):
self.arguments = list(self.arguments)
self.arguments[0] = targetname
if noindex:
self.rolename, self.indextemplate, foo =
additional_xref_types[self.name]
additional_xref_types[self.name] = self.rolename, None, foo
node = Target.run(self)
if noindex:
additional_xref_types[self.name] = self.rolename,
self.indextemplate, foo
return node
Additional _xref_types is depreciated in Sphinx 1.0. Help, how do I get Sphinx
to automatically create entries in the index for all nodes generated?
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.