1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 6 Aug 2024 23:34:43 +0900
Subject: docs: Use correct escape sequences
---
docs/conf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 3ab5ef3..8227ab7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -75,7 +75,7 @@ author = 'Philipp S. Sommer'
# built documents.
#
# The short X.Y version.
-version = re.match('\d+\.\d+\.\d+', autodocsumm.__version__).group()
+version = re.match('\\d+\\.\\d+\\.\\d+', autodocsumm.__version__).group()
# The full version, including alpha/beta/rc tags.
release = autodocsumm.__version__
@@ -230,7 +230,7 @@ latex_elements = {
# Additional stuff for the LaTeX preamble.
#'preamble': '',
-'preamble': '\setcounter{tocdepth}{10}'
+'preamble': '\\setcounter{tocdepth}{10}'
# Latex figure (float) alignment
#'figure_align': 'htbp',
|