mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-29 04:14:32 +02:00
Fix en-dash rendering in install/uninstall docs by disabling smartquotes
Disable Sphinx smartquotes globally to prevent -- from being transformed into an en-dash in CLI documentation. Previously, the escaping approach (\--) was attempted but did not work inside :ref: roles as confirmed by the maintainer. Removes the earlier workaround escaping in cli.rst since the global setting handles all occurrences properly. Closes #493
This commit is contained in:
parent
a947dc6739
commit
9db0308e72
2 changed files with 6 additions and 1 deletions
|
|
@ -146,6 +146,11 @@ pygments_style = "sphinx"
|
|||
# Only syntax highlight of code-block is used:
|
||||
highlight_language = "none"
|
||||
|
||||
# Disable smartquotes to prevent -- from being transformed to en-dash.
|
||||
# This is important for CLI documentation where --options must display
|
||||
# as literal double dashes. See #493.
|
||||
smartquotes = False
|
||||
|
||||
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
||||
todo_include_todos = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue