Skip to content

Commit

Permalink
WIP: deploy to JuliaLang/docs.julialang.org
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Nov 2, 2018
1 parent 6a3a504 commit dd60125
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 6 additions & 4 deletions doc/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
version = "0.5.0"

[[Documenter]]
deps = ["Base64", "DocStringExtensions", "InteractiveUtils", "LibGit2", "Logging", "Markdown", "Pkg", "REPL", "Random", "Test", "Unicode"]
git-tree-sha1 = "9f2135e0e7ecb63f9c3ef73ea15a31d8cdb79bb7"
deps = ["Base64", "DocStringExtensions", "InteractiveUtils", "LibGit2", "Logging", "Markdown", "REPL", "Random", "Test", "Unicode"]
git-tree-sha1 = "9d4a932fad2b6543b97fe5bd9282746f15f01edf"
repo-rev = "fe/deploy-logic"
repo-url = "https://github.com/JuliaDocs/Documenter.jl.git"
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
version = "0.20.0"
version = "0.20.0+"

[[InteractiveUtils]]
deps = ["LinearAlgebra", "Markdown"]
Expand Down Expand Up @@ -72,7 +74,7 @@ deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[[UUIDs]]
deps = ["Random", "SHA"]
deps = ["Random"]
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[[Unicode]]
Expand Down
5 changes: 4 additions & 1 deletion doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,14 @@ makedocs(
# Only deploy docs from 64bit Linux to avoid committing multiple versions of the same
# docs from different workers.
if "deploy" in ARGS && Sys.ARCH === :x86_64 && Sys.KERNEL === :Linux
# Override TRAVIS_REPO_SLUG since we deploy to a different repo
withenv("TRAVIS_REPO_SLUG" => "JuliaLang/docs.julialang.org") do
deploydocs(
repo = "github.com/JuliaLang/julia.git",
repo = "github.com/JuliaLang/docs.julialang.org.git",
target = joinpath(buildroot, "doc", "_build", "html", "en"),
dirname = "en",
devurl = "v1.1-dev",
versions = ["v#.#", "v1.1-dev" => "v1.1-dev"]
)
end
end

0 comments on commit dd60125

Please sign in to comment.