mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #7402 from tk0miya/7401_broken_env-get-outdated
Fix #7401: Incorrect argument is passed for env-get-outdated handlers
This commit is contained in:
commit
aa1f7fb0ff
1
CHANGES
1
CHANGES
@ -31,6 +31,7 @@ Bugs fixed
|
||||
* #7301: capital characters are not allowed for node_id
|
||||
* #7301: epub: duplicated node_ids are generated
|
||||
* #6564: html: a width of table was ignored on HTML builder
|
||||
* #7401: Incorrect argument is passed for :event:`env-get-outdated` handlers
|
||||
* #7355: autodoc: a signature of cython-function is not recognized well
|
||||
|
||||
Testing
|
||||
|
@ -379,7 +379,7 @@ class Builder:
|
||||
added, changed, removed = self.env.get_outdated_files(updated)
|
||||
|
||||
# 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)
|
||||
|
||||
# if files were added or removed, all documents with globbed toctrees
|
||||
|
Loading…
Reference in New Issue
Block a user