mercurial/help.py
branchstable
changeset 11657 5ed6802e6bcb
parent 11382 2f09b13e914d
child 12145 c407b4ca666e
equal deleted inserted replaced
11650:ebaf117c2642 11657:5ed6802e6bcb
    80 
    80 
    81         path = os.path.join(docdir, topic + ".txt")
    81         path = os.path.join(docdir, topic + ".txt")
    82         return gettext(open(path).read())
    82         return gettext(open(path).read())
    83     return loader
    83     return loader
    84 
    84 
    85 helptable = (
    85 helptable = [
    86     (["config"], _("Configuration Files"), loaddoc('config')),
    86     (["config"], _("Configuration Files"), loaddoc('config')),
    87     (["dates"], _("Date Formats"), loaddoc('dates')),
    87     (["dates"], _("Date Formats"), loaddoc('dates')),
    88     (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
    88     (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
    89     (['environment', 'env'], _('Environment Variables'),
    89     (['environment', 'env'], _('Environment Variables'),
    90      loaddoc('environment')),
    90      loaddoc('environment')),
    98      loaddoc('templates')),
    98      loaddoc('templates')),
    99     (['urls'], _('URL Paths'), loaddoc('urls')),
    99     (['urls'], _('URL Paths'), loaddoc('urls')),
   100     (["extensions"], _("Using additional features"), extshelp),
   100     (["extensions"], _("Using additional features"), extshelp),
   101     (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
   101     (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
   102     (["glossary"], _("Glossary"), loaddoc('glossary')),
   102     (["glossary"], _("Glossary"), loaddoc('glossary')),
   103 )
   103 ]