Skip to content

Commit 449fd91

Browse files
authored
Add version to docs build (#26)
* Add version to docs build * Update docs dep versions * Remove explicit floating-point values in Plm example * Simpler floating point values in index.md example * Use v1.10 for docs * Relax setup-julia version
1 parent 0094bdc commit 449fd91

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
version:
26-
- '1.6'
26+
- 'lts'
2727
- '1'
2828
- 'nightly'
2929
os:
@@ -32,7 +32,7 @@ jobs:
3232
- x64
3333
steps:
3434
- uses: actions/checkout@v2
35-
- uses: julia-actions/setup-julia@v1
35+
- uses: julia-actions/setup-julia@v2
3636
with:
3737
version: ${{ matrix.version }}
3838
arch: ${{ matrix.arch }}
@@ -57,9 +57,9 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- uses: actions/checkout@v2
60-
- uses: julia-actions/setup-julia@v1
60+
- uses: julia-actions/setup-julia@v2
6161
with:
62-
version: '1.10'
62+
version: 'lts'
6363
- run: |
6464
julia --project=docs -e '
6565
using Pkg

docs/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ LegendrePolynomials = "3db4a2ba-fc88-11e8-3e01-49c72059a882"
55
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
66

77
[compat]
8-
Documenter = "0.27"
8+
Documenter = "1"
99
HyperDualNumbers = "4"
10-
Symbolics = "4"
10+
Symbolics = "5"

docs/src/index.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ true
5858
Evaluate the associated Legendre Polynomial one `l,m` pair as `Plm(x, l, m)`:
5959

6060
```jldoctest
61-
julia> p = Plm(0.5, 3, 2)
62-
5.624999999999997
61+
julia> p = Plm(0.5, 3, 2);
6362
6463
julia> p ≈ 45/8 # analytical value
6564
true
@@ -88,11 +87,11 @@ Evaluate the associated Legendre Polynomials for order `m` and degree `l` in `lm
8887
as `collectPlm(x; m, lmin, lmax)`. By default `lmin` is chosen to be `abs(m)`, and may be omitted.
8988

9089
```jldoctest
91-
julia> collectPlm(0.5, lmax = 5, m = 3)
90+
julia> collectPlm(0, lmax = 5, m = 3)
9291
3-element OffsetArray(::Vector{Float64}, 3:5) with eltype Float64 with indices 3:5:
93-
-9.742785792574933
94-
-34.09975027401223
95-
-42.624687842515385
92+
-15.000000000000002
93+
-0.0
94+
52.500000000000064
9695
```
9796

9897
Evaluate all the `n`th derivatives of `Pl` as `collectdnPl(x; lmax, n)`:

0 commit comments

Comments
 (0)