Disable pretty urls except in CI

This commit is contained in:
Chris de Graaf 2019-11-01 09:41:22 +07:00
parent 206b7e9ade
commit 5a8934350c
No known key found for this signature in database
GPG Key ID: 150FFDD9B0073C7B
4 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ makedocs(;
repo="https://github.com/invenia/PkgTemplates.jl/blob/{commit}{path}#L{line}",
sitename="PkgTemplates.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://invenia.github.io/PkgTemplates.jl",
assets=String[],
),

View File

@ -7,6 +7,7 @@ makedocs(;
repo="https://{{{REPO}}}/blob/{commit}{path}#L{line}",
sitename="{{{PKG}}}.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
{{#CANONICAL}}
canonical="{{{CANONICAL}}}",
{{/CANONICAL}}

View File

@ -7,6 +7,7 @@ makedocs(;
repo="https://github.com/tester/AllPlugins.jl/blob/{commit}{path}#L{line}",
sitename="AllPlugins.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
assets=String[],
),
pages=[

View File

@ -7,6 +7,7 @@ makedocs(;
repo="https://github.com/tester/WackyOptions.jl/blob/{commit}{path}#L{line}",
sitename="WackyOptions.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="http://example.com",
assets=[
"assets/static.txt",