Skip to content

Commit 5aa6eb8

Browse files
committed
Fix version badge in docs
1 parent ad98871 commit 5aa6eb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ VERSION = Pkg.dependencies()[Base.UUID("6b52fcaf-80fe-489a-93e9-9f92080510be")].
1515
1616
github_badge = "[![Github](https://img.shields.io/badge/JuliaQuantumControl-GRAPE.jl-blue.svg?logo=github)](https://github.com/JuliaQuantumControl/GRAPE.jl)"
1717
18-
version_badge = "![v$VERSION](https://img.shields.io/badge/version-v$VERSION-green.svg)"
18+
version_badge = "![v$VERSION](https://img.shields.io/badge/version-v$(replace(string(VERSION), "-"=>"--"))-green.svg)"
1919
2020
joss_badge = "[![status](https://joss.theoj.org/papers/25e7a240c129459ad160dd3fb9d009d8/status.svg)](https://joss.theoj.org/papers/25e7a240c129459ad160dd3fb9d009d8)"
2121

0 commit comments

Comments
 (0)