PkgTemplates.jl/templates/docs/make.jl
Chris de Graaf 3b9714c8a8
Move around the template files, update the licenses
Hopefully the licenses are detected better by Licensee.
Also they can be templated now which is nice.
2019-09-26 00:32:05 +07:00

34 lines
659 B
Julia

using {{{PKG}}}
using Documenter
makedocs(;
modules=[{{{PKG}}}],
authors="{{{AUTHORS}}}",
repo="https://{{{REPO}}}/blob/{commit}{path}#L{line}",
sitename="{{{PKG}}}.jl",
format=Documenter.HTML(;
{{#CANONICAL}}
canonical="{{{CANONICAL}}}",
{{/CANONICAL}}
assets={{^HAS_ASSETS}}String{{/HAS_ASSETS}}[{{^HAS_ASSETS}}],{{/HAS_ASSETS}}
{{#ASSETS}}
"{{{.}}}",
{{/ASSETS}}
{{#HAS_ASSETS}}
],
{{/HAS_ASSETS}}
),
pages=[
"Home" => "index.md",
],
{{#MAKEDOCS_KWARGS}}
{{{first}}}={{{second}}},
{{/MAKEDOCS_KWARGS}}
)
{{#HAS_DEPLOY}}
deploydocs(;
repo="{{{REPO}}}",
)
{{/HAS_DEPLOY}}