changeset 14461:f5b0834cf685

gendoc: config help topic is in hgrc.5, do not include it in hg.1
author Martin Geisler <mg@lazybytes.net>
date Mon, 30 May 2011 11:18:47 +0200
parents d5f616132c10
children f6a433671c06
files doc/gendoc.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/gendoc.py	Mon May 30 11:15:25 2011 +0200
+++ b/doc/gendoc.py	Mon May 30 11:18:47 2011 +0200
@@ -87,6 +87,10 @@
 
     # print topics
     for names, sec, doc in helptable:
+        if names[0] == "config":
+            # The config help topic is included in the hgrc.5 man
+            # page.
+            continue
         for name in names:
             ui.write(".. _%s:\n" % name)
         ui.write("\n")