-
it must be valid Raku pod
-
the first non-comment or non-empty line must be:
=begin pod # optionally followed by :key<value> %config pairs
-
the second non-comment or non-empty line must be:
=TITLE ...text...
-
an optional (but usually desired) subtitle must be the third non-comment or non-empty line:
=SUBTITLE ...text...
-
the last non-comment or non-empty line must be:
=end pod
You can use
TEST_FILES="files changed but not pushed" make xtest
To validate these and other conventions before committing.
# this is a valid, non-pod comment
=begin pod :my-link<foo> # another comment
=TITLE Working with Raku pod
=SUBTITLE Alice in Wonderland
# ... more valid pod and text
=comment a pod comment # a valid comment
=end pod
# vi or emacs info
=comment a pod comment # this is not a valid comment in this position
=begin pod :my-link<foo> # another comment
=TITLE Working with Raku pod
=SUBTITLE Alice in Wonderland
# ... more valid pod and text
=end pod
# vi or emacs info