Skip to content

Commit d78b6ce

Browse files
Merge pull request #131 from ArnoStrouwen/canon
canonize docs
2 parents 9e9462d + 7fd49af commit d78b6ce

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
11
# LabelledArrays.jl
22

33
[![Join the chat at https://julialang.zulipchat.com #sciml-bridged](https://img.shields.io/static/v1?label=Zulip&message=chat&color=9558b2&labelColor=389826)](https://julialang.zulipchat.com/#narrow/stream/279055-sciml-bridged)
4-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](http://labelledarrays.sciml.ai/stable/)
5-
[![Global Docs](https://img.shields.io/badge/docs-SciML-blue.svg)](https://docs.sciml.ai/dev/modules/LabelledArrays/)
4+
[![Global Docs](https://img.shields.io/badge/docs-SciML-blue.svg)](https://docs.sciml.ai/LabelledArrays/stable/)
65

76
[![codecov](https://codecov.io/gh/SciML/LabelledArrays.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/SciML/LabelledArrays.jl)
87
[![Build Status](https://github.com/SciML/LabelledArrays.jl/workflows/CI/badge.svg)](https://github.com/SciML/LabelledArrays.jl/actions?query=workflow%3ACI)
98

109
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac)
1110
[![SciML Code Style](https://img.shields.io/static/v1?label=code%20style&message=SciML&color=9558b2&labelColor=389826)](https://github.com/SciML/SciMLStyle)
1211

12+
# About
13+
1314
LabelledArrays.jl is a package which provides arrays with labels, i.e. they are
1415
arrays which `map`, `broadcast`, and all of that good stuff, but their components
1516
are labelled. Thus for instance you can set that the second component is named
1617
`:second` and retrieve it with `A.second`.
1718

19+
## How to install
20+
21+
The package can be installed from this repository by
22+
```julia
23+
> using Pkg
24+
> Pkg.add("LabelledArrays")
25+
```
26+
## Tutorials and Documentation
27+
28+
For information on using the package,
29+
[see the stable documentation](https://docs.sciml.ai/LabelledArrays/stable/). Use the
30+
[in-development documentation](https://docs.sciml.ai/LabelledArrays/dev/) for the version of
31+
the documentation, which contains the unreleased features.
32+
1833
## SLArrays
1934

2035
The `SLArray` and `SLVector` macros are for creating static LabelledArrays.
@@ -268,4 +283,4 @@ unlike a named tuple, is mutable.
268283

269284
This functionality has been removed from LabelledArrays.jl, but can
270285
replicated with the same compile-time performance and indexing syntax
271-
using [DimensionalData.jl](https://github.com/rafaqz/DimensionalData.jl).
286+
using [DimensionalData.jl](https://rafaqz.github.io/DimensionalData.jl/stable/).

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ makedocs(sitename = "LabelledArrays.jl",
88
clean = true, doctest = false,
99
format = Documenter.HTML(analytics = "UA-90474609-3",
1010
assets = ["assets/favicon.ico"],
11-
canonical = "https://labelledarrays.sciml.ai/stable/"),
11+
canonical = "https://docs.sciml.ai/LabelledArrays/stable/"),
1212
pages = pages)
1313

1414
deploydocs(repo = "github.com/SciML/LabelledArrays.jl.git";

docs/src/Example_dsl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ sol[10].x
4545
In the example above, we used an `LArray` to define the
4646
intial state `u0` as well as the parameter vector `p`.
4747
The reminder of the ODE solution steps are are no different
48-
that the original `DifferentialEquations` [tutorials](https://diffeq.sciml.ai/stable/tutorials/ode_example/#Example-2:-Solving-Systems-of-Equations).
48+
that the original `DifferentialEquations` [tutorials](https://docs.sciml.ai/DiffEqDocs/stable/tutorials/ode_example/#Example-2:-Solving-Systems-of-Equations).
4949

5050
Alternatively, we can use an immutable `SLVector` to
5151
implement the same equation. In this case, we need to

docs/src/LArrays.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ the given values:
77

88
Users interested in using labelled elements in their arrays should also
99
consider `ComponentArrays` from the
10-
[ComponentArrays.jl](https://github.com/jonniedie/ComponentArrays.jl)
10+
[ComponentArrays.jl](https://docs.sciml.ai/ComponentArrays/stable/)
1111
library. `ComponentArrays` are well integrated into the SciML ecosystem.
1212

1313
## `@LArray` and `@LVector` macros

test/diffeq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ p = LorenzParameterVector(10.0, 28.0, 8 / 3)
1515
tspan = (0.0, 10.0)
1616
prob = ODEProblem(f, u0, tspan, p)
1717
sol = solve(prob, Rosenbrock23())
18-
@test sol.retcode === :Success
18+
@test sol.retcode == :Success
1919
sol = solve(prob, Tsit5())
2020
@test prob.u0 === sol.u[1] === u0
2121
@test prob.p === p

0 commit comments

Comments
 (0)