Skip to content

Commit

Permalink
Disable pretty urls except in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-dG committed Nov 1, 2019
1 parent 206b7e9 commit 5a89343
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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[],
),
Expand Down
1 change: 1 addition & 0 deletions templates/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/AllPlugins/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/WackyOptions/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5a89343

Please sign in to comment.