Merge pull request #52 from tkf/docs-dev

Use "dev" instead of "latest" to link GitHub pages
This commit is contained in:
Chris de Graaf 2019-01-31 09:36:20 -06:00 committed by GitHub
commit 5c92f18d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -15,7 +15,7 @@ pkg_dir = joinpath(t.dir, test_pkg)
p = GitHubPages()
@test badges(p, me, test_pkg) == [
"[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://$me.github.io/$test_pkg.jl/stable)"
"[![Latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://$me.github.io/$test_pkg.jl/latest)"
"[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://$me.github.io/$test_pkg.jl/dev)"
]
end