Use "dev" instead of "latest" to link GitHub pages
It seems Documenter.jl changed the setting: https://juliadocs.github.io/Documenter.jl/v0.21/lib/public/#Documenter.deploydocs
This commit is contained in:
parent
27fe02ac82
commit
bd4e95ba6a
@ -36,9 +36,9 @@ function badges(::GitHubPages, user::AbstractString, pkg_name::AbstractString)
|
||||
"https://$user.github.io/$pkg_name.jl/stable"
|
||||
)),
|
||||
format(Badge(
|
||||
"Latest",
|
||||
"https://img.shields.io/badge/docs-latest-blue.svg",
|
||||
"https://$user.github.io/$pkg_name.jl/latest"
|
||||
"Dev",
|
||||
"https://img.shields.io/badge/docs-dev-blue.svg",
|
||||
"https://$user.github.io/$pkg_name.jl/dev"
|
||||
)),
|
||||
]
|
||||
end
|
||||
|
@ -15,7 +15,7 @@ pkg_dir = joinpath(t.dir, test_pkg)
|
||||
p = GitHubPages()
|
||||
@test badges(p, me, test_pkg) == [
|
||||
"[](https://$me.github.io/$test_pkg.jl/stable)"
|
||||
"[](https://$me.github.io/$test_pkg.jl/latest)"
|
||||
"[](https://$me.github.io/$test_pkg.jl/dev)"
|
||||
]
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user