Skip to content

Commit

Permalink
Control makedocs(strict=...) with DOCS_STRICT environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Aug 11, 2018
1 parent 2304f5e commit 0d1f202
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ println()
using Bifurcations
using Bifurcations: plot, plot! # a workaround

makedocs(
strict = true,
)
let strict = get(ENV, "DOCS_STRICT", "yes") == "yes"
@info """
`makedocs` with:
strict = $strict
"""
makedocs(
strict = strict,
)
end

0 comments on commit 0d1f202

Please sign in to comment.