summaryrefslogtreecommitdiff
path: root/doc/markup/para.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-22 19:23:23 +0100
committerGeorg Brandl <georg@python.org>2009-01-22 19:23:23 +0100
commit388277ae83ef94de163905144138d9ca6fe0dc7c (patch)
treed2f80659cdf358e02acf33c040df461d84ff3e74 /doc/markup/para.rst
parent41199791234037ce6bf2f9d4afa7248df5b118c7 (diff)
parenta7bb180ba708ffef173d0741a56ea41b8de1de06 (diff)
downloadsphinx-388277ae83ef94de163905144138d9ca6fe0dc7c.tar.gz
merge with 0.5
Diffstat (limited to 'doc/markup/para.rst')
-rw-r--r--doc/markup/para.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/markup/para.rst b/doc/markup/para.rst
index c60eb258..b071e46c 100644
--- a/doc/markup/para.rst
+++ b/doc/markup/para.rst
@@ -100,6 +100,27 @@ units as well as normal text:
.. centered:: LICENSE AGREEMENT
+.. directive:: hlist
+
+ This directive must contain a bullet list. It will transform it into a more
+ compact list by either distributing more than one item horizontally, or
+ reducing spacing between items, depending on the builder.
+
+ For builders that support the horizontal distribution, there is a ``columns``
+ option that specifies the number of columns; it defaults to 2. Example::
+
+ .. hlist::
+ :columns: 3
+
+ * A list of
+ * short items
+ * that should be
+ * displayed
+ * horizontally
+
+ .. versionadded:: 0.6
+
+
Table-of-contents markup
------------------------