diff --git a/docs/conf.py b/docs/conf.py index ef0e560978..4f82d6435f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -185,7 +185,7 @@ for root, dirs, files in os.walk("man"): for filename in files: # Parse filenames of the format a "foo.X.rst" - parts = re.search("^([^/]+?)\.([0-9]+)\.rst$", filename) + parts = re.search(r"^([^/]+?).([0-9]+).rst$", filename) # Skip files that do not match that format (e.g., # "index.rst")