diff hgext/acl.py @ 12778:dce09f82f619

help: different section separators Changes the characters used as section separators, so different ones are used for module docstring and command docstring. This is done because the section from the docstring will be at different levels in the restructured text output, therefore different symbols have to be used.
author Erik Zielke <ez@aragost.com>
date Tue, 19 Oct 2010 13:39:34 +0200
parents 776f9784b34b
children 0f7f9f06c759
line wrap: on
line diff
--- a/hgext/acl.py	Wed Oct 20 18:08:37 2010 +0200
+++ b/hgext/acl.py	Tue Oct 19 13:39:34 2010 +0200
@@ -32,7 +32,7 @@
 The allow and deny sections take key-value pairs.
 
 Branch-based Access Control
----------------------------
+...........................
 
 Use the ``acl.deny.branches`` and ``acl.allow.branches`` sections to
 have branch-based access control. Keys in these sections can be
@@ -47,7 +47,7 @@
 - an asterisk, to match anyone;
 
 Path-based Access Control
--------------------------
+.........................
 
 Use the ``acl.deny`` and ``acl.allow`` sections to have path-based
 access control. Keys in these sections accept a subtree pattern (with
@@ -55,7 +55,7 @@
 syntax as the other sections above.
 
 Groups
-------
+......
 
 Group names must be prefixed with an ``@`` symbol. Specifying a group
 name has the same effect as specifying all the users in that group.
@@ -66,7 +66,7 @@
 Otherwise, an exception will be raised.
 
 Example Configuration
----------------------
+.....................
 
 ::