From 40552722c9865612bfef73da1053fe8a24193a66 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 16 Nov 2023 10:51:01 -0500 Subject: Utilities/Sphinx: Fix python string literal syntax warning Python 3.12 started warning: conf.py:35: SyntaxWarning: invalid escape sequence '\.' Use a raw string literal instead. --- Utilities/Sphinx/conf.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in index b8d8474..f8651e1 100644 --- a/Utilities/Sphinx/conf.py.in +++ b/Utilities/Sphinx/conf.py.in @@ -32,7 +32,7 @@ nitpicky = True smartquotes = False cmake_manuals = sorted(glob.glob(r'@conf_docs@/manual/*.rst')) -cmake_manual_description = re.compile('^\.\. cmake-manual-description:(.*)$') +cmake_manual_description = re.compile(r'^\.\. cmake-manual-description:(.*)$') man_pages = [] for fpath in cmake_manuals: try: -- cgit v0.12