mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 08:25:01 -05:00
Fix a bug where the removal of download files and images wasn't noticed.
This commit is contained in:
1 parent
52ab6c99be
commit
2ae79f5272
2 files changed
+6
-3
No files matched your search
@@ -1,6 +1,9 @@
|
||||
Release 1.0.7 (in development)
|
||||
==============================
|
||||
|
||||
* Fix a bug where the removal of download files and images wasn't
|
||||
noticed.
|
||||
|
||||
* #571: Implement ``~`` cross-reference prefix for the C domain.
|
||||
|
||||
* Fix regression of LaTeX output with the fix of #556.
|
||||
|
||||
@@ -114,9 +114,9 @@ class FilenameUniqDict(dict):
|
||||
def purge_doc(self, docname):
|
||||
for filename, (docs, _) in self.items():
|
||||
docs.discard(docname)
|
||||
#if not docs:
|
||||
# del self[filename]
|
||||
# self._existing.discard(filename)
|
||||
if not docs:
|
||||
del self[filename]
|
||||
self._existing.discard(filename)
|
||||
|
||||
def __getstate__(self):
|
||||
return self._existing
|
||||
|
||||
Reference in new issue
Block a user