Exactly the example I needed! Thanks
-- Brad Miller Professor, Dept. Head, Computer Science, Luther College Founder: Runestone Interactive <http://runestoneinteractive.org> Blog: A Reputable Journal <http://reputablejournal.com> On August 7, 2017 at 10:29:17 AM, Peter Burdine (pburd...@gmail.com) wrote: See the post from a few weeks ago that titled "Modifying a document in the 'env-updated' event" This has some code in there to do just that. The doctree-resolved event has a different meaning depending on the builder. The HTML builder seems to do it for every .rst file made (because it makes one html per rst file), while the latex builder does just once since it only makes one output file. You need to use a different event for it to work with all builders :( --Peter On Sunday, August 6, 2017 at 3:53:01 PM UTC-7, Brad Miller wrote: > > I have a multi-file, multi-toc (one master) document, and I would like to > walk the entire table of contents when the build-finished event fires. I > cannot figure out how to do this. Can anyone give me a hint? > > Side note: I have figured out how to do it for individual toctree’s on the > doctree-resolved event but that only gives me parts of the overall TOC. > > Side question: doctree-resolved seems to fire at least three times per > toctree directive I would’ve expected it to only fire once. Why is this? > > Thanks > > Brad > > > -- > Brad Miller > Professor, Dept. Head, Computer Science, Luther College > Founder: Runestone Interactive <http://runestoneinteractive.org> > Blog: A Reputable Journal <http://reputablejournal.com> > > -- 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 sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout. -- 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 sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.