DocumentFolder
struct
defined in module
Pollen
DocumentFolder(dirs; kwargs...) <: Rewriter
A
Rewriter
that creates new documents from files in the directories
dirs
.
Also handles watching and reloading files in development mode.
See
DocumentFiles
and
SourceFiles
as examples of how it is used.
filterfn
: Function
filepath -> Bool
that filters which files are loaded
loadfn
: Function
filepath -> Node
that loads a file into a
Node
There are
4
methods for Pollen.DocumentFolder
:
The following pages link back here:
Pollen.jl , rewriters/documentfolder.jl , rewriters/sourcefiles.jl