Skip to content

Commit 18e8ed3

Browse files
authored
Merge pull request #12 from JuliaAstro/icweaver-canonize
Canonize
2 parents c9b7dca + 98ff14f commit 18e8ed3

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Orbits.jl
22

3-
[![Build Status](https://github.com/juliaastro/Orbits.jl/workflows/CI/badge.svg?branch=main)](https://github.com/juliaastro/Orbits.jl/actions)
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.github.io/Orbits/stable/)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaastro.github.io/Orbits.jl/dev/)
5+
6+
[![CI](https://github.com/JuliaAstro/Orbits.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaAstro/Orbits.jl/actions/workflows/ci.yml)
47
[![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/O/Orbits.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html)
5-
[![Coverage](https://codecov.io/gh/juliaastro/Orbits.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/juliaastro/Orbits.jl)
8+
[![codecov](https://codecov.io/gh/juliaastro/Orbits.jl/graph/badge.svg?token=0PXylAA9Ig)](https://codecov.io/gh/juliaastro/Orbits.jl)
69
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
710

8-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.github.io/Orbits.jl/stable)
9-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaastro.github.io/Orbits.jl/dev)
10-
1111
Flexible and fast astronomical orbits (originally a submodule of [Transits.jl](https://github.com/JuliaAstro/Transits.jl)).
1212

1313
The goals of this package are, in this order:

docs/make.jl

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using Orbits
22
using Documenter
3+
using Documenter.Remotes: GitHub
34

45
setup = quote
56
using Orbits
@@ -10,16 +11,19 @@ DocMeta.setdocmeta!(Orbits, :DocTestSetup, setup; recursive=true)
1011
include("pages.jl")
1112

1213
makedocs(;
13-
modules=[Orbits],
14-
authors="Miles Lucas <[email protected]> and contributors",
15-
repo="https://github.com/juliaastro/Orbits.jl/blob/{commit}{path}#L{line}",
16-
sitename="Orbits.jl",
17-
format=Documenter.HTML(;
18-
prettyurls=get(ENV, "CI", "false") == "true",
19-
canonical="https://juliaastro.github.io/Orbits.jl",
20-
assets=String[],
14+
modules = [Orbits],
15+
authors = "Miles Lucas <[email protected]> and contributors",
16+
repo = GitHub("https://github.com/juliaAstro/Orbits.jl"),
17+
sitename = "Orbits.jl",
18+
format = Documenter.HTML(;
19+
prettyurls = get(ENV, "CI", "false") == "true",
20+
canonical = "https://juliaastro.org/Orbits/stable/",
2121
),
2222
pages=pages,
2323
)
2424

25-
deploydocs(; repo="github.com/JuliaAstro/Orbits.jl", push_preview=true, devbranch="main")
25+
deploydocs(;
26+
repo = "github.com/JuliaAstro/Orbits.jl.git",
27+
push_preview = true,
28+
versions = ["stable" => "v^", "v#.#"], # Restrict to minor releases
29+
)

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ CurrentModule = Orbits
55
# Orbits.jl
66

77
[![GitHub](https://img.shields.io/badge/Code-GitHub-black.svg)](https://github.com/juliaastro/Orbits.jl)
8-
[![Build Status](https://github.com/juliaastro/Orbits.jl/workflows/CI/badge.svg?branch=main)](https://github.com/juliaastro/Orbits.jl/actions)
8+
[![CI](https://github.com/JuliaAstro/Orbits.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaAstro/Orbits.jl/actions/workflows/ci.yml)
99
[![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/O/Orbits.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html)
10-
[![Coverage](https://codecov.io/gh/juliaastro/Orbits.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/juliaastro/Orbits.jl)
10+
[![codecov](https://codecov.io/gh/juliaastro/Orbits.jl/graph/badge.svg?token=0PXylAA9Ig)](https://codecov.io/gh/juliaastro/Orbits.jl)
1111
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1212

1313
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.github.io/Orbits.jl/stable)

0 commit comments

Comments
 (0)