Hi!
I am trying to initiate a second project by defining a template suitable for use with the package PkgTemplates
. The template definition appears to work fine without the Documenter
plugin, but as soon as I include it as shown here:
tmpl = Template(;
user="Michel Verstraete",
dir="~/Projects/MISR/MISR_RCCM",
...
julia=v"1.8",
plugins=[
...
Documenter{GitHubActions}(;
make_jl="~/Projects/MISR/MISR_RCCM/JMRCCM/docs/make.jl",
index_md="~/Projects/MISR/MISR_RCCM/JMRCCM/docs/src/index.md",
assets=String[],
logo=Logo(),
canonical_url=make_canonical(GitHubActions),
devbranch=nothing,
edit_link=:devbranch,
makedocs_kwargs=Dict{Symbol,Any}(),
),
...
],
)
I get the error message
ERROR: TypeError: in Type{...} expression, expected UnionAll, got a value of type Module
Stacktrace:
[1] top-level scope
@ REPL[25]:1
even though this is pretty much verbatim what appears in the documentation at
User Guide · PkgTemplates.jl and
PkgTemplates.jl/user.md at master · JuliaCI/PkgTemplates.jl · GitHub
I’ve tried to replace GitHubActions
by Nothing
on the two lines, and to add the GitHubActions
plugin itself, but to no avail. Even the simplest plugin setting Documenter{GitHubActions}(),
generates that same error message.
Comments and suggestions will be most welcome.