Skip to content

Conversation

@elijahgreenstein
Copy link

Purpose

This PR is intended to address issue #8170 by adding a numfig_restart configuration option. When numfig_restart is activated, then figure numbering restarts every time Sphinx encounters a toctree directive with the :numbered: option activated.

Note: Tests are adapted from the existing numfig tests (tests/test_builders/test_build_html_numfig.py) with the values modified to reflect the expected output when numfig_restart is activated.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants