Skip to content

Commit

Permalink
Merge pull request #12311 from jsquyres/pr/update-sphinx-conf-py
Browse files Browse the repository at this point in the history
docs: update for Python 3.12
  • Loading branch information
jsquyres authored Feb 5, 2024
2 parents 9d69edb + 208dabe commit 5727519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def _doit(topdir):
for root, dirs, files in os.walk(topdir):
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")
Expand Down

0 comments on commit 5727519

Please sign in to comment.