Show More
@@ -1081,6 +1081,19 b' def _getdoc(e):' | |||||
1081 |
|
1081 | |||
1082 | @webcommand('help') |
|
1082 | @webcommand('help') | |
1083 | def help(web, req, tmpl): |
|
1083 | def help(web, req, tmpl): | |
|
1084 | """ | |||
|
1085 | /help[/{topic}] | |||
|
1086 | --------------- | |||
|
1087 | ||||
|
1088 | Render help documentation. | |||
|
1089 | ||||
|
1090 | This web command is roughly equivalent to :hg:`help`. If a ``topic`` | |||
|
1091 | is defined, that help topic will be rendered. If not, an index of | |||
|
1092 | available help topics will be rendered. | |||
|
1093 | ||||
|
1094 | The ``help`` template will be rendered when requesting help for a topic. | |||
|
1095 | ``helptopics`` will be rendered for the index of help topics. | |||
|
1096 | """ | |||
1084 | from mercurial import commands # avoid cycle |
|
1097 | from mercurial import commands # avoid cycle | |
1085 | from mercurial import help as helpmod # avoid cycle |
|
1098 | from mercurial import help as helpmod # avoid cycle | |
1086 |
|
1099 |
General Comments 0
You need to be logged in to leave comments.
Login now