On Apr 22, 3:16 pm, tuos <[email protected]> wrote: > Hi, > > I need to extract pagenames and their titles and get the order in > which they are defined in toctree (in source file). How to do that? > > I guess the right event should be 'doctree-resolved' or 'env-updated'. > > Titles can be accessed by doctree.env.titles but how to get them in > the original order? >
Hmm, ok. It appears that I can combine that information on 'env- updated' event from env.titles and env.tocs. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
