webcommands: document "shortlog" web command
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 06 Feb 2015 20:50:17 -0800
changeset 24086 2d8e93554822
parent 24085 0bf61eae67ab
child 24087 6f5b4393590c
webcommands: document "shortlog" web command
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 20:48:22 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 20:50:17 2015 -0800
@@ -346,6 +346,16 @@
 
 @webcommand('shortlog')
 def shortlog(web, req, tmpl):
+    """
+    /shortlog
+    ---------
+
+    Show basic information about a set of changesets.
+
+    This accepts the same parameters as the ``changelog`` handler. The only
+    difference is the ``shortlog`` template will be rendered instead of the
+    ``changelog`` template.
+    """
     return changelog(web, req, tmpl, shortlog=True)
 
 @webcommand('changeset')