mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 00:59:19 -06:00
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.
This commit is contained 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:
|
||||
|
||||
Reference in New Issue
Block a user