Skip to content

Commit da35584

Browse files
committed
Suppress epub warnings for duplicated ToC entries.
These fail RTD builds like https://readthedocs.org/projects/python-jsonschema/builds/18708083/ Not sure what's new (and don't care much to investigate at the minute). But it seems this is somewhat expected behavior, see: sphinx-doc/sphinx#4723 (comment)
1 parent be86aad commit da35584

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def entire_domain(host):
165165
suppress_warnings = [
166166
"autoapi.python_import_resolution",
167167
"autoapi.toc_reference",
168+
"epub.duplicated_toc_entry",
168169
]
169170
autoapi_root = "api"
170171
autoapi_ignore = [

0 commit comments

Comments
 (0)