# HG changeset patch # User Gregory Szorc # Date 2015-02-07 04:43:54 # Node ID 5fbb5217a6c8709d7337e620e47411264142d383 # Parent 32dabf811b392d3a4dffce25bce9a9fd7b666114 webcommands: document "bookmarks" web command diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -520,6 +520,16 @@ def tags(web, req, tmpl): @webcommand('bookmarks') def bookmarks(web, req, tmpl): + """ + /bookmarks + ---------- + + Show information about bookmarks. + + No arguments are accepted. + + The ``bookmarks`` template is rendered. + """ i = [b for b in web.repo._bookmarks.items() if b[1] in web.repo] parity = paritygen(web.stripecount)