From 40241d4b688e6557ed4a246d8ed8baa183dc31a2 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 5 Dec 2023 12:19:03 +0800 Subject: [PATCH] docs(programming_guide): turned off smartquotes Sphinx would "smartly" format e.g. double dashes into typographically correct entities, i.e. a long dash unicode character. This doesnt always work well for our docs were sometimes a double dash could be a python argument, which when copied would no longer work. --- docs/conf_common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf_common.py b/docs/conf_common.py index ad9484cd09..807b782a56 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -235,6 +235,8 @@ extensions += ['sphinx_copybutton', # Use wavedrompy as backend, insted of wavedrom-cli render_using_wavedrompy = True +smartquotes = False + # link roles config github_repo = 'espressif/esp-idf'