Cowsay.jl/docs/make.jl
Thomas A. Christensen II 1cd41f6729
docs: Fix documentation using
Commit eda7a873691b ("Files generated by PkgTemplates") used lowercase
module name `cowsay`. Commit 1dfe64246b78 ("Fix package name") changed
the module to use capitalized module name (`Cowsay`) and the function to
use the lowercase name (`cowsay`). Update docs generation to match those
changes.

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2021-09-23 09:48:37 -05:00

24 lines
656 B
Julia

using Cowsay
using Documenter
DocMeta.setdocmeta!(Cowsay, :DocTestSetup, :(using Cowsay); recursive=true)
makedocs(;
modules=[Cowsay],
authors="Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors",
repo="https://github.com/MillironX/cowsay.jl/blob/{commit}{path}#{line}",
sitename="cowsay.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://MillironX.github.io/cowsay.jl",
assets=String[],
),
pages=[
"Home" => "index.md",
],
)
deploydocs(;
repo="github.com/MillironX/cowsay.jl",
devbranch="master",
)