Mercurial > hg
changeset 9317:8c1df18452aa
Backed out changeset 5724cd7b3688 (depends on other changes, no tests)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 05 Aug 2009 16:32:38 +0200 |
parents | 5724cd7b3688 |
children | 93a8be83ec09 |
files | doc/gendoc.py |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/gendoc.py Wed Aug 05 14:44:36 2009 +0200 +++ b/doc/gendoc.py Wed Aug 05 16:32:38 2009 +0200 @@ -7,7 +7,6 @@ from mercurial.commands import table, globalopts from mercurial.i18n import _ from mercurial.help import helptable -from mercurial import extensions def get_desc(docstr): if not docstr: @@ -112,15 +111,5 @@ ui.write(doc) ui.write("\n") - # print extensions - underlined(_("EXTENSIONS")) - ui.write('\n') - for name in sorted(extensions.listexts('../hgext')): - ui.write('.. _%s:\n\n' % name) - doc = extensions.doc(name).splitlines() - synopsis, rest = doc[0], doc[1:] - ui.write("``%s: %s``" % (name, synopsis)) - ui.write('%s\n\n' % '\n '.join(rest)) - if __name__ == "__main__": show_doc(sys.stdout)