doc/gendoc.py
changeset 29397 844f72885fb9
parent 29090 7b52cb384c38
child 30559 d83ca854fa21
--- a/doc/gendoc.py	Wed Jun 22 21:30:49 2016 +0100
+++ b/doc/gendoc.py	Tue Jun 21 00:50:39 2016 +0900
@@ -117,11 +117,11 @@
     ui.write(_("This section contains help for extensions that are "
                "distributed together with Mercurial. Help for other "
                "extensions is available in the help system."))
-    ui.write("\n\n"
+    ui.write(("\n\n"
              ".. contents::\n"
              "   :class: htmlonly\n"
              "   :local:\n"
-             "   :depth: 1\n\n")
+             "   :depth: 1\n\n"))
 
     for extensionname in sorted(allextensionnames()):
         mod = extensions.load(ui, extensionname, None)