diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-03-31 15:47:05 +0200 |
---|---|---|
committer | Nicolas Peugnet <n.peugnet@free.fr> | 2022-03-31 15:57:48 +0200 |
commit | 8b290479df0c97e55d4096e6523d340e9c775d5c (patch) | |
tree | 3b0caa3ad840f38576cd1625a70d8e5390dcb443 /conf.py | |
parent | a7b828e5de24b6496dbfa148f4474f0315ca4b8f (diff) | |
download | club1-docs-8b290479df0c97e55d4096e6523d340e9c775d5c.tar.gz club1-docs-8b290479df0c97e55d4096e6523d340e9c775d5c.zip |
fix: smart quotes sometimes doubled with md emphasis
disable smartquotes at sphinx level to enable it at MyST level.
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -33,9 +33,15 @@ extensions = [ 'sphinx.ext.imgconverter', ] -# Allow to create implicit reference to headings. +# Allow to create implicit reference to headings up to level 6. # See: https://docs.readthedocs.io/en/stable/guides/cross-referencing-with-sphinx.html#implicit-targets -myst_heading_anchors = 2 +myst_heading_anchors = 6 + +# Enable Some MyST extensions. +myst_enable_extensions = [ + # Enable smart quotes at MyST level. + 'smartquotes', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -72,6 +78,9 @@ exclude_patterns = [ # Increase PNG image resolution. image_converter_args = ['-density', '400', '-resize', '200%'] +# Disable smart quotes at Sphinx level, as it is done by MyST. +smartquotes = False + # -- Options for HTML output ------------------------------------------------- |