mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add TODO notes
modified: sphinx/ext/mathbase.py modified: sphinx/writers/latex.py
This commit is contained in:
parent
711b8ecf70
commit
c4e12ff012
@ -86,6 +86,7 @@ class MathDomain(Domain):
|
||||
newnode['target'] = target
|
||||
return newnode
|
||||
else:
|
||||
# TODO: perhaps use rather a sphinx-core provided prefix here?
|
||||
node_id = make_id('equation-%s' % target)
|
||||
if env.config.math_numfig and env.config.numfig:
|
||||
if docname in env.toc_fignumbers:
|
||||
|
@ -1960,6 +1960,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
return
|
||||
|
||||
# equations also need no extra blank line nor hypertarget
|
||||
# TODO: fix this dependency on mathbase extension internals
|
||||
if id.startswith('equation-'):
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user