Avoid TypeError when building for Sphinx 6.1.1 and above

see https://github.com/sphinx-doc/sphinx/issues/11094 for the
investigation and the fix.

Change-Id: If76e79531e0b81ba3e3c9fe38904b77b553e1698
This commit is contained in:
Dirk Müller 2023-03-06 21:36:03 +01:00
parent 05784dfa25
commit 6b7248e0dc
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ add_module_names = True
# Shortened external links.
extlinks = {
'example': (source_tree +
'/%s/examples/%%s.py' % project.replace(".", "_"), ''),
'/%s/examples/%%s.py' % project.replace(".", "_"), None),
}
# The name of the Pygments (syntax highlighting) style to use.