Skip to content

Commit edce6fb

Browse files
committed
up bench
1 parent 6c70f18 commit edce6fb

6 files changed

Lines changed: 245 additions & 264 deletions

File tree

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
1515
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1616
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1717
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
18+
Tutorials = "cb10daa6-a5e5-4c25-a171-ae181b8ea3c9"
1819

1920
[compat]
2021
BenchmarkTools = "1.6"

docs/make.jl

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
using Documenter
22
using OptimalControl
33

4-
mkpath("./docs/src/assets")
5-
cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml"; force=true)
6-
cp("./docs/Project.toml", "./docs/src/assets/Project.toml"; force=true)
4+
# For reproducibility
5+
mkpath(joinpath(@__DIR__, "src", "assets"))
6+
cp(joinpath(@__DIR__, "Manifest.toml"), joinpath(@__DIR__, "src", "assets", "Manifest.toml"), force = true)
7+
cp(joinpath(@__DIR__, "Project.toml"), joinpath(@__DIR__, "src", "assets", "Project.toml"), force = true)
78

89
repo_url = "github.com/control-toolbox/Tutorials.jl"
910

1011
makedocs(;
11-
draft=false, # if draft is true, then the julia code from .md is not executed
12+
draft=true, # if draft is true, then the julia code from .md is not executed
13+
# to disable the draft mode in a specific markdown file, use the following:
14+
# ```@meta
15+
# Draft = false
16+
# ```
1217
warnonly=[:cross_references, :autodocs_block],
1318
sitename="Tutorials",
1419
format=Documenter.HTML(;

0 commit comments

Comments
 (0)