webcommands: document "annotate" web command
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 06 Feb 2015 22:08:30 -0800
changeset 24094 9c810d46a093
parent 24093 c8639f90a715
child 24095 1f48b157dccf
webcommands: document "annotate" web command
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 22:06:44 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 22:08:30 2015 -0800
@@ -925,6 +925,14 @@
 
 @webcommand('annotate')
 def annotate(web, req, tmpl):
+    """
+    /annotate/{revision}/{path}
+    ---------------------------
+
+    Show changeset information for each line in a file.
+
+    The ``fileannotate`` template is rendered.
+    """
     fctx = webutil.filectx(web.repo, req)
     f = fctx.path()
     parity = paritygen(web.stripecount)