Mercurial > piecrust2
changeset 1103:6462c4a87532
routes: Make help topic names consistent.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 17 Feb 2018 16:13:32 -0800 |
parents | d7363be3a6d8 |
children | 353c58ba596a |
files | piecrust/commands/builtin/info.py piecrust/resources/helptopics/routes_routes_config.txt |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/commands/builtin/info.py Sat Feb 17 15:09:04 2018 -0800 +++ b/piecrust/commands/builtin/info.py Sat Feb 17 16:13:32 2018 -0800 @@ -101,11 +101,11 @@ def getHelpTopics(self): return [('routes_config', "Specifying URL routes for your site's content."), - ('route_params', + ('routes_params', "Show the available route parameters.")] def getHelpTopic(self, topic, app): - if topic != 'route_params': + if topic != 'routes_params': return _ResourcesHelpTopics.getHelpTopic(self, topic, app) import textwrap
--- a/piecrust/resources/helptopics/routes_routes_config.txt Sat Feb 17 15:09:04 2018 -0800 +++ b/piecrust/resources/helptopics/routes_routes_config.txt Sat Feb 17 16:13:32 2018 -0800 @@ -11,4 +11,4 @@ - url: /myblog/%year%/%month%/%slug% source: posts -To know which placeholders are available, see `chef help route_params`. +To know which placeholders are available, see `chef help routes_params`.