### ----------------------------------------------------
### -- Elucid8::Build
### -- Licenses: Artistic-2.0
### -- Authors: Richard Hainsworth
### -- File: resources/config/02-plugins.raku
### ----------------------------------------------------
%(
    # plugins in the order to be applied
    # templates in later plugins over-ride or can use those in earlier ones
    # elucid8-build prefixes names here with 'RakuDoc::Plugin::HTML::'
    plugins => <
        RakuDoc::Plugin::HTML::Hilite
        RakuDoc::Plugin::HTML::ListFiles
        RakuDoc::Plugin::HTML::Graphviz
        RakuDoc::Plugin::HTML::FontAwesome
        RakuDoc::Plugin::HTML::Latex
        RakuDoc::Plugin::HTML::LeafletMaps
        RakuDoc::Plugin::HTML::SCSS
        Elucid8::Plugin::HTML::UISwitcher
        Elucid8::Plugin::HTML::AutoIndex
    >,
    setup => (# sequence not hash because order can matter
        RakuREPL => 'set-host-port',
    ),
    pre-file-render => (# sequence not hash because order can matter
        SiteData => 'initialise',
    ),
    post-file-render => (# sequence not hash because order can matter
    ),
    post-all-content-files => (# sequence not hash because order can matter
        SiteData => 'gen-composites',
        Search => 'prepare-search-data',
    ),
    post-all-files => ( # sequence because order matters
    )
)


