1 |
commit: f18faa6e7cc6cddfbddd35fea7ca042e5f030087 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 11 14:33:42 2020 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 14:37:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f18faa6e |
7 |
|
8 |
ebuild-writing/variables: Replace codesample by pre. |
9 |
|
10 |
Also remove a comment (which says that the sample isn't ebuild code, |
11 |
so why was codesample used for it, in the first place?). |
12 |
|
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
ebuild-writing/variables/text.xml | 8 ++------ |
16 |
1 file changed, 2 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml |
19 |
index 863330b..56966b3 100644 |
20 |
--- a/ebuild-writing/variables/text.xml |
21 |
+++ b/ebuild-writing/variables/text.xml |
22 |
@@ -451,13 +451,9 @@ pseudo-protocol. |
23 |
One might define a set of "example" mirrors, |
24 |
</p> |
25 |
|
26 |
-<!-- |
27 |
- The following isn't ebuild code, but lang="ebuild" works, and no |
28 |
- other language choice would be accurate either. |
29 |
---> |
30 |
-<codesample lang="ebuild"> |
31 |
+<pre> |
32 |
example https://download.example.com https://mirror1.example.org/example |
33 |
-</codesample> |
34 |
+</pre> |
35 |
|
36 |
<p> |
37 |
that can afterwards be referenced through a <c>mirror://</c> URI: |