mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #3774: Incremental HTML building broken when using citations
This commit is contained in:
parent
a43cac55bc
commit
16d0569536
1
CHANGES
1
CHANGES
@ -24,6 +24,7 @@ Bugs fixed
|
||||
is obtained using some extra LaTeX code in Sphinx's own :file:`conf.py`
|
||||
* #3770: Build fails when a "code-block" has the option emphasize-lines and the
|
||||
number indicated is higher than the number of lines
|
||||
* #3774: Incremental HTML building broken when using citations
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -538,7 +538,7 @@ class StandardDomain(Domain):
|
||||
if docnames == [docname]:
|
||||
del self.data['citation_refs'][key]
|
||||
elif docname in docnames:
|
||||
docnames.pop(docname)
|
||||
docnames.remove(docname)
|
||||
for key, (fn, _l, _l) in list(self.data['labels'].items()):
|
||||
if fn == docname:
|
||||
del self.data['labels'][key]
|
||||
|
Loading…
Reference in New Issue
Block a user