Skip to content

Commit

Permalink
fix: change tg-template in typegraph representations
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniogamiz committed Aug 13, 2019
1 parent a4dace0 commit a4c6423
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"template/head.html",
"template/header.html",
"template/footer.html",
"template/tg-fragment.html",
"template/search_template.js",
"config.json"
],
Expand Down
13 changes: 6 additions & 7 deletions docs/Type/Perl6/Documentable.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,12 @@ enum Kind is export (Type => "type" , Language => "language",
=end code
=table
Kind::Type Complete pod marked with C<:kind("type")>
Kind::Language Complete pod marked with C<:kind("language")>
Kind::Programs Complete pod marked with C<:kind("programs")>
Kind::Syntax Pod fragment from a complete pod
Kind::Routine Pod fragment from a complete pod
Kind::Reference Element generated via "X<>"
=item Kind::Type Complete pod marked with C<:kind("type")>.
=item Kind::Language Complete pod marked with C<:kind("language")>.
=item Kind::Programs Complete pod marked with C<:kind("programs")>.
=item Kind::Syntax Pod fragment from a complete pod.
=item Kind::Routine Pod fragment from a complete pod.
=item Kind::Reference Element generated via "X<>".
You can assign the first three values manually, setting the metadata of a pod section:
Expand Down
2 changes: 1 addition & 1 deletion lib/Perl6/Documentable/DocPage/Source.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Perl6::Documentable::DocPage::Source::Type
# zef relative paths to resources
my $filename = "resources/template/tg-fragment.html".IO.e ??
"resources/template/tg-fragment.html" !!
%?RESOURCES<template/head.html>;
%?RESOURCES<template/tg-fragment.html>;
state $template = slurp $filename;
my $svg;
if ("html/images/type-graph-$podname.svg".IO.e) {
Expand Down

0 comments on commit a4c6423

Please sign in to comment.