commit: e9fa4f2fc58a9605a0f1b1e92dd01601452a5d92 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Dec 14 19:26:53 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Dec 14 19:26:53 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e9fa4f2f
devbook-guide: Restore original example. Linking to www.gentoo.org is no longer special, therefore we can restore the original example, i.e., partially revert this commit: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/xml/htdocs/doc/en/xml-guide.xml?revision=1.35&view=markup Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> appendices/devbook-guide/text.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/appendices/devbook-guide/text.xml b/appendices/devbook-guide/text.xml index a0948d5..1924843 100644 --- a/appendices/devbook-guide/text.xml +++ b/appendices/devbook-guide/text.xml @@ -160,7 +160,7 @@ an example <c><body></c> element: <codesample lang="sgml"><!-- Example of a body element --> <p> This is a paragraph. <c>/etc/passwd</c> is a file. -<uri>https://forums.gentoo.org/</uri> is my favorite website. +<uri>https://www.gentoo.org/</uri> is my favorite website. Type <c>ls</c> if you feel like it. I <e>really</e> want to go to sleep now. </p> @@ -193,7 +193,7 @@ Now, here's how the <c><body></c> element above is rendered: <p> This is a paragraph. <c>/etc/passwd</c> is a file. -<uri>https://forums.gentoo.org/</uri> is my favorite web site. +<uri>https://www.gentoo.org/</uri> is my favorite web site. Type <c>ls</c> if you feel like it. I <e>really</e> want to go to sleep now. </p> @@ -362,12 +362,12 @@ src_install() { The <c><uri></c> tag is used to point to files/locations on the Internet. It has two forms <d/> the first can be used when you want to have the actual URI displayed in the body text, such as this link to -<uri>https://forums.gentoo.org/</uri>. To create this link, I typed -<c><uri>https://forums.gentoo.org/</uri></c>. The alternate form is +<uri>https://www.gentoo.org/</uri>. To create this link, I typed +<c><uri>https://www.gentoo.org/</uri></c>. The alternate form is when you want to associate a URI with some other text <d/> for example, -<uri link="https://forums.gentoo.org/">the Gentoo Forums</uri>. To create -<e>this</e> link, I typed <c><uri link="https://forums.gentoo.org/">the -Gentoo Forums</uri></c>. +<uri link="https://www.gentoo.org/">the Gentoo Linux website</uri>. To create +<e>this</e> link, I typed <c><uri link="https://www.gentoo.org/">the +Gentoo Linux website</uri></c>. </p> <p> @@ -643,8 +643,8 @@ and the attribute value. As an example: </p> <codesample lang="sgml"><!-- Attributes --> -Wrong : <uri link = "https://forums.gentoo.org/"> -Correct: <uri link="https://forums.gentoo.org/"> +Wrong : <uri link = "https://www.gentoo.org/"> +Correct: <uri link="https://www.gentoo.org/"> </codesample> </body> @@ -674,8 +674,9 @@ with a capital letter. <p> Try to use <c><uri></c> with the <c>link</c> attribute as much as -possible. In other words, the <uri link="https://forums.gentoo.org/">Gentoo -Forums</uri> is preferred over <uri>https://forums.gentoo.org/</uri>. +possible. In other words, the +<uri link="https://www.gentoo.org/">Gentoo website</uri> is preferred over +<uri>https://www.gentoo.org/</uri>. </p> </body>