webcommands: document "summary" web command
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 06 Feb 2015 21:51:52 -0800
changeset 24091 6b6ec887c79b
parent 24090 a86b2922ea30
child 24092 55dfea651b7f
webcommands: document "summary" web command
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 21:48:01 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 21:51:52 2015 -0800
@@ -700,6 +700,17 @@
 
 @webcommand('summary')
 def summary(web, req, tmpl):
+    """
+    /summary
+    --------
+
+    Show a summary of repository state.
+
+    Information about the latest changesets, bookmarks, tags, and branches
+    is captured by this handler.
+
+    The ``summary`` template is rendered.
+    """
     i = reversed(web.repo.tagslist())
 
     def tagentries(**map):