From c54d0684187d20bba5a0ebf27717fd8f7357bab9 Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Sat, 18 Oct 2025 19:19:24 +1100 Subject: [PATCH] doc: Disable auto-conversion of -- to en-dash on html pages This is especially important for manpage, but also any other document which has examples of command-line usage. On the actual command line the options are with -- and so it should be in documentation. The option also disables smart quotes, but this doesn't matter for flashrom documentation. Change-Id: I94531c9b7471c5c26dd92ddcce5b0588af9207fd Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/89633 Tested-by: build bot (Jenkins) Reviewed-by: Peter Marheine --- doc/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index b7fb2d4ff..a387922b9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -47,6 +47,8 @@ html_theme = 'alabaster' html_favicon = 'logo/flashrom_icon_color-32x32.ico' +# This disables auto-converting -- to en-dash, which we don't want for classic_cli_manpage.html +smartquotes = False # -- Options for manual page output -------------------------------------------- man_make_section_directory = True