Skip to content

Commit

Permalink
Update Documenter version, deploy to tarball (#45988)
Browse files Browse the repository at this point in the history
* Update `Documenter` version, deploy to tarball

This is a necessary change to get documentation deployed in buildkite,
where we deploy first to a tarball, then upload in a separate step.

* Update doc/make.jl

Co-authored-by: Morten Piibeleht <[email protected]>

Co-authored-by: Morten Piibeleht <[email protected]>
(cherry picked from commit 43dac09)
  • Loading branch information
staticfloat authored and KristofferC committed Jul 12, 2022
1 parent bf46593 commit 9f5e58a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ version = "0.8.6"

[[deps.Documenter]]
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
git-tree-sha1 = "122d031e8dcb2d3e767ed434bc4d1ae1788b5a7f"
git-tree-sha1 = "e4967ebb9dce1328d582200b03bcc44c69372312"
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
version = "0.27.17"
version = "0.27.20"

[[deps.IOCapture]]
deps = ["Logging", "Random"]
Expand Down Expand Up @@ -63,9 +63,9 @@ uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"

[[deps.Parsers]]
deps = ["Dates"]
git-tree-sha1 = "1285416549ccfcdf0c50d4997a94331e88d68413"
git-tree-sha1 = "0044b23da09b5608b4ecacb4e5e6c6332f833a7e"
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
version = "2.3.1"
version = "2.3.2"

[[deps.Printf]]
deps = ["Unicode"]
Expand Down
3 changes: 3 additions & 0 deletions doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ end

# Define our own DeployConfig
struct BuildBotConfig <: Documenter.DeployConfig end
Documenter.authentication_method(::BuildBotConfig) = Documenter.HTTPS
Documenter.authenticated_repo_url(::BuildBotConfig) = "https://github.com/JuliaLang/docs.julialang.org.git"
function Documenter.deploy_folder(::BuildBotConfig; devurl, repo, branch, kwargs...)
haskey(ENV, "DOCUMENTER_KEY") || return Documenter.DeployDecision(; all_ok=false)
if Base.GIT_VERSION_INFO.tagged_commit
Expand Down Expand Up @@ -385,4 +387,5 @@ deploydocs(
dirname = "en",
devurl = devurl,
versions = Versions(["v#.#", devurl => devurl]),
archive = get(ENV, "DOCUMENTER_ARCHIVE", nothing),
)

0 comments on commit 9f5e58a

Please sign in to comment.