Skip to content

Commit

Permalink
Define in-development docs URL programmatically. (JuliaLang#34298)
Browse files Browse the repository at this point in the history
* Revert "Use correct version for master docs (JuliaLang#34260)"

This reverts commit 8e6a2ae.

* Define in-development docs URL programmatically.
  • Loading branch information
fredrikekre committed Jan 8, 2020
1 parent b0ed147 commit 7afbb05
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
19 changes: 9 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,15 @@ release-candidate: release testall
@echo 2. Update references to the julia version in the source directories, such as in README.md
@echo 3. Bump VERSION
@echo 4. Increase SOMAJOR and SOMINOR if needed.
@echo 5. Update versions in deploydocs (at the end of doc/make.jl) if needed.
@echo 6. Create tag, push to github "\(git tag v\`cat VERSION\` && git push --tags\)" #"` # These comments deal with incompetent syntax highlighting rules
@echo 7. Clean out old .tar.gz files living in deps/, "\`git clean -fdx\`" seems to work #"`
@echo 8. Replace github release tarball with tarballs created from make light-source-dist and make full-source-dist
@echo 9. Check that 'make && make install && make test' succeed with unpacked tarballs even without Internet access.
@echo 10. Follow packaging instructions in DISTRIBUTING.md to create binary packages for all platforms
@echo 11. Upload to AWS, update https://julialang.org/downloads and http:https://status.julialang.org/stable links
@echo 12. Update checksums on AWS for tarball and packaged binaries
@echo 13. Announce on mailing lists
@echo 14. Change master to release-0.X in base/version.jl and base/version_git.sh as in 4cb1e20
@echo 5. Create tag, push to github "\(git tag v\`cat VERSION\` && git push --tags\)" #"` # These comments deal with incompetent syntax highlighting rules
@echo 6. Clean out old .tar.gz files living in deps/, "\`git clean -fdx\`" seems to work #"`
@echo 7. Replace github release tarball with tarballs created from make light-source-dist and make full-source-dist
@echo 8. Check that 'make && make install && make test' succeed with unpacked tarballs even without Internet access.
@echo 9. Follow packaging instructions in DISTRIBUTING.md to create binary packages for all platforms
@echo 10. Upload to AWS, update https://julialang.org/downloads and http:https://status.julialang.org/stable links
@echo 11. Update checksums on AWS for tarball and packaged binaries
@echo 12. Announce on mailing lists
@echo 13. Change master to release-0.X in base/version.jl and base/version_git.sh as in 4cb1e20
@echo

$(build_man1dir)/julia.1: $(JULIAHOME)/doc/man/julia.1 | $(build_man1dir)
Expand Down
6 changes: 4 additions & 2 deletions doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,13 @@ function Documenter.deploy_folder(::BuildBotConfig; devurl, kwargs...)
return nothing
end

const devurl = "v$(VERSION.major).$(VERSION.minor)-dev"

deploydocs(
repo = "github.com/JuliaLang/docs.julialang.org.git",
deploy_config = BuildBotConfig(),
target = joinpath(buildroot, "doc", "_build", "html", "en"),
dirname = "en",
devurl = "v1.5-dev",
versions = ["v#.#", "v1.5-dev" => "v1.5-dev"]
devurl = devurl,
versions = ["v#.#", devurl => devurl]
)

0 comments on commit 7afbb05

Please sign in to comment.