Website Plugin for Collection
Provides a complilation
plugin that collects the TOC, Glossary, Footnote, and Meta data for each
file in the collection, and places it in the ProcessedPod
object's data. Individual Custom blocks
can then access the data and render these Components, eg.
=for Website :make<toc>
Caption for the Table of Contents
Custom blocks
One custom block is provided: Website
It can be used with several make
options:
:make<toc>
:make<glossary>
:make<footnotes>
C<:make<toc-glossary> :toc-caption<Table of Contents> :glossary-caption<Website Index>
Each of these are searchable, unless the :no-search
option is given
The default for customised Pod::Blocks is for the Caption text to be included in the TOC. But this may not
be desired, so either the initial =begin pod
can be given a :no-toc
and/or :no-glossary
, or
the option :header-level(0)
can be given, eg.
Templates
Templates are defined for each make
option.
Without an explicit make
configuration, :make<toc>
is the default.
CSS / SCSS
The CSS is generated from the SCSS file. The gather-css plugin does not yet use the scss, but it is provided.