doc/gendoc.py
changeset 26413 e0c572d4d112
parent 26412 7e8e3c0920a6
child 27330 6fbf1159a85a
--- a/doc/gendoc.py	Sun Sep 27 23:34:37 2015 +0900
+++ b/doc/gendoc.py	Sat Sep 26 12:06:30 2015 +0900
@@ -138,7 +138,7 @@
         if sectionfunc:
             ui.write(sectionfunc(sec))
         if callable(doc):
-            doc = doc()
+            doc = doc(ui)
         ui.write(doc)
         ui.write("\n")