Skip to content

Commit 6588ccd

Browse files
authored
Merge pull request #41 from JuliaAstro/icweaver-canonize
Canonize
2 parents c4f1b63 + fcad944 commit 6588ccd

2 files changed

Lines changed: 14 additions & 11 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| **Documentation** | **Build Status** | **Code Coverage** |
44
|:---------------------------------------:|:-----------------------------------:|:-------------------------------:|
55
| [![][docs-stable-img]][docs-stable-url] | [![Build Status][gha-img]][gha-url] | [![][coveral-img]][coveral-url] |
6-
| [![][docs-latest-img]][docs-latest-url] | | [![][codecov-img]][codecov-url] |
6+
| [![][docs-dev-img]][docs-dev-url] | | [![][codecov-img]][codecov-url] |
77

88
Introduction
99
------------
@@ -120,7 +120,7 @@ If the signal has uncertainties, the `signal` vector can also be a vector of
120120
which case you need not to pass a separate `errors` vector for the uncertainties
121121
of the signal. You can create arrays of `Measurement` objects with the
122122
`measurement` function, see `Measurements.jl` manual at
123-
https://juliaphysics.github.io/Measurements.jl/latest/ for more details.
123+
https://juliaphysics.github.io/Measurements.jl/dev/ for more details.
124124

125125
With the `LombScargle.plan` function you can pre-plan a periodogram and save
126126
time and memory for the actual computation of the periodogram. See the
@@ -234,17 +234,17 @@ Astropy Team.
234234

235235

236236

237-
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
238-
[docs-latest-url]: https://juliaastro.github.io/LombScargle.jl/latest/
237+
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
238+
[docs-dev-url]: https://juliaastro.org/LombScargle.jl/dev/
239239

240240
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
241-
[docs-stable-url]: https://juliaastro.github.io/LombScargle.jl/stable/
241+
[docs-stable-url]: https://juliaastro.org/LombScargle/stable/
242242

243243
[gha-img]: https://github.com/JuliaAstro/LombScargle.jl/workflows/CI/badge.svg
244244
[gha-url]: https://github.com/JuliaAstro/LombScargle.jl/actions?query=workflow%3ACI
245245

246246
[coveral-img]: https://coveralls.io/repos/github/JuliaAstro/LombScargle.jl/badge.svg?branch=master
247247
[coveral-url]: https://coveralls.io/github/JuliaAstro/LombScargle.jl?branch=master
248248

249-
[codecov-img]: https://codecov.io/gh/JuliaAstro/LombScargle.jl/branch/master/graph/badge.svg
249+
[codecov-img]: https://codecov.io/gh/JuliaAstro/LombScargle.jl/graph/badge.svg?token=c8Vz9GBFNH
250250
[codecov-url]: https://codecov.io/gh/JuliaAstro/LombScargle.jl

docs/make.jl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@ cp(joinpath(@__DIR__, "..", "perf", "benchmarks.png"),
99
# gives `pages` and `bib`
1010
include("pages.jl")
1111

12-
makedocs(
12+
makedocs(;
1313
modules = [LombScargle],
1414
sitename = "LombScargle",
15+
format = Documenter.HTML(;
16+
prettyurls = get(ENV, "CI", "false") == "true",
17+
canonical = "https://juliaastro.org/Cosmology/stable/",
18+
),
1519
pages = pages,
1620
plugins = [bib],
1721
)
1822

19-
deploydocs(
23+
deploydocs(;
2024
repo = "github.com/JuliaAstro/LombScargle.jl.git",
21-
target = "build",
22-
deps = nothing,
23-
make = nothing,
25+
push_preview = true,
26+
versions = ["stable" => "v^", "v#.#"], # Restrict to minor releases
2427
)

0 commit comments

Comments
 (0)