aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-12-14 20:26:53 +0100
committerUlrich Müller <ulm@gentoo.org>2020-12-14 20:26:53 +0100
commite9fa4f2fc58a9605a0f1b1e92dd01601452a5d92 (patch)
tree7fc4bad8a3173f2ee138e05857eefa6bf8dd9198 /appendices
parentfunction-reference/query-functions: Correct description of "has". (diff)
downloaddevmanual-e9fa4f2fc58a9605a0f1b1e92dd01601452a5d92.tar.gz
devmanual-e9fa4f2fc58a9605a0f1b1e92dd01601452a5d92.tar.bz2
devmanual-e9fa4f2fc58a9605a0f1b1e92dd01601452a5d92.zip
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@gentoo.org>
Diffstat (limited to 'appendices')
-rw-r--r--appendices/devbook-guide/text.xml23
1 files 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>&lt;body&gt;</c> element:
<codesample lang="sgml"><!-- Example of a body element -->
&lt;p&gt;
This is a paragraph. &lt;c&gt;/etc/passwd&lt;/c&gt; is a file.
-&lt;uri&gt;https://forums.gentoo.org/&lt;/uri&gt; is my favorite website.
+&lt;uri&gt;https://www.gentoo.org/&lt;/uri&gt; is my favorite website.
Type &lt;c&gt;ls&lt;/c&gt; if you feel like it. I &lt;e&gt;really&lt;/e&gt; want to go to sleep now.
&lt;/p&gt;
@@ -193,7 +193,7 @@ Now, here's how the <c>&lt;body&gt;</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>&lt;uri&gt;</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>&lt;uri&gt;https://forums.gentoo.org/&lt;/uri&gt;</c>. The alternate form is
+<uri>https://www.gentoo.org/</uri>. To create this link, I typed
+<c>&lt;uri&gt;https://www.gentoo.org/&lt;/uri&gt;</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>&lt;uri link="https://forums.gentoo.org/"&gt;the
-Gentoo Forums&lt;/uri&gt;</c>.
+<uri link="https://www.gentoo.org/">the Gentoo Linux website</uri>. To create
+<e>this</e> link, I typed <c>&lt;uri link="https://www.gentoo.org/"&gt;the
+Gentoo Linux website&lt;/uri&gt;</c>.
</p>
<p>
@@ -643,8 +643,8 @@ and the attribute value. As an example:
</p>
<codesample lang="sgml"><!-- Attributes -->
-Wrong : &lt;uri link = "https://forums.gentoo.org/"&gt;
-Correct: &lt;uri link="https://forums.gentoo.org/"&gt;
+Wrong : &lt;uri link = "https://www.gentoo.org/"&gt;
+Correct: &lt;uri link="https://www.gentoo.org/"&gt;
</codesample>
</body>
@@ -674,8 +674,9 @@ with a capital letter.
<p>
Try to use <c>&lt;uri&gt;</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>