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:
parent
05784dfa25
commit
6b7248e0dc
|
@ -57,7 +57,7 @@ add_module_names = True
|
||||||
# Shortened external links.
|
# Shortened external links.
|
||||||
extlinks = {
|
extlinks = {
|
||||||
'example': (source_tree +
|
'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.
|
# The name of the Pygments (syntax highlighting) style to use.
|
||||||
|
|
Loading…
Reference in New Issue