PkgTemplates.jl/defaults/make.jl
2019-09-26 00:32:03 +07:00

34 lines
639 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}}