Merged in guillemNaN/sphinx (pull request #261)

Add env-read-docs event to allow modify docnames list before processing
This commit is contained in:
Georg Brandl
2014-09-22 09:05:00 +02:00
4 changed files with 65 additions and 1 deletions
+8
View File
@@ -437,6 +437,14 @@ handlers to the events. Example:
.. versionadded:: 0.5
.. event:: env-read-docs (app, env, docnames)
Emited after get the list of all added and changed files and just before
read them. It allow extension author modify docnames list before processing;
reordering, append and remove.
.. versionadded:: 1.3.0
.. event:: source-read (app, docname, source)
Emitted when a source file has been read. The *source* argument is a list