Ensure raw strings are used for regular expression patterns

This commit is contained in:
Adam Turner 2024-04-09 18:33:42 +01:00
parent 63e7ee6de1
commit e3f0aa9307

View File

@ -103,7 +103,7 @@ latex_use_xindy = True
linkcheck_timeout = 5 linkcheck_timeout = 5
linkcheck_ignore = [ linkcheck_ignore = [
r'^contents\.html$', # extra generated page r'^contents\.html$', # extra generated page
'^\.\./contents\.html$', r'^\.\./contents\.html$',
re.escape('https://gitlab.com/projects/new'), # requires sign-in re.escape('https://gitlab.com/projects/new'), # requires sign-in
re.escape('https://web.libera.chat/?channel=#sphinx-doc'), re.escape('https://web.libera.chat/?channel=#sphinx-doc'),
] ]