From 8c24fa33be6b4d07e71dee3470478086470f9308 Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 3 May 2024 20:25:58 +0000 Subject: [PATCH] Doctree documentation: sort out "Attribute Types" sub-sections. Add a local ToC. 4 sub-sections for "Standard Attribute Types", "Custom Attribute Types", "Names and identifiers", and "Common Attributes". git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9674 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/docs/ref/doctree.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docutils/docs/ref/doctree.txt b/docutils/docs/ref/doctree.txt index 6c3355f64..d52d512b6 100644 --- a/docutils/docs/ref/doctree.txt +++ b/docutils/docs/ref/doctree.txt @@ -3928,6 +3928,11 @@ Pseudo-XML_ fragment from simple parsing:: Attribute Types --------------- +.. contents:: :local: + +Standard Attribute Types +======================== + *Standard attribute types* are defined in the `attribute types `__ section of the `XML 1.0 specification`_. @@ -3944,7 +3949,9 @@ _`NMTOKENS` _`EnumeratedType` The attribute value may be one of a specified list of values. -.. _custom attribute types: + +Custom Attribute Types +====================== The Docutils DTD defines *custom attribute types* via `parameter entities `__ that resolve to standard attribute types @@ -4010,6 +4017,9 @@ _`%yesorno` Names and identifiers ===================== +The following names and identifiers are used in the +`custom attribute types`_. + .. class:: description _`Class names` @@ -4080,9 +4090,8 @@ __ https://help.libreoffice.org/6.3/en-US/text/swriter/01/04040000.html __ `XML attribute types`_ ------------------ Common Attributes ------------------ +================= Through the `%basic.atts`_ parameter entity, all elements support the following attributes: ids_, names_ or dupnames_, source_, and classes_. -- 2.11.4.GIT