SF.net SVN: docutils:[9582 ] trunk/docutils/docs/ref/d octree.txt
milde--- via Docutils-checkins <[email protected]>
| Newsgroups | gmane.text.docutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 9582
http://sourceforge.net/p/docutils/code/9582
Author: milde
Date: 2024-03-20 16:20:02 +0000 (Wed, 20 Mar 2024)
Log Message:
-----------
Update/supplement Document Tree documentation.
Description of some more supported attributes.
Add missing attributes to listings of supported attributes.
Modified Paths:
--------------
trunk/docutils/docs/ref/doctree.txt
Modified: trunk/docutils/docs/ref/doctree.txt
===================================================================
--- trunk/docutils/docs/ref/doctree.txt 2024-03-17 23:31:04 UTC (rev 9581)
+++ trunk/docutils/docs/ref/doctree.txt 2024-03-20 16:20:02 UTC (rev 9582)
@@ -837,7 +837,7 @@
:Parents: Only the `\<tgroup>`_ element contains <colspec>.
:Children: <colspec> is an empty element and has no children.
:Attributes: The <colspec> element contains the optional "colnum", "colname",
- "colwidth", "colsep", "rowsep", "align", "char", and
+ "colwidth", colsep_, rowsep_, align_, "char", and
"charoff" attributes defined in the exchange-table-model_
plus the `common attributes`_ and `stub`_.
@@ -3365,8 +3365,8 @@
(title?, tgroup+)
:Attributes: The <table> element contains the `common attributes`_ plus
- align_, and width_ as well as the attributes frame, colsep,
- rowsep, and pgwide defined in the exchange-table-model_.
+ align_, and width_ as well as the attributes "frame", colsep_,
+ rowsep_, and "pgwide" defined in the exchange-table-model_.
:Parameter Entities: The `%body.elements;`_ parameter entity
directly includes <table>. The `%structure.model;`_
@@ -3842,7 +3842,7 @@
A normalized_ `reference name`_. Resolves to CDATA (in contrast to
NMTOKENS, `reference names`_ may consist of any text).
- ``%refname.type;`` is used in the `refname`_ attribute.
+ ``%refname.type;`` is used in the `name`_ and `refname`_ attributes.
_`refnames.type`
A space-separated list of `reference names`_. Resolves to CDATA.
@@ -3953,9 +3953,9 @@
Attribute type: `CDATA`_ (str). Default value: none (inherit).
-The ``align`` attribute is used in the `\<figure>`_, `\<image>`_, and
-`\<table>`_ elements (via the `%align-h.att;`_ and `%align-hv.att;`_
-parameter entities).
+The ``align`` attribute is used in the `\<figure>`_,
+`\<image>`_, `\<table>`_, and `\<tgroup>`_ elements
+(via the `%align-h.att;`_ and `%align-hv.att;`_ parameter entities).
``anonymous``
@@ -4028,6 +4028,22 @@
.. _writers: ../peps/pep-0258.html#writers
+``cols``
+=========
+
+Attribute type: NMTOKEN_ (str). Default value: none.
+
+The ``cols`` attribute is used in the `\<tgroup>`_ element.
+
+``colsep``
+==========
+
+Attribute type: `yesorno`_ (int). Default value: none (implies no).
+
+The ``colsep`` attribute is used in the `\<table>`_ and `\<tgroup>`_
+elements.
+
+
``colwidth``
============
@@ -4126,6 +4142,14 @@
The ``level`` attribute is used in the `\<system_message>`_ element.
+``line``
+=========
+
+Attribute type: number_ (int). Default value: none.
+
+The ``line`` attribute is used in the `\<system_message>`_ element.
+
+
``ltrim``
=========
@@ -4164,6 +4188,25 @@
The ``morecols`` attribute is used in the `\<entry>`_ element.
+``morerows``
+============
+
+Attribute type: number_ (int). Default value: none.
+
+The ``morerows`` attribute is used in the `\<entry>`_ element.
+
+
+``name``
+=========
+
+Attribute type: `refname.type`_ (str). Default value: none.
+
+The ``name`` attribute is used in the `\<reference>`_ element.
+
+The equally named attribute of the `\<meta>`_ element contains a
+"metadata name".
+
+
``names``
=========
@@ -4208,9 +4251,8 @@
The ``refid`` attribute contains a reference to an `identifier key`_
-``refid`` is used by the `\<target>`_, `\<reference>`_,
-`\<footnote_reference>`_, `\<citation_reference>`_,
-`\<title>`_ and `\<problematic>`_ elements
+``refid`` is used by the `\<citation_reference>`_, `\<footnote_reference>`_,
+`\<problematic>`_, `\<reference>`_, `\<target>`_, and `\<title>`_ elements
(via the `%refid.att;`_ and `%reference.atts;`_ parameter entities).
@@ -4226,9 +4268,8 @@
Docutils transforms_ replace the ``refname`` attribute with a refid_
pointing to the same element.
-``refname`` is used by the `\<target>`_, `\<reference>`_,
-`\<footnote_reference>`_, `\<citation_reference>`_, and
-`\<substitution_reference>`_ elements
+``refname`` is used by the `\<citation_reference>`_, `\<footnote_reference>`_,
+`\<reference>`_, `\<substitution_reference>`_, and `\<target>`_ elements
(via the `%refname.att;`_ and `%reference.atts;`_ parameter entities).
.. _indirect target: rst/restructuredtext.html#indirect-hyperlink-targets
@@ -4245,6 +4286,15 @@
(via the `%reference.atts;`_ parameter entity).
+``rowsep``
+==========
+
+Attribute type: `yesorno`_ (int). Default value: none (implies no).
+
+The ``rowsep`` attribute is used in the `\<table>`_ and `\<tgroup>`_
+elements.
+
+
``rtrim``
=========
@@ -4315,6 +4365,14 @@
.. _DocTitle transform: ../api/transforms.html#frontmatter-doctitle
+``type``
+=========
+
+Attribute type: NMTOKEN_ (str). Default value: none.
+
+The ``type`` attribute is used in the `\<system_message>`_ element.
+
+
``uri``
=======
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.