Fix wrong argument for Domain.process_doc

This commit is contained in:
Takeshi KOMIYA 2018-05-09 22:59:32 +09:00
parent 3fdef7ec62
commit 9f1fead9c5

View File

@ -35,4 +35,4 @@ class SphinxDomains(SphinxTransform):
def apply(self):
# type: () -> None
for domain in itervalues(self.env.domains):
domain.process_doc(self, self.env.docname, self.document)
domain.process_doc(self.env, self.env.docname, self.document)