commit: fd81a6293d0ab6138dfab3bc429b6cac26de375a Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Dec 4 14:22:56 2019 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Dec 8 11:32:02 2019 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=fd81a629
devbook-guide: Rename <impo> and <warn>. These tags are called <important> and <warning> throughout, and that's also what devbook.xsl expects. Rename them in the devbook guide. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> appendices/contributing/devbook-guide/text.xml | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/appendices/contributing/devbook-guide/text.xml b/appendices/contributing/devbook-guide/text.xml index ec4eb28..d1225d6 100644 --- a/appendices/contributing/devbook-guide/text.xml +++ b/appendices/contributing/devbook-guide/text.xml @@ -199,13 +199,13 @@ Make HTML/XML easier to read by using selective emphasis: This is a note. </note> -<warn> +<warning> This is a warning. -</warn> +</warning> -<impo> +<important> This is important. -</impo> +</important> </codesample> <p> @@ -230,13 +230,13 @@ Make HTML/XML easier to read by using selective emphasis: This is a note. </note> -<warn> +<warning> This is a warning. -</warn> +</warning> -<impo> +<important> This is important. -</impo> +</important> </body> </subsection> @@ -247,10 +247,10 @@ This is important. <p> We introduced a lot of new tags in the previous section -- here's what you need to know. The <c><p></c> (paragraph), <c><pre></c> (code block), -<c><note></c>, <c><warn></c> (warning) and <c><impo></c> -(important) tags all can contain one or more lines of text. Besides the -<c><table></c>, <c><ul></c>, <c><ol></c> and -<c><dl></c> elements (which we'll cover in just a bit), these are the +<c><note></c>, <c><warning></c> (warning) and +<c><important></c> (important) tags all can contain one or more lines of +text. Besides the <c><table></c>, <c><ul></c>, <c><ol></c> +and <c><dl></c> elements (which we'll cover in just a bit), these are the only tags that should appear immediately inside a <c><body></c> element. Another thing -- these tags <e>should not</e> be stacked -- in other words, don't put a <c><note></c> element inside a <c><p></c> element. As @@ -490,8 +490,8 @@ GuideXML-tag (both opening as closing), except for: <c><body></c> (opening tag only) and before <e>every</e> <c><chapter></c>, <c><p></c>, <c><table></c>, <c><author></c> (set), <c><pre></c>, <c><ul></c>, -<c><ol></c>, <c><warn></c>, <c><note></c> and -<c><impo></c> (opening tags only). +<c><ol></c>, <c><warning></c>, <c><note></c> and +<c><important></c> (opening tags only). </p> <p>
