webcommands: document "tags" web command
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 06 Feb 2015 20:44:46 -0800
changeset 24084 ef06e2b1a3d1
parent 24083 5fbb5217a6c8
child 24085 0bf61eae67ab
webcommands: document "tags" web command
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 20:43:54 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 20:44:46 2015 -0800
@@ -497,6 +497,16 @@
 
 @webcommand('tags')
 def tags(web, req, tmpl):
+    """
+    /tags
+    -----
+
+    Show information about tags.
+
+    No arguments are accepted.
+
+    The ``tags`` template is rendered.
+    """
     i = list(reversed(web.repo.tagslist()))
     parity = paritygen(web.stripecount)