Skip to content

Commit

Permalink
Ignore more doctest subtleties
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Jun 24, 2024
1 parent 93c2e5a commit 11f6a6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ makedocs(;
],
# doctest = false,
doctestfilters = [
# Drop any digit after the 12th digit after a decimal, throughout the docs
r"(?<=\d\.\d{12})\d+",
# Drop any digit after the 10th digit after a decimal, throughout the docs
r"(?<=\d\.\d{10})\d+",
# Ignore any warning involving Symbolics or SymbolicUtils
r"WARNING: .* Symbolic.*",
],
)

Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The various `Float` and `Int` types work well, as do `BigFloat`, and the [`Num`
type from
`Symbolics.jl`](https://symbolics.juliasymbolics.org/v0.1/manual/variables/#A-note-about-functions-restricted-to-Numbers-1).
In particular, we can use symbolic expressions as components:
```jldoctest symbolics
```jldoctest symbolics; setup = :(using Quaternionic, Symbolics)
julia> using Quaternionic, Symbolics
julia> @variables a b c d e;
Expand Down

0 comments on commit 11f6a6c

Please sign in to comment.