-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #4784: latex_show_urls assigns incorrect footnote numbers #4827
Fix #4784: latex_show_urls assigns incorrect footnote numbers #4827
Conversation
class SubstitutionDefinitionsRemover(SphinxTransform): | ||
"""Remove ``substitution_definition node from doctrees. | ||
|
||
.. note:: In Sphinx-1.7, this transform is only used in LaTeX builder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this as local transform for LaTeX builder. But substituion_definition
node is not used in all of builders. So I'll move this to normal transform which is invoked in reading phase, in master branch.
c714600
to
5ef8da5
Compare
Codecov Report
@@ Coverage Diff @@
## 1.7 #4827 +/- ##
==========================================
+ Coverage 81.88% 81.89% +<.01%
==========================================
Files 284 285 +1
Lines 37763 37782 +19
Branches 5875 5876 +1
==========================================
+ Hits 30923 30940 +17
- Misses 5527 5529 +2
Partials 1313 1313
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@shimizukawa Thank you for reviewing! |
…rom_doctree Remove substitution_definition nodes from doctree on reading phase (refs: #4827)
SubstitutionDefinitionsRemover is now a SphinxPostTransform, only applied in the Sphinx builder, as was originally the case (see sphinx-doc#4827).
SubstitutionDefinitionsRemover is now a SphinxPostTransform, only applied in the Sphinx builder, as was originally the case (see sphinx-doc#4827).
Feature or Bugfix
Purpose