Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: appendices/contributing/devbook-guide/
Date: Thu, 26 Dec 2019 21:36:22
Message-Id: 1577392828.491304c07ca6951359d417add04d3a503cb47ed0.ulm@gentoo
1 commit: 491304c07ca6951359d417add04d3a503cb47ed0
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 26 19:34:57 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 26 20:40:28 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=491304c0
7
8 appendices/contributing/devbook-guide: Update <dl> description.
9
10 We currently don't allow other lists inside definition lists.
11 Note that multiple dd following each dt are allowed.
12
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 appendices/contributing/devbook-guide/text.xml | 35 ++------------------------
16 1 file changed, 2 insertions(+), 33 deletions(-)
17
18 diff --git a/appendices/contributing/devbook-guide/text.xml b/appendices/contributing/devbook-guide/text.xml
19 index 5af7226..7c59ed4 100644
20 --- a/appendices/contributing/devbook-guide/text.xml
21 +++ b/appendices/contributing/devbook-guide/text.xml
22 @@ -441,40 +441,9 @@ admonitions. A definition list comprises:
23 <dt><c>&lt;dl&gt;</c></dt>
24 <dd>A <b>D</b>efinition <b>L</b>ist Tag containing</dd>
25 <dt><c>&lt;dt&gt;</c></dt>
26 - <dd>Pairs of <b>D</b>efinition <b>T</b>erm Tags</dd>
27 + <dd><b>D</b>efinition <b>T</b>erm Tags,</dd>
28 <dt><c>&lt;dd&gt;</c></dt>
29 - <dd>and <b>D</b>efinition <b>D</b>ata Tags</dd>
30 -</dl>
31 -
32 -<p>
33 -The following list copied from <uri
34 -link="http://www.w3.org/TR/REC-html40/struct/lists.html">w3.org</uri> shows
35 -that a definition list can contain ordered and unordered lists. It may not
36 -contain another definition list though.
37 -</p>
38 -
39 -<dl>
40 - <dt><b>The ingredients:</b></dt>
41 - <dd>
42 - <ul>
43 - <li>100 g. flour</li>
44 - <li>10 g. sugar</li>
45 - <li>1 cup water</li>
46 - <li>2 eggs</li>
47 - <li>salt, pepper</li>
48 - </ul>
49 - </dd>
50 - <dt><b>The procedure:</b></dt>
51 - <dd>
52 - <ol>
53 - <li>Mix dry ingredients thoroughly</li>
54 - <li>Pour in wet ingredients</li>
55 - <li>Mix for 10 minutes</li>
56 - <li>Bake for one hour at 300 degrees</li>
57 - </ol>
58 - </dd>
59 - <dt><b>Notes:</b></dt>
60 - <dd>The recipe may be improved by adding raisins</dd>
61 + <dd>each followed by one or more <b>D</b>efinition <b>D</b>ata Tags.</dd>
62 </dl>
63
64 </body>