Is there a way to insert a section's automatic number via a reference (a la
:doc:)?
For example, my index.rst has:
.. toctree::
:numbered: 1
page-foo
page-bar
...and elsewhere I want to write e.g. :secnum:`page-bar` and have it expand
to "2".
Would this be a useful feature to add to Sphinx? Or should I implement it
as a private extension? (It looks like it would be much easier to implement
in Sphinx proper...)
--
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.