mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The previous `UnreferencedFootnotesDetector` transform was untested and missed warnings for a number of cases. This commit adds a test, to cover a reasonable range of scenarios, then changes how the detection works to pass this test. The transform now runs just after the docutils `Footnote` resolution transform (changing its priority from 200 to 622) then simply check for any footnotes without "back-references". |
||
---|---|---|
.. | ||
__init__.py | ||
test_transforms_move_module_targets.py | ||
test_transforms_post_transforms_code.py | ||
test_transforms_post_transforms_images.py | ||
test_transforms_post_transforms.py | ||
test_transforms_reorder_nodes.py | ||
test_unreferenced_footnotes.py |