Mercurial > public > mercurial-scm > hg
comparison mercurial/templater.py @ 24601:d80819f67d59
templater: tell hggettext to collect help of template functions
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 03 Apr 2015 21:36:39 +0900 |
parents | 90e3f5d22dad |
children | 10a13da8840d |
comparison
equal
deleted
inserted
replaced
24600:ea24cf92557a | 24601:d80819f67d59 |
---|---|
791 mapfile = os.path.join(path, location) | 791 mapfile = os.path.join(path, location) |
792 if os.path.isfile(mapfile): | 792 if os.path.isfile(mapfile): |
793 return style, mapfile | 793 return style, mapfile |
794 | 794 |
795 raise RuntimeError("No hgweb templates found in %r" % paths) | 795 raise RuntimeError("No hgweb templates found in %r" % paths) |
796 | |
797 # tell hggettext to extract docstrings from these functions: | |
798 i18nfunctions = funcs.values() |