Skip to content

Commit 9d1c6d4

Browse files
committed
Update documentation
- Bump Documenter.jl compat to 1 and fix some docs issues to make them build - Update the docs CI job Hopefully this will fix the deployment issues.
1 parent 2ac6d8e commit 9d1c6d4

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed

.github/workflows/Documentation.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- uses: julia-actions/setup-julia@latest
1616
with:
17-
version: '1.5'
17+
version: '1'
1818
- name: Install dependencies
1919
run: |
2020
julia --project=docs/ -e '
@@ -25,5 +25,4 @@ jobs:
2525
- name: Build and deploy
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
28-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
2928
run: julia --project=docs/ docs/make.jl

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ InlineTest = "bd334432-b1e7-49c7-a2dc-dd9149e4ebd6"
44
ReTest = "e0db7c4e-2690-44b9-bad6-7687da720f89"
55

66
[compat]
7-
Documenter = "0.26"
7+
Documenter = "1"

docs/src/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,17 +206,20 @@ load
206206
### Filtering tests
207207

208208
* [`not`](@ref)
209-
* [`pass`](@ref) and `fail`
209+
* [`pass`](@ref) and [`fail`](@ref)
210210
* [`reachable`](@ref)
211211
* [`interpolated`](@ref)
212212
* [`depth`](@ref)
213+
* [`iter`](@ref)
213214

214215
```@docs
215216
not
216217
pass
218+
fail
217219
reachable
218220
interpolated
219221
depth
222+
iter
220223
```
221224

222225

src/ReTest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ end
570570

571571
revise_pkgid() = Base.PkgId(Base.UUID("295af30f-e4ad-537b-8983-00126c2a3abe"), "Revise")
572572

573-
"accepted types as positional arguments of `retest`"
573+
# Accepted types as positional arguments of `retest`
574574
const ArgType = Union{Module,PatternX,AbstractString,AbstractArray,Tuple,Symbol,
575575
Pair{Module,
576576
<:Union{PatternX,AbstractString,AbstractArray,Tuple}}}

src/patterns.jl

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -518,14 +518,19 @@ depth(x::Integer) = Depth(Int(x))
518518

519519
"""
520520
pass
521+
522+
Filtering pattern which matches any testset which already ran successfully.
523+
The pattern `[pass, fail]` matches any testset which already ran.
524+
"""
525+
pass
526+
527+
"""
521528
fail
522529
523-
Filtering patterns which match any testset which already ran,
524-
succesfully for `pass` or with at least one error for `fail`.
525-
The pattern `[pass, fail]` therefore matches any testset
526-
which already ran.
530+
Filtering pattern which matches any testset which already ran with at least one
531+
error. The pattern `[pass, fail]` matches any testset which already ran.
527532
"""
528-
pass, fail
533+
fail
529534

530535
"""
531536
iter(i::Integer)

src/testset.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,7 @@ macro testset(mod::Module, isfinal::Bool, pat::Pattern, id::Int64, desc::Union{S
496496
options, marks, stats, chan, loops, body, __source__)
497497
end
498498

499-
"""
500-
Generate the code for a `@testset` with a `begin`/`end` argument
501-
"""
499+
# Generate the code for a `@testset` with a `begin`/`end` argument
502500
function testset_beginend(mod::Module, isfinal::Bool, pat::Pattern, id::Int64, desc, options,
503501
marks::Marks, stats::Bool, chan, tests, source)
504502
# Generate a block of code that initializes a new testset, adds
@@ -555,9 +553,7 @@ function testset_beginend(mod::Module, isfinal::Bool, pat::Pattern, id::Int64, d
555553
return ex
556554
end
557555

558-
"""
559-
Generate the code for a `@testset` with a `for` loop argument
560-
"""
556+
# Generate the code for a `@testset` with a `for` loop argument
561557
function testset_forloop(mod::Module, isfinal::Bool, pat::Pattern, id::Int64,
562558
desc::Union{String,Expr}, options, marks::Marks, stats, chan,
563559
loops, tests, source)

0 commit comments

Comments
 (0)