Add id tags to writing style sections to make them easier to refer to

directly as HTML links with anchors.
This commit is contained in:
Warren Block 2013-08-07 18:43:35 +00:00
parent 4b1cdc8a54
commit 786e4a13df
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=42520

View file

@ -276,7 +276,7 @@
<literal>&lt;!doctype&hellip;&gt;</literal>.</para> <literal>&lt;!doctype&hellip;&gt;</literal>.</para>
</sect2> </sect2>
<sect2> <sect2 id="writing-style-acronyms">
<title>Acronyms</title> <title>Acronyms</title>
<para>Acronyms should be defined the first time they appear in a <para>Acronyms should be defined the first time they appear in a
@ -291,7 +291,7 @@
<sgmltag>acronym</sgmltag> tags.</para> <sgmltag>acronym</sgmltag> tags.</para>
</sect2> </sect2>
<sect2> <sect2 id="writing-style-indentation">
<title>Indentation</title> <title>Indentation</title>
<para>The first line in each file starts with no indentation, <para>The first line in each file starts with no indentation,
@ -332,10 +332,10 @@
<xref linkend="editor-config"/>.</para> <xref linkend="editor-config"/>.</para>
</sect2> </sect2>
<sect2> <sect2 id="writing-style-tag-style">
<title>Tag Style</title> <title>Tag Style</title>
<sect3> <sect3 id="writing-style-tag-style-spacing">
<title>Tag Spacing</title> <title>Tag Spacing</title>
<para>Tags that start at the same indent as a previous tag <para>Tags that start at the same indent as a previous tag
@ -371,7 +371,7 @@
</informalexample> </informalexample>
</sect3> </sect3>
<sect3> <sect3 id="writing-style-tag-style-separating">
<title>Separating Tags</title> <title>Separating Tags</title>
<para>Tags like <sgmltag>itemizedlist</sgmltag> which will <para>Tags like <sgmltag>itemizedlist</sgmltag> which will
@ -401,7 +401,7 @@
</sect3> </sect3>
</sect2> </sect2>
<sect2> <sect2 id="writing-style-whitespace-changes">
<title>Whitespace Changes</title> <title>Whitespace Changes</title>
<para><emphasis>Do not commit changes <para><emphasis>Do not commit changes
@ -421,7 +421,7 @@
ignored by translators.</para> ignored by translators.</para>
</sect2> </sect2>
<sect2> <sect2 id="writing-style-nonbreaking-space">
<title>Non-Breaking Space</title> <title>Non-Breaking Space</title>
<para>Avoid line breaks in places where they look ugly or make <para>Avoid line breaks in places where they look ugly or make