File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
9
9
julia = " 1"
10
10
11
11
[extras ]
12
+ Documenter = " e30172f5-a6a5-5a46-863b-614d45cd2de4"
12
13
ForwardDiff = " f6369f11-7733-5829-9624-2563aa707210"
13
14
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
14
15
15
16
[targets ]
16
- test = [" ForwardDiff" , " Test" ]
17
+ test = [" Documenter " , " ForwardDiff" , " Test" ]
Original file line number Diff line number Diff line change 7
7
using Documenter
8
8
using ChangesOfVariables
9
9
10
+ # Doctest setup
11
+ DocMeta. setdocmeta! (
12
+ ChangesOfVariables,
13
+ :DocTestSetup ,
14
+ :(using ChangesOfVariables);
15
+ recursive= true ,
16
+ )
17
+
10
18
makedocs (
11
19
sitename = " ChangesOfVariables" ,
12
20
modules = [ChangesOfVariables],
Original file line number Diff line number Diff line change 1
1
# This file is a part of ChangesOfVariables.jl, licensed under the MIT License (MIT).
2
2
3
- import Test
3
+ using ChangesOfVariables
4
+ using Documenter
5
+ using Test
4
6
5
7
Test. @testset " Package ChangesOfVariables" begin
6
8
include (" test_with_ladj.jl" )
9
+
10
+ # doctests
11
+ DocMeta. setdocmeta! (
12
+ ChangesOfVariables,
13
+ :DocTestSetup ,
14
+ :(using ChangesOfVariables);
15
+ recursive= true ,
16
+ )
17
+ doctest (ChangesOfVariables)
7
18
end # testset
You can’t perform that action at this time.
0 commit comments