Skip to content

Commit

Permalink
Update file extension from .pod6 to .rakudoc
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Mar 27, 2023
1 parent 9797698 commit d8c2fcc
Show file tree
Hide file tree
Showing 20 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Revision history for rakudoc

{{$NEXT}}
- Remove vim lines
- Update sample doc files to .rakudoc extension

0.2.5 2023-03-11T15:02:51-05:00
- Switch to zef ecosystem
Expand Down
2 changes: 1 addition & 1 deletion t/02-cache.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Rakudoc::Pod::Cache;

plan 6;

my $test-doc = 't/test-doc/Type/Map.pod6';
my $test-doc = 't/test-doc/Type/Map.rakudoc';

my $cache-path = tempdir.IO.add('cache');
my $pc = Rakudoc::Pod::Cache.new: :$cache-path;
Expand Down
8 changes: 4 additions & 4 deletions t/03-documentable.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ subtest "language" => {
plan 3;
my $doc = Doc::Documentable.new: :$rakudoc,
:doc-source(%*ENV<RAKUDOC>.IO),
:filename('Language'.IO.add('operators.pod6'));
:filename('Language'.IO.add('operators.rakudoc'));
isa-ok $doc, Rakudoc::Doc::Documentable, "Doc repr for Language/operators";
like $doc.gist, rx/operators/, "Gist looks okay";
like $rakudoc.render($doc), rx/Operators/, "Render looks okay";
Expand All @@ -23,13 +23,13 @@ subtest "type" => {

my $doc = Doc::Documentable.new: :$rakudoc,
:doc-source(%*ENV<RAKUDOC>.IO),
:filename('Type'.IO.add('Any.pod6'));
:filename('Type'.IO.add('Any.rakudoc'));
like $rakudoc.render($doc), rx:s/class Any/,
"Render looks okay";

$doc = Doc::Documentable.new: :$rakudoc,
:doc-source(%*ENV<RAKUDOC>.IO),
:filename('Type'.IO.add('Any.pod6')),
:filename('Type'.IO.add('Any.rakudoc')),
:def<root>;
like $rakudoc.render($doc), rx:s/Subparsing/,
"def = 'root' shows root portion";
Expand All @@ -38,7 +38,7 @@ subtest "type" => {

$doc = Doc::Documentable.new: :$rakudoc,
:doc-source(%*ENV<RAKUDOC>.IO),
:filename('Type'.IO.add('Any.pod6')),
:filename('Type'.IO.add('Any.rakudoc')),
:def<notfound>;
like $rakudoc.render($doc), rx:s/class Any/,
"def = 'notfound' shows full doc";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d8c2fcc

Please sign in to comment.