mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #7401: Incorrect argument is passed for env-get-outdated handlers
This commit is contained in:
parent
ac2987a7d3
commit
c4c744273c
1
CHANGES
1
CHANGES
@ -31,6 +31,7 @@ Bugs fixed
|
|||||||
* #7301: capital characters are not allowed for node_id
|
* #7301: capital characters are not allowed for node_id
|
||||||
* #7301: epub: duplicated node_ids are generated
|
* #7301: epub: duplicated node_ids are generated
|
||||||
* #6564: html: a width of table was ignored on HTML builder
|
* #6564: html: a width of table was ignored on HTML builder
|
||||||
|
* #7401: Incorrect argument is passed for :event:`env-get-outdated` handlers
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
@ -379,7 +379,7 @@ class Builder:
|
|||||||
added, changed, removed = self.env.get_outdated_files(updated)
|
added, changed, removed = self.env.get_outdated_files(updated)
|
||||||
|
|
||||||
# allow user intervention as well
|
# allow user intervention as well
|
||||||
for docs in self.events.emit('env-get-outdated', self, added, changed, removed):
|
for docs in self.events.emit('env-get-outdated', self.env, added, changed, removed):
|
||||||
changed.update(set(docs) & self.env.found_docs)
|
changed.update(set(docs) & self.env.found_docs)
|
||||||
|
|
||||||
# if files were added or removed, all documents with globbed toctrees
|
# if files were added or removed, all documents with globbed toctrees
|
||||||
|
Loading…
Reference in New Issue
Block a user