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',
