From fd03f1da1f957afde4d837583342a794f2030283 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 b343eb0849..4c1d5a0cf0 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -252,6 +252,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'