mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix warning interpolation for multiple patterns matches in `html_sidebars
`
This commit is contained in:
parent
d160f3179b
commit
a9534901a2
@ -1055,7 +1055,7 @@ class StandaloneHTMLBuilder(Builder):
|
||||
if matched and has_wildcard(pattern):
|
||||
# warn if both patterns contain wildcards
|
||||
if has_wildcard(matched):
|
||||
logger.warning(msg, pagename, matched)
|
||||
logger.warning(msg, pagename, matched, pattern)
|
||||
# else the already matched pattern is more specific
|
||||
# than the present one, because it contains no wildcard
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user