Skip to content

Commit

Permalink
Clean _build directory before building new docs
Browse files Browse the repository at this point in the history
Currently non-deploy docs, built with the pretty_urls option disabled,
also get pushed to gh-pages. With this, they will be cleaned away before
the deploy docs are built and we should end up with a single set of HTML
pages on the gh-pages branch (as opposed to the current e.g.
base/file.html AND base/file/index.html).
  • Loading branch information
mortenpi committed Jan 18, 2018
1 parent a4aa478 commit 035a4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ end
makedocs(
build = joinpath(pwd(), "_build/html/en"),
modules = [Base, Core, BuildSysImg, [Base.root_module(stdlib.stdlib) for stdlib in STDLIB_DOCS]...],
clean = false,
clean = true,
doctest = "doctest" in ARGS,
linkcheck = "linkcheck" in ARGS,
linkcheck_ignore = ["https://bugs.kde.org/show_bug.cgi?id=136779"], # fails to load from nanosoldier?
Expand Down

0 comments on commit 035a4bb

Please sign in to comment.