-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove julia and osname kwarg from deploydocs #816
Conversation
b2c7ba5
to
a3af582
Compare
Actually made this non-breaking (I think?). |
71387e7
to
722c095
Compare
722c095
to
accb234
Compare
Bump for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for not reviewing this earlier. Two small questions, but overall looks great!
docs/src/man/hosting.md
Outdated
- julia -e 'cd(Pkg.dir("PACKAGE_NAME")); include(joinpath("docs", "make.jl"))' | ||
jobs: | ||
include: | ||
- stage: "Deploy docs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe have the suggested name for the build stage here be "Documentation". "Deploy docs" has always bothered me a tiny bit.
src/Documenter.jl
Outdated
travis_osname = get(ENV, "TRAVIS_OS_NAME","") | ||
if !(julia == travis_julia && osname == travis_osname) | ||
@info("skipping docs deployment.") | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe go all-in and not deploy at all if julia
and/or osname
is defined? Since julia
is mandatory at the moment, it should catch everyone who go to 0.20.0 without updating make.jl
(may take a while before people notice though). So this should make sure that people don't get weird deployments when they accidentally start using 0.20.
accb234
to
560de7d
Compare
and recommend using Travis Build Stages instead.
560de7d
to
2f9f705
Compare
Remove julia and osname kwarg from deploydocs and recommend using Travis Build Stages instead.