diff --git a/README.md b/README.md index 3ad1d0d..7177d7b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Transits.jl -[![Build Status](https://github.com/juliaastro/Transits.jl/workflows/CI/badge.svg?branch=main)](https://github.com/juliaastro/Transits.jl/actions) +[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.org/Transits/stable) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaastro.org/Transits.jl/dev) + +[![CI](https://github.com/JuliaAstro/Transits.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaAstro/Transits.jl/actions/workflows/ci.yml) [![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/T/Transits.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html) -[![Coverage](https://codecov.io/gh/juliaastro/Transits.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/juliaastro/Transits.jl) +[![codecov](https://codecov.io/gh/juliaastro/Transits.jl/graph/badge.svg?token=8kQPWHAWdW)](https://codecov.io/gh/juliaastro/Transits.jl) [![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) - -[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.github.io/Transits.jl/stable) -[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaastro.github.io/Transits.jl/dev) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4544094.svg)](https://doi.org/10.5281/zenodo.4544094) Flexible photometric transit curves with limb darkening. The goals of this package are, in this order diff --git a/docs/make.jl b/docs/make.jl index 16f88e3..c616791 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -19,7 +19,7 @@ makedocs(; sitename="Transits.jl", format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true", - canonical="https://juliaastro.github.io/Transits.jl", + canonical="https://juliaastro.org/Transits/stable/", assets=String[], ), pages=pages, @@ -27,4 +27,9 @@ makedocs(; plugins=[bib], ) -deploydocs(; repo="github.com/JuliaAstro/Transits.jl", push_preview=true, devbranch="main") +deploydocs(; + repo = "github.com/JuliaAstro/Transits.jl", + push_preview = true, + devbranch = "main", + versions = ["stable" => "v^", "v#.#"], # Restrict to minor releases +)