We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d95dafa commit c68f846Copy full SHA for c68f846
sphinx/environment/__init__.py
@@ -131,7 +131,7 @@ def __init__(self, app: Sphinx) -> None:
131
self.all_docs: dict[str, int] = {}
132
# docname -> set of dependent file
133
# names, relative to documentation root
134
- self.dependencies: dict[str, set[_StrPath]] = {}
+ self.dependencies: dict[str, set[_StrPath]] = defaultdict(set)
135
# docname -> set of included file
136
# docnames included from other documents
137
self.included: dict[str, set[str]] = defaultdict(set)
0 commit comments