Skip to content

Commit

Permalink
Next try fixing docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Sep 17, 2024
1 parent 65ae425 commit 8cf42a7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Assertions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Add the symbol `s` to the list of (global) verbosity scopes.
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_verbosity_scope(:MyScope)
```
Expand Down Expand Up @@ -92,7 +92,7 @@ function [`get_verbosity_level`](@ref).
We will set up different verbosity scopes with different verbosity levels in a
custom function to show how to use this macro.
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_verbosity_scope(:Test1);
julia> AbstractAlgebra.add_verbosity_scope(:Test2);
Expand Down Expand Up @@ -198,7 +198,7 @@ function [`get_verbosity_level`](@ref).
We will set up different verbosity scopes with different verbosity levels in a
custom function to show how to use this macro.
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_verbosity_scope(:Test1);
julia> AbstractAlgebra.add_verbosity_scope(:Test2);
Expand Down Expand Up @@ -315,7 +315,7 @@ verbosity scopes by calling the function [`add_verbosity_scope`](@ref).
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_verbosity_scope(:MyScope)
julia> AbstractAlgebra.set_verbosity_level(:MyScope, 4)
Expand Down Expand Up @@ -345,7 +345,7 @@ verbosity scopes by calling the function [`add_verbosity_scope`](@ref).
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_verbosity_scope(:MyScope)
julia> AbstractAlgebra.get_verbosity_level(:MyScope)
Expand Down Expand Up @@ -386,7 +386,7 @@ Add the symbol `s` to the list of (global) assertion scopes.
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_assertion_scope(:MyScope)
```
Expand All @@ -411,7 +411,7 @@ assertion scopes by calling the function [`add_assertion_scope`](@ref).
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_assertion_scope(:MyScope)
julia> AbstractAlgebra.set_assertion_level(:MyScope, 4)
Expand Down Expand Up @@ -444,7 +444,7 @@ assertion scopes by calling the function [`add_assertion_scope`](@ref).
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_assertion_scope(:MyScope)
julia> AbstractAlgebra.get_assertion_level(:MyScope)
Expand Down Expand Up @@ -499,7 +499,7 @@ function [`get_assertion_level`](@ref).
We will set up different assertion scopes with different assertion levels in a
custom function to show how to use this macro.
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> AbstractAlgebra.add_assertion_scope(:MyScope)
julia> AbstractAlgebra.get_assertion_level(:MyScope)
Expand Down Expand Up @@ -574,7 +574,7 @@ If the number of arguments is not 2, an `AssertionError` is raised.
# Examples
```jldoctest
```jldoctest; setup = :(using AbstractAlgebra)
julia> function req_test(x::Int)
@req iseven(x) "x must be even"
return div(x,2)
Expand Down

0 comments on commit 8cf42a7

Please sign in to comment.