Add titles to examples missing them. This prevents mysterious blank,

unclickable entries in the list of examples.
This commit is contained in:
Warren Block 2015-09-02 22:56:34 +00:00
parent 2494227911
commit c0c5b7d158
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47348
3 changed files with 11 additions and 1 deletions

View file

@ -844,7 +844,7 @@
<para>Examples can be shown with <tag>example</tag>.</para> <para>Examples can be shown with <tag>example</tag>.</para>
<example> <example>
<title><tag>example</tag></title> <title><tag>example</tag> Source</title>
<para>Usage:</para> <para>Usage:</para>
@ -859,6 +859,8 @@
<para>Appearance:</para> <para>Appearance:</para>
<example> <example>
<title>Rendered <tag>example</tag></title>
<para>Empty files can be created easily:</para> <para>Empty files can be created easily:</para>
<screen>&prompt.user; <userinput>touch file1 file2 file3</userinput></screen> <screen>&prompt.user; <userinput>touch file1 file2 file3</userinput></screen>

View file

@ -595,6 +595,8 @@ DOC_PREFIX?= ${.CURDIR}/../../..
the English original.</para> the English original.</para>
<example> <example>
<title>Preserving <acronym>XML</acronym> Tags</title>
<para>English original:</para> <para>English original:</para>
<programlisting>If <tag class="starttag">acronym</tag>NTP<tag class="endtag">acronym</tag> is not being used</programlisting> <programlisting>If <tag class="starttag">acronym</tag>NTP<tag class="endtag">acronym</tag> is not being used</programlisting>

View file

@ -150,6 +150,8 @@
</tip> </tip>
<example xml:id="the-website-examples-build"> <example xml:id="the-website-examples-build">
<title>Build the Full Web Site and All Documents</title>
<para>Build the web site and all documents. The resulting files <para>Build the web site and all documents. The resulting files
are left in the document tree:</para> are left in the document tree:</para>
@ -158,6 +160,8 @@
</example> </example>
<example xml:id="the-website-examples-buildinstall-englishonly"> <example xml:id="the-website-examples-buildinstall-englishonly">
<title>Build Only the Web Site in English</title>
<para>Build the web site only, in English, as user <para>Build the web site only, in English, as user
<systemitem class="username">jru</systemitem>, and install <systemitem class="username">jru</systemitem>, and install
the resulting files into <filename>/tmp/www</filename> for the resulting files into <filename>/tmp/www</filename> for
@ -168,6 +172,8 @@
</example> </example>
<example xml:id="the-website-examples-buildinstall"> <example xml:id="the-website-examples-buildinstall">
<title>Build and Install the Web Site</title>
<para>Build the web site and all documents as user <para>Build the web site and all documents as user
<systemitem class="username">jru</systemitem>. Install the <systemitem class="username">jru</systemitem>. Install the
resulting files as resulting files as