summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2023-03-10 06:28:44 +0100
committerDamien George <damien@micropython.org>2023-05-02 11:55:02 +1000
commit8f8bd981641e0988b9ed3276c8f2435645269b3f (patch)
tree05bd92798fcf6ea91f02811b4a38f2f4f8737932 /docs/conf.py
parentcda292935dca9df25019168d91b211ad68e2b054 (diff)
all: Fix strings with backslash by using raw string literals.
Diffstat (limited to 'docs/conf.py')
-rwxr-xr-xdocs/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 933e7b34b..a966b3a02 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -233,7 +233,7 @@ latex_elements = {
# Additional stuff for the LaTeX preamble.
#'preamble': '',
# Include 3 levels of headers in PDF ToC
-'preamble': '\setcounter{tocdepth}{2}',
+'preamble': r'\setcounter{tocdepth}{2}',
}
# Grouping the document tree into LaTeX files. List of tuples