Skip to content

Commit ee66715

Browse files
authored
Merge pull request #2493 from finanalyst/master
Change absolute urls to relative urls
2 parents e6a5ab4 + 6e7e157 commit ee66715

28 files changed

+77
-77
lines changed

doc/Language/101-basics.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ associated with that key, and finally a newline.
364364
Let's see an example of this now.
365365
366366
In this example, you will see some special syntax that makes it easier
367-
to make a list of strings. This is the C<< <...> >> L<quote-words|https://docs.perl6.org/language/operators#index-entry-qw-quote-words-quote-words> construct.
367+
to make a list of strings. This is the C<< <...> >> L<quote-words|/language/operators#index-entry-qw-quote-words-quote-words> construct.
368368
When you put words in between the < and > they are all assumed to be strings,
369369
so you do not need to wrap them each in double quotes C<< "..." >>.
370370
@@ -433,7 +433,7 @@ B<2.> Instead of deleting the redundant C<@names> variable, you can also use it
433433
player appears that wasn't mentioned in the first line, for example due to a
434434
typo. How would you modify your program to achieve that?
435435
436-
Hint: Try using L<membership operators|https://docs.perl6.org/routine/(elem)>.
436+
Hint: Try using L<membership operators|/routine/(elem)>.
437437
438438
B<Answer:> Change C<@names> to C<@valid-players>. When looping through the lines of
439439
the file, check to see that C<$p1> and C<$p2> are in C<@valid-players>. Note that
@@ -459,4 +459,4 @@ for membership operators you can also use C<(elem)> and C<!(elem)>.
459459
460460
=end pod
461461

462-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
462+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-nutshell.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ to add whitespace in Perl 6 code in places where it is otherwise not
209209
allowed.
210210
211211
See also
212-
L<other lexical conventions in the syntax page|https://docs.perl6.org/language/syntax#Lexical_conventions>.
212+
L<other lexical conventions in the syntax page|/language/syntax#Lexical_conventions>.
213213
214214
=head2 Sigils
215215
@@ -1831,8 +1831,8 @@ live on GitHub. An online converter may become available at some point.
18311831
=item L<https://perlgeek.de/en/article/5-to-6>
18321832
=item L<https://github.com/Util/Blue_Tiger/>
18331833
=item L<https://perl6advent.wordpress.com/2011/12/23/day-23-idiomatic-perl-6/>
1834-
=item L<https://docs.perl6.org/language/5to6-overview>
1834+
=item L</language/5to6-overview>
18351835
18361836
=end pod
18371837

1838-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
1838+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-perlfunc.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ as much as possible.
12961296
=item printf
12971297
12981298
Perl 6 version is similar; see
1299-
L<sprintf|https://docs.perl6.org/type/Str#sub_sprintf> for details
1299+
L<sprintf|/type/Str#sub_sprintf> for details
13001300
on acceptable format directives. To print to a filehandle other than
13011301
STDOUT, use the L«C<.printf>|/routine/printf» method on that filehandle.
13021302
@@ -2330,4 +2330,4 @@ C<tr///>.
23302330
23312331
=end pod
23322332

2333-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
2333+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/5to6-perlvar.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ exact running instance, for more information use <.^methods> to introspect all t
268268
=item %SIG
269269
270270
No equivalent variable. To have your code executed on the reception of a
271-
signal, you can call the L<signal|https://docs.perl6.org/routine/signal#(Supply)_sub_signal>
271+
signal, you can call the L<signal|/routine/signal#(Supply)_sub_signal>
272272
subroutine, which returns a C<Supply> that can be tapped.
273273
274274
=for code :lang<perl5>
@@ -633,4 +633,4 @@ already, there should be no need to tell you how to use them in Perl 6.
633633
634634
=end pod
635635

636-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
636+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/about.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ perl app.pl daemon
5858
5959
The documentation is written in Perl 6 Pod.
6060
61-
For a quick introduction to Perl 6 Pod, see L<Perl 6 Pod|https://docs.perl6.org/language/pod>.
61+
For a quick introduction to Perl 6 Pod, see L<Perl 6 Pod|/language/pod>.
6262
6363
For full details about the Perl 6 Pod specification, see L<Synopsis 26, Documentation|https://design.perl6.org/S26.html>.
6464
@@ -148,4 +148,4 @@ Notice that text after a pipe ('|') has no formatting. Also note that B<V< C<> >
148148
preserves spaces and treats text as verbatim.
149149
=end pod
150150

151-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
151+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/contexts.pod6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $sub; # OUTPUT: «WARNINGS:␤Useless use of $sub in sink context (line 1)␤»
2222
2323
X<|sinking> You can force that sink context on L<Iterator>s, by using the
2424
L<C<sink-all>|/routine/sink-all> method. L<Proc>s can also be
25-
L<sunk via the C<sink> method|https://docs.perl6.org/type/Proc#method_sink>,
25+
L<sunk via the C<sink> method|/type/Proc#method_sink>,
2626
forcing them to raise an exception and not returning anything.
2727
2828
In general, blocks will warn if evaluated in sink context; however,
@@ -105,7 +105,7 @@ say ~@array; # OUTPUT: «1 2 3 4 5 6␤»
105105
=end code
106106
107107
This will happen also in a
108-
L<I<reduction>|https://docs.perl6.org/language/operators#Reduction_operators>
108+
L<I<reduction>|/language/operators#Reduction_operators>
109109
context, when C<[~]> is applied to a list
110110
111111
say [~] [ 3, 5+6i, Set(<a b c>), [1,2,3] ]; # OUTPUT: «35+6ic a b1 2 3␤»
@@ -115,7 +115,7 @@ string:
115115
116116
say [~] [] ; # OUTPUT: «␤»
117117
118-
Since L<C<~> acts also as buffer concatenation operator|https://docs.perl6.org/routine/~#(Operators)_infix_~>,
118+
Since L<C<~> acts also as buffer concatenation operator|/routine/~#(Operators)_infix_~>,
119119
using it will
120120
have to check that every element is not empty, since a single empty buffer in
121121
string context will behave as a string, thus yielding an error.
@@ -135,7 +135,7 @@ say [~] $non-empty, $empty, $non-empty-also;
135135
=end code
136136
137137
Since C<~> is putting in string context the second element of this list,
138-
L<C<~>|https://docs.perl6.org/routine/~#(Operators)_infix_~> is going to be
138+
L<C<~>|/routine/~#(Operators)_infix_~> is going to be
139139
using the second form that applies to strings, thus yielding the shown error.
140140
Simply making sure that everything you concatenate is a buffer will avoid this
141141
problem.
@@ -158,4 +158,4 @@ contextualizer, with the result shown above.
158158
159159
=end pod
160160

161-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
161+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/faq.pod6

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ L<ecosystem|https://modules.perl6.org/>.
9494
9595
=head2 Where can I find good documentation on Perl 6?
9696
97-
See L<the official documentation website|https://docs.perl6.org/>
98-
(especially its L<"Language" section|https://docs.perl6.org/language.html>) as well as the
97+
See L<the official documentation website|/>
98+
(especially its L<"Language" section|/language.html>) as well as the
9999
L<Resources page|https://perl6.org/resources/>. You can also consult
100100
this L<great cheatsheet|https://htmlpreview.github.io/?https://github.com/perl6/mu/blob/master/docs/Perl6/Cheatsheet/cheatsheet.html>.
101101
@@ -162,13 +162,13 @@ Yes, see L<glossary|/language/glossary>.
162162
=head2 I'm a Perl 5 programmer. Where is a list of differences between Perl 5
163163
and Perl 6?
164164
165-
There are several I<Perl 5 to Perl 6> guides in the L<Language section of the documentation|https://docs.perl6.org/language.html>, most notable of which
165+
There are several I<Perl 5 to Perl 6> guides in the L<Language section of the documentation|/language.html>, most notable of which
166166
is the L<Overview|/language/5to6-nutshell>.
167167
168168
X<|Ruby Quickstart (FAQ)>
169169
=head2 I'm a Ruby programmer looking for quickstart type docs?
170170
171-
See the L<rb-nutshell|https://docs.perl6.org/language/rb-nutshell> guide.
171+
See the L<rb-nutshell|/language/rb-nutshell> guide.
172172
173173
=head1 Modules
174174
@@ -202,7 +202,7 @@ well with most Perl 5 modules. It can even run Perl 5 Catalyst and DBI.
202202
X<|C and C++ (FAQ)>
203203
=head2 Can I use C and C++ from Perl 6?
204204
205-
L<Nativecall|https://docs.perl6.org/language/nativecall> makes this
205+
L<Nativecall|/language/nativecall> makes this
206206
particularly easy.
207207
208208
=head2 Nativecall can't find libfoo.so and I only have libfoo.so.1.2!
@@ -225,7 +225,7 @@ X<|Core standard library (FAQ)> X<|Rakudo Star distribution and compiler-only re
225225
L<Rakudo Star distribution|https://rakudo.perl6.org/downloads/star/> does come
226226
with L<many useful modules|https://github.com/rakudo/star/tree/master/modules>.
227227
228-
Rakudo compiler-only release includes L<only a couple of the most basic modules|https://docs.perl6.org/language/modules-core>.
228+
Rakudo compiler-only release includes L<only a couple of the most basic modules|/language/modules-core>.
229229
230230
Many more modules can be found in the L<ecosystem|https://modules.perl6.org/>.
231231
@@ -674,7 +674,7 @@ C<OpaquePointer> is deprecated and has been replaced with C<Pointer>.
674674
675675
=head2 You can have colonpairs in identifiers. What's the justification?
676676
677-
L<Identifiers can include colon pairs, which become part of their name|https://docs.perl6.org/language/syntax#Identifiers>. According to L<Larry Wall's answer to the issue|https://github.com/perl6/doc/issues/1753#issuecomment-362875676>, I<We already had the colon pair mechanism available, so it was a no-brainer to use that to extend any name that needs to be able to quote uniquefying but non-standard characters (or other information with a unique stringification to such characters)>.
677+
L<Identifiers can include colon pairs, which become part of their name|/language/syntax#Identifiers>. According to L<Larry Wall's answer to the issue|https://github.com/perl6/doc/issues/1753#issuecomment-362875676>, I<We already had the colon pair mechanism available, so it was a no-brainer to use that to extend any name that needs to be able to quote uniquefying but non-standard characters (or other information with a unique stringification to such characters)>.
678678
679679
=head2 How do most people enter unicode characters?
680680
@@ -948,4 +948,4 @@ print $current;
948948
949949
=end pod
950950

951-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
951+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/functions.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,9 @@ into a string context) in the C<for> loop that calls the function.
11171117
11181118
Declaring a C<sub MAIN> is not compulsory in Perl 6 scripts, but you can
11191119
provide one to create a
1120-
L<command line interface|https://docs.perl6.org/language/create-cli>
1120+
L<command line interface|/language/create-cli>
11211121
for your script.
11221122
11231123
=end pod
11241124

1125-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
1125+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/glossary.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ whitespace around angle brackets:
109109
say < 42+0i >.^name; # OUTPUT: «ComplexStr␤»
110110
say < 42/1 >.^name; # OUTPUT: «RatStr␤»
111111
112-
Please see L<the Numerics page|https://docs.perl6.org/language/numerics#Allomorphs>
112+
Please see L<the Numerics page|/language/numerics#Allomorphs>
113113
for a more complete description on how to work with these allomorphs.
114114
115115
=head1 Anonymous
@@ -234,7 +234,7 @@ I<binder>.
234234
=head1 block
235235
X<|block>
236236
237-
L<Blocks|https://docs.perl6.org/type/Block> are code object with its own lexical scope, which allows them to define variables without interfering with other in the containing block.
237+
L<Blocks|/type/Block> are code object with its own lexical scope, which allows them to define variables without interfering with other in the containing block.
238238
239239
=head1 bytecode
240240
X<|bytecode>
@@ -1074,15 +1074,15 @@ X<|Tight>
10741074
=head1 Tight and loose precedence
10751075
10761076
In this context, tight or tighter refers to
1077-
L<precedence rules|https://docs.perl6.org/language/functions#index-entry-is_tighter>
1077+
L<precedence rules|/language/functions#index-entry-is_tighter>
10781078
and is the opposite of C<looser>. Precedence rules for new terms are
10791079
always expressed in relationship with other terms, so C<is tighter>
10801080
implies that operands with that operator will be grouped before operands
10811081
with the looser operator. Operators with
1082-
L<tight precedence|https://docs.perl6.org/language/operators#Tight_AND_precedence>
1082+
L<tight precedence|/language/operators#Tight_AND_precedence>
10831083
are grouped with priority to others and are generally tighter than most
10841084
others; loose
1085-
L<exactly the opposite|https://docs.perl6.org/language/traps#Loose_boolean_operators>,
1085+
L<exactly the opposite|/language/traps#Loose_boolean_operators>,
10861086
so it is always convenient to be aware of the exact precedence of all
10871087
operators used in an expression.
10881088
@@ -1115,7 +1115,7 @@ one simple string.>
11151115
=head1 Type objects
11161116
11171117
A
1118-
L<type object|https://docs.perl6.org/language/classtut#index-entry-type_object>
1118+
L<type object|/language/classtut#index-entry-type_object>
11191119
is an object that is used to represent a type or a class. Since in
11201120
object oriented programming everything is an object, classes are objects
11211121
too, which inherit from the ur-class which, in our case, is L<Mu>.
@@ -1231,4 +1231,4 @@ L<here in MoarVM|https://github.com/MoarVM/MoarVM/tree/master/src/6model>.
12311231
12321232
=end pod
12331233

1234-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
1234+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Language/grammar_tutorial.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ a regex item.
706706
707707
Hopefully this has helped introduce you to the grammars in Perl 6 and shown you
708708
how grammars and grammar action classes work together. For more information,
709-
check out the more advanced L<Perl Grammar Guide|https://docs.perl6.org/language/grammars>.
709+
check out the more advanced L<Perl Grammar Guide|/language/grammars>.
710710
711711
For more grammar debugging, see
712712
L<Grammar::Debugger|https://github.com/jnthn/grammar-debugger>. This provides
@@ -715,4 +715,4 @@ tokens.
715715
716716
=end pod
717717

718-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
718+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)