-
-
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
Double brackets in footnote references (docutils 0.18?) #10522
Comments
Very annoying new bug report template, BTW. |
My reply from #10457 One set [of brackets] is in the HTML source, sphinx/sphinx/themes/basic/static/basic.css_t Lines 240 to 248 in af425c0
We should only use the CSS brackets if A |
Quick reproducer: import shutil
from pathlib import Path
from sphinx.cmd.make_mode import run_make_mode
def write(filename, text): Path(filename).write_text(text, encoding="utf-8")
write("conf.py", '''\
html_theme = "basic"
''')
write("index.rst", '''\
Imagine you have Spanish translations [2]_.
.. [2] Because nobody expects the Spanish Inquisition!
''')
shutil.rmtree("_build", ignore_errors=True)
run_make_mode(["html", ".", "_build", "-T", "-W"]) A |
Can't reproduce on Docutils 0.17.1, this is a 0.18.* issue. |
Describe the bug
See #10415 (comment), that issue also has screenshots.
How to Reproduce
x
Expected behavior
No response
Your project
x
Screenshots
No response
OS
x
Python version
x
Sphinx version
x
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: