Skip to content

Commit 8d9a5cb

Browse files
committed
all links element working #561
1 parent d32bc48 commit 8d9a5cb

33 files changed

+138
-135
lines changed

doc/Type/CompUnit/Repository/FileSystem.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ class CompUnit::Repository::FileSystem
1010
does CompUnit::Repository
1111
{ }
1212
13-
A L<CompUnit::Repository> implementation backed by the filesystem typically used
13+
A L<CompUnit::Repository|/type/CompUnit::Repository> implementation backed by the filesystem typically used
1414
in development situations. This is what is used by C<-I .> / C<-I lib> (which are
1515
actually C<-I file#.> and C<-I file#lib>) or C<use lib "."> / C<use lib "lib">.
16-
Unlike L<CompUnit::Repository::Installation>, this represents a single distribution.
16+
Unlike L<CompUnit::Repository::Installation|/type/CompUnit::Repository::Installation>, this represents a single distribution.
1717
1818
=head1 Methods
1919
@@ -54,7 +54,7 @@ contains a non-module file matching the specified C<$name>.
5454
5555
method resolve(CompUnit::DependencySpecification $spec --> CompUnit:D)
5656
57-
Returns a L<CompUnit> mapped to the highest version distribution matching C<$spec> from
57+
Returns a L<CompUnit|/type/CompUnit> mapped to the highest version distribution matching C<$spec> from
5858
the first repository in the repository chain that contains any version of a distribution
5959
matching C<$spec>.
6060
@@ -68,21 +68,21 @@ matching C<$spec>.
6868
--> CompUnit:D)
6969
7070
71-
Loads and returns a L<CompUnit> which is mapped to the highest version distribution
71+
Loads and returns a L<CompUnit|/type/CompUnit> which is mapped to the highest version distribution
7272
matching C<$spec> from the first repository in the repository chain that contains
7373
any version of a distribution matching C<$spec>.
7474
7575
=head2 method load
7676
7777
method load(IO::Path:D $file --> CompUnit:D)
7878
79-
Load the C<$file> and return a L<CompUnit> object representing it.
79+
Load the C<$file> and return a L<CompUnit|/type/CompUnit> object representing it.
8080
8181
=head2 method loaded
8282
8383
method loaded(--> Iterable:D)
8484
85-
Returns all L<CompUnit>s this repository has loaded.
85+
Returns all L<CompUnit|/type/CompUnit>s this repository has loaded.
8686
8787
=head2 method short-id
8888

doc/Type/CompUnit/Repository/Installation.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class CompUnit::Repository::Installation
1010
does CompUnit::Repository::Installable
1111
{ }
1212
13-
A L<CompUnit::Repository> implementation backed by the filesystem, but uses an internal
13+
A L<CompUnit::Repository|/type/CompUnit::Repository> implementation backed by the filesystem, but uses an internal
1414
storage format to:
1515
1616
=item Handle case sensitivity issues on filesystems that may conflict as a C<CompUnit::Repository::FileSystem>.
@@ -19,7 +19,7 @@ storage format to:
1919
=item Enable faster module loading by providing module precompilation.
2020
2121
Because of the internal storage format the usual way to add a distribution is not by copying
22-
files but by calling L<CompUnit::Repository::Installation#method_install>.
22+
files but by calling L<CompUnit::Repository::Installation#method_install|/type/CompUnit::Repository::Installation#method_install>.
2323
2424
=head1 Methods
2525
@@ -30,7 +30,7 @@ files but by calling L<CompUnit::Repository::Installation#method_install>.
3030
Copies modules into a special location so that they can be loaded afterwards.
3131
3232
C<:$force> will allow installing over an existing distribution that has the same C<name>,
33-
C<auth>, C<api>, and C<ver>. Otherwise such a situation will result in L<Failure>.
33+
C<auth>, C<api>, and C<ver>. Otherwise such a situation will result in L<Failure|/type/Failure>.
3434
3535
my $inst-repo = CompUnit::RepositoryRegistry.repository-for-name("site");
3636
my $dist = Distribution::Path.new(...);
@@ -81,7 +81,7 @@ contains a non-module file matching the specified C<$name>.
8181
8282
method resolve(CompUnit::DependencySpecification $spec --> CompUnit:D)
8383
84-
Returns a L<CompUnit> mapped to the highest version distribution matching C<$spec> from
84+
Returns a L<CompUnit|/type/CompUnit> mapped to the highest version distribution matching C<$spec> from
8585
the first repository in the repository chain that contains any version of a distribution
8686
matching C<$spec>.
8787
@@ -94,21 +94,21 @@ method need(
9494
CompUnit::PrecompilationStore :@precomp-stores = self!precomp-stores(),
9595
--> CompUnit:D)
9696
97-
Loads and returns a L<CompUnit> which is mapped to the highest version distribution
97+
Loads and returns a L<CompUnit|/type/CompUnit> which is mapped to the highest version distribution
9898
matching C<$spec> from the first repository in the repository chain that contains
9999
any version of a distribution matching C<$spec>.
100100
101101
=head2 method load
102102
103103
method load(IO::Path:D $file --> CompUnit:D)
104104
105-
Load the C<$file> and return a L<CompUnit> object representing it.
105+
Load the C<$file> and return a L<CompUnit|/type/CompUnit> object representing it.
106106
107107
=head2 method loaded
108108
109109
method loaded(--> Iterable:D)
110110
111-
Returns all L<CompUnit>s this repository has loaded.
111+
Returns all L<CompUnit|/type/CompUnit>s this repository has loaded.
112112
113113
=head2 method short-id
114114

doc/Type/Distribution/Locally.pod6

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
role Distribution::Locally does Distribution { }
88
99
Provides read access to specific files pointed at by a distributions metadata,
10-
providing the L<Distribution#method_content> method for L<Distribution::Path>
11-
and L<Distribution::Hash>.
10+
providing the L<Distribution#method_content|/type/Distribution#method_content>
11+
method for L<Distribution::Path|/type/Distribution::Path> and
12+
L<Distribution::Hash|/type/Distribution::Hash>.
1213
1314
=head1 Methods
1415
@@ -18,12 +19,12 @@ A prefix path to be used in conjuncture with the paths found in the metadata.
1819
1920
=head2 method content
2021
21-
Provides L<Distribution#method_content>
22+
Provides L<Distribution#method_content|/type/Distribution#method_content>
2223
2324
Returns an C<IO::Handle> to the file represented by C<$name-path>. C<$name-path>
2425
is a relative path as it would be found in the metadata such as C<lib/Foo.pm6>
2526
or C<resources/foo.txt>, and these paths will be prefixed with
26-
L<Distribution#method_prefix>.
27+
L<Distribution#method_prefix|/type/Distribution#method_prefix>.
2728
2829
=end pod
2930

doc/Type/Distribution/Path.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Returns a Hash with the representation of the metadata.
2929
3030
=head2 method content
3131
32-
L<Distribution::Locally#method_content>
32+
L<Distribution::Locally#method_content|/type/Distribution#method_content>
3333
3434
Returns an C<IO::Handle> to the file represented by C<$name-path>. C<$name-path>
3535
is a relative path as it would be found in the metadata such as C<lib/Foo.pm6>

doc/Type/IO/CatHandle.pod6

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
99
This class has been available in Rakudo since version 2017.06.
1010
11-
The C<IO::CatHandle> class provides a means to create an L<IO::Handle> that
12-
seamlessly gathers input from multiple L<IO::Handle> and L<IO::Pipe> sources.
11+
The C<IO::CatHandle|/type/IO::CatHandle> class provides a means to create an L<IO::Handle|/type/IO::Handle> that
12+
seamlessly gathers input from multiple L<IO::Handle|/type/IO::Handle> and L<IO::Pipe|/type/IO::Pipe> sources.
1313
14-
All of the L<IO::Handle>'s methods are implemented, and while attempt to use
15-
write methods will (currently) throw and exception, an L<IO::CatHandle> is
16-
usable anywhere a read-only L<IO::Handle> can be used.
14+
All of the L<IO::Handle|/type/IO::Handle>'s methods are implemented, and while attempt to use
15+
write methods will (currently) throw and exception, an L<IO::CatHandle|/type/IO::CatHandle> is
16+
usable anywhere a read-only L<IO::Handle|/type/IO::Handle> can be used.
1717
1818
=head1 Methods
1919
@@ -25,32 +25,32 @@ Defined as:
2525
method new(*@handles, :&on-switch, :$chomp = True,
2626
:$nl-in = ["\n", "\r\n"], Str :$encoding, Bool :$bin)
2727
28-
Creates a new L<IO::CatHandle> object.
28+
Creates a new L<IO::CatHandle|/type/IO::CatHandle> object.
2929
3030
The C<@handles> positional argument indicates a source of handles for the
3131
C<IO::CatHandle> to read from and can deal with a mixed collection of
32-
L<Cool|/type/Cool>, L<IO::Path>, and L<IO::Handle> (including L<IO::Pipe>)
33-
objects. As input from L<IO::CatHandle> is processed (so operations won't happen
32+
L<Cool|/type/Cool>, L<IO::Path|/type/IO::Path>, and L<IO::Handle|/type/IO::Handle> (including L<IO::Pipe|/type/IO::Pipe>)
33+
objects. As input from L<IO::CatHandle|/type/IO::CatHandle> is processed (so operations won't happen
3434
during C<.new> call, but only when C<@handles>' data is needed), it will walk
3535
through the C<@handles> list, processing each argument as follows:
3636
3737
=item the
38-
L<Cool|/type/Cool> objects will be coerced to L<IO::Path>;
38+
L<Cool|/type/Cool> objects will be coerced to L<IO::Path|/type/IO::Path>;
3939
40-
=item L<IO::Path> objects
41-
will be opened for reading using the L<IO::CatHandle>'s (invocant's) attributes
40+
=item L<IO::Path|/type/IO::Path> objects
41+
will be opened for reading using the L<IO::CatHandle|/type/IO::CatHandle>'s (invocant's) attributes
4242
for L«C<open>|/routine/open» calls;
4343
44-
=item un-opened L<IO::Handle> objects will be
45-
opened in the same fashion as L<IO::Path> objects;
44+
=item un-opened L<IO::Handle|/type/IO::Handle> objects will be
45+
opened in the same fashion as L<IO::Path|/type/IO::Path> objects;
4646
4747
=item and already opened
48-
L<IO::Handle> objects will have all of their attributes set to the attributes of
49-
the invocant L<IO::CatHandle>.
48+
L<IO::Handle|/type/IO::Handle> objects will have all of their attributes set to the attributes of
49+
the invocant L<IO::CatHandle|/type/IO::CatHandle>.
5050
5151
In short, all the C<@handles> end up as
52-
L<IO::Handle> objects opened in the same mode and with the same attributes as
53-
the invocant L<IO::CatHandle>.
52+
L<IO::Handle|/type/IO::Handle> objects opened in the same mode and with the same attributes as
53+
the invocant L<IO::CatHandle|/type/IO::CatHandle>.
5454
5555
See L«C<.on-switch> method|/type/IO::CatHandle#method_on-switch» for details
5656
on the C<:&on-switch> named argument, which by default is not set.
@@ -122,7 +122,7 @@ Defined as:
122122
123123
Closes the currently active source handle, as well as any already-open source
124124
handles, and empties the source handle queue. Unlike a regular
125-
L<IO::Handle>, an explicit call to C<.close> is often not necessary on a
125+
L<IO::Handle|/type/IO::Handle>, an explicit call to C<.close> is often not necessary on a
126126
CatHandle, as merely exhausting all the input closes all the handles that
127127
need to be closed.
128128
@@ -265,10 +265,10 @@ Defines as:
265265
method handles(IO::CatHandle:D: --> Seq:D)
266266
267267
Returns a L<Seq|/type/Seq> containing the currently-active handle, as well as all the
268-
remaining source handles produced by calling L<next-handle>. If the invocant
268+
remaining source handles produced by calling L<next-handle|/routine/next-handle>. If the invocant
269269
has already been fully-consumed, returns an empty L<Seq|/type/Seq>.
270270
271-
This method is especially handy when working with L<IO::ArgFiles>, where you
271+
This method is especially handy when working with L<IO::ArgFiles|/type/IO::ArgFiles>, where you
272272
want to treat each filehandle separately:
273273
274274
# print at most the first 2 lines of each file in $*ARGFILES:
@@ -350,7 +350,7 @@ been exhausted|/type/IO::CatHandle#method_next-handle>.
350350
Since the C<CatHandle> closes a source handle, once it's done with it, it's
351351
possible for successive source handles to have the same native descriptor, if
352352
they were passed to L<.new|/type/IO::CatHandle#method_new> as L<Cool|/type/Cool>
353-
or L<IO::Path> objects.
353+
or L<IO::Path|/type/IO::Path> objects.
354354
355355
=begin code
356356
(my $f1 = 'foo'.IO).spurt: 'foo';
@@ -372,12 +372,12 @@ queue, which is the sources given in C<@handles> attribute to
372372
L«C<.new>|/type/IO::CatHandle#method_new». The return value is the currently
373373
active source handle or C<Nil> if the source handle queue has been exhausted.
374374
375-
Coerces L<Cool|/type/Cool> source "handles" to L<IO::Path>; opens L<IO::Path> and unopened
376-
L<IO::Handle> source handles for reading using the invocant's
375+
Coerces L<Cool|/type/Cool> source "handles" to L<IO::Path|/type/IO::Path>; opens L<IO::Path|/type/IO::Path> and unopened
376+
L<IO::Handle|/type/IO::Handle> source handles for reading using the invocant's
377377
L«C<$.nl-in>|/type/IO::CatHandle#method_nl-in»,
378378
L«C<$.chomp>|/type/IO::CatHandle#method_chomp», and
379379
L«C<$.encoding>|/type/IO::CatHandle#method_encoding» attributes;
380-
those same attributes of already-opened L<IO::Handle> objects will be changed to
380+
those same attributes of already-opened L<IO::Handle|/type/IO::Handle> objects will be changed to
381381
the values of the invocant's attributes.
382382
383383
This method is called automatically whenever CatHandle's methods require
@@ -475,7 +475,7 @@ Defined as:
475475
method open(IO::CatHandle:D: --> IO::CatHandle:D)
476476
477477
Returns the invocant. The intent of this method is to merely make CatHandle
478-
workable with things that open L<IO::Handle>. You never have to call this method
478+
workable with things that open L<IO::Handle|/type/IO::Handle>. You never have to call this method
479479
intentionally.
480480
481481
=head2 method opened
@@ -758,7 +758,7 @@ to be closed.
758758
759759
=head1 NYI Methods
760760
761-
The L<IO::CatHandle> type overrides these methods to throw a C<X::NYI>
761+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides these methods to throw a C<X::NYI>
762762
exception.
763763
764764
=head2 method flush
@@ -767,7 +767,7 @@ Defined as:
767767
768768
multi method flush(|)
769769
770-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
770+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
771771
exception. If you have a good idea for how this method should behave,
772772
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
773773
@@ -777,7 +777,7 @@ Defined as:
777777
778778
multi method nl-out(|)
779779
780-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
780+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
781781
exception. If you have a good idea for how this method should behave,
782782
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
783783
@@ -787,7 +787,7 @@ Defined as:
787787
788788
multi method out-buffer(|)
789789
790-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
790+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
791791
exception. If you have a good idea for how this method should behave,
792792
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
793793
@@ -797,7 +797,7 @@ Defined as:
797797
798798
multi method print(|)
799799
800-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
800+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
801801
exception. If you have a good idea for how this method should behave,
802802
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
803803
@@ -807,7 +807,7 @@ Defined as:
807807
808808
multi method printf(|)
809809
810-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
810+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
811811
exception. If you have a good idea for how this method should behave,
812812
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
813813
@@ -817,7 +817,7 @@ Defined as:
817817
818818
multi method print-nl(|)
819819
820-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
820+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
821821
exception. If you have a good idea for how this method should behave,
822822
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
823823
@@ -827,7 +827,7 @@ Defined as:
827827
828828
multi method put(|)
829829
830-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
830+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
831831
exception. If you have a good idea for how this method should behave,
832832
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
833833
@@ -837,7 +837,7 @@ Defined as:
837837
838838
multi method say(|)
839839
840-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
840+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
841841
exception. If you have a good idea for how this method should behave,
842842
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
843843
@@ -847,7 +847,7 @@ Defined as:
847847
848848
multi method write(|)
849849
850-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
850+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
851851
exception. If you have a good idea for how this method should behave,
852852
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
853853
@@ -857,7 +857,7 @@ Defined as:
857857
858858
multi method WRITE(|)
859859
860-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
860+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
861861
exception. If you have a good idea for how this method should behave,
862862
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
863863
@@ -867,7 +867,7 @@ Defined as:
867867
868868
multi method EOF(|)
869869
870-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
870+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
871871
exception. If you have a good idea for how this method should behave,
872872
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
873873
@@ -877,7 +877,7 @@ Defined as:
877877
878878
multi method EOF(|)
879879
880-
The L<IO::CatHandle> type overrides this method to throw a C<X::NYI>
880+
The L<IO::CatHandle|/type/IO::CatHandle> type overrides this method to throw a C<X::NYI>
881881
exception. If you have a good idea for how this method should behave,
882882
L<tell Rakudo developers about it|https://webchat.freenode.net/?channels=#perl6-dev>!
883883

0 commit comments

Comments
 (0)