Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/perl6/doc into supply-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MorayJ committed Oct 18, 2018
2 parents 7bbf18f + 09e227e commit b602d3c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/Language/modules.pod6
Expand Up @@ -586,7 +586,17 @@ lib
=item If you have any additional files (such as templates or a dynamic
library) that you wish to have installed so you can access them at
runtime, they should be placed in a C<resources> sub-directory of your project.
runtime, they should be placed in a C<resources> sub-directory of your project, eg.:
=begin code :lang<text>
resources
└── templates
└── mytemplate.mustache
=end code
The additional file can then be accessed inside module code via a relative path, eg.,
C<'resources/templates/mytemplate.mustache'.IO.slurp>. The module installer will provide the correct
absolute reference.
=end item

=item The C<README.md> file is a L<markdown-formatted|https://help.github.com/articles/markdown-basics/>
text file, which will later be automatically rendered as HTML by GitHub/GitLab for modules kept
Expand Down

0 comments on commit b602d3c

Please sign in to comment.