diff -r a99931201d1b -r 64e3f97bdf08 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Fri Apr 24 23:23:55 2015 -0400 +++ b/mercurial/hgweb/webcommands.py Tue Apr 28 00:38:16 2015 +0900 @@ -1318,3 +1318,6 @@ except error.UnknownCommand: raise ErrorResponse(HTTP_NOT_FOUND) return tmpl('help', topic=topicname, doc=doc) + +# tell hggettext to extract docstrings from these functions: +i18nfunctions = commands.values()