-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
[small] Button on README for stable docs gives 404 #244
Comments
We've known about this for a while, i dunno why we never filed an issue for it. Thanks for doing that, @soumitradev! :) When i created the Documentation pages, i couldn't figure out how to get it to generate the stable docs page, and no one has fixed this since then. Can anyone with more Documenter.jl experience help out here? Maybe @mortenpi? :) Thanks! |
The Lines 36 to 38 in 70215d6
You can set it to the following to get Travis builds on tags too: branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/ |
Thanks @mortenpi! I made the suggested fixed in f79de91. I guess we'll need to tag a new release to get the change, since the change needs to be in the config at the tag... Would it make sense to go back and cherry-pick this commit into the old releases, and make a patch release (or even like just add a |
Hmm, i tried testing this by cherry-picking the commit and making a docs release as v0.12.1-docs, and it did get picked up by travis: But it looks like our
Which matches what we configured in Travis: So we have to fix this as well. Unfortunately it looks like you can't edit the supported branches on the existing key, so we'll need to add a new key, and/or replace the existing key. For some reason, I have the privileges to add the secret key to Travis, but i can't set the public key on this Repo. Here are the instructions to do that, but it needs to be someone with access to the settings on this repo. Might need to be you, @travigd?: |
@NHDaly I added you as an admin on the repo. You should have been by default but things got overlooked when we transferred Blink to the JuliaGizmos org. |
🙌 Hooray! It worked! :) Thanks Travis! https://juliagizmos.github.io/Blink.jl/stable/ I'll tag a release for v0.12.2 now via Registrator. EDIT: Done: JuliaRegistries/General#10081 |
(ugh, despite the github issues right now) One thing that did not work, is that I tried to go back and apply the changes to an older branch (by creating a new tag, ERROR: LoadError: MethodError: Cannot `convert` an object of type Symbol to an object of type Documenter.Writer
Closest candidates are:
convert(::Type{T}, !Matched::T) where T at essentials.jl:154
Stacktrace:
[1] setindex!(::Array{Documenter.Writer,1}, ::Symbol, ::Int64) at ./array.jl:769
[2] getindex at ./array.jl:366 [inlined]
[3] #Document#6(::String, ::String, ::String, ::Symbol, ::Symbol, ::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Symbol, ::Array{Regex,1}, ::Bool, ::Array{Module,1}, ::Array{Any,1}, ::Array{String,1}, ::String, ::String, ::String, ::String, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Type, ::Tuple{}) at /home/travis/.julia/packages/Documenter/HmOsT/src/Documents.jl:292
[4] (::getfield(Core, Symbol("#kw#Type")))(::NamedTuple{(:format, :modules, :sitename, :pages),Tuple{Symbol,Array{Module,1},String,Array{Any,1}}}, ::Type{Documenter.Documents.Document}, ::Tuple{}) at ./none:0
[5] #makedocs#1(::Bool, ::Symbol, ::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol,Symbol},NamedTuple{(:modules, :sitename, :pages),Tuple{Array{Module,1},String,Array{Any,1}}}}, ::Function) at /home/travis/.julia/packages/Documenter/HmOsT/src/Documenter.jl:235
[6] (::getfield(Documenter, Symbol("#kw##makedocs")))(::NamedTuple{(:modules, :format, :sitename, :pages),Tuple{Array{Module,1},Symbol,String,Array{Any,1}}}, ::typeof(makedocs)) at ./none:0
[7] top-level scope at none:0
[8] include at ./boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:1044
[10] include(::Module, ::String) at ./sysimg.jl:29
[11] exec_options(::Base.JLOptions) at ./client.jl:266
[12] _start() at ./client.jl:425
in expression starting at /home/travis/build/JuliaGizmos/Blink.jl/docs/make.jl:5 @mortenpi: any ideas about that? Is it possible to go back and build docs for the old versions? :) Thanks! |
Since this seems mostly figured out, I'll be closing this. |
Title says it all
The text was updated successfully, but these errors were encountered: