Skip to content

Commit

Permalink
Adds pointer in README.md
Browse files Browse the repository at this point in the history
And removes example to the former examples dir to the new one. Refs #49
  • Loading branch information
JJ committed Dec 8, 2018
1 parent 901c9b8 commit f5ea68c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ say pod2html $=pod[0], :templates("lib/templates");


```

## DESCRIPTION

`Pod::To::HTML` takes a Pod 6 tree and outputs correspondingly
Expand All @@ -79,6 +78,9 @@ Optionally, a custom header/fooder/head-fields can be
provided. These can be used to link to custom CSS stylesheets and
JavaScript libraries.

## Examples

Check the [`examples`](resources/examples/README.md) directory (which should have been installed with your distribution, or is right here if you download from source) for a few illustrative examples.

## DEBUGGING

Expand Down
File renamed without changes.
13 changes: 13 additions & 0 deletions resources/examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Some examples for the module.

Test

perl6 -I../../lib render.p6

which uses the local [template `main.mustache`](main.mustache) instead of the default one. Add a pod6 or pm6 file at the end if you want to check a different file.

Change to the upper dir, and run

perl6 -Ilib resources/examples/01-parse-files.p6

for a similar version which uses the same file.

0 comments on commit f5ea68c

Please sign in to comment.