From 814abfd020551e9e0d586ed45d0fdaeb9eb8679e Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 28 May 2018 21:38:16 +0900 Subject: [PATCH] Fix #5018: wrong signature of env-merge-info and env-check-consistency --- doc/extdev/appapi.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/extdev/appapi.rst b/doc/extdev/appapi.rst index 584cf375b..a83c60bab 100644 --- a/doc/extdev/appapi.rst +++ b/doc/extdev/appapi.rst @@ -269,7 +269,7 @@ handlers to the events. Example: Here is the place to replace custom nodes that don't have visitor methods in the writers, so that they don't cause errors when the writers encounter them. -.. event:: env-merge-info (env, docnames, other) +.. event:: env-merge-info (app, env, docnames, other) This event is only emitted when parallel reading of documents is enabled. It is emitted once for every subprocess that has read some documents. @@ -303,7 +303,7 @@ handlers to the events. Example: .. versionchanged:: 1.3 The handlers' return value is now used. -.. event:: env-check-consistency (env) +.. event:: env-check-consistency (app, env) Emitted when Consistency checks phase. You can check consistency of metadata for whole of documents.