Skip to content

Commit ea1e64b

Browse files
committed
up basic example
1 parent 28ba915 commit ea1e64b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/make.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ cp("./docs/Project.toml", "./docs/src/assets/Project.toml"; force=true)
2121
repo_url = "github.com/control-toolbox/OptimalControl.jl"
2222

2323
makedocs(;
24-
draft=true, # if draft is true, then the julia code from .md is not executed
24+
draft=false, # if draft is true, then the julia code from .md is not executed
25+
# to disable the draft mode in a specific markdown file, use the following:
26+
# ```@meta
27+
# Draft = false
28+
# ```
2529
warnonly=[:cross_references, :autodocs_block],
2630
sitename="OptimalControl.jl",
2731
format=Documenter.HTML(;

docs/src/tutorial-double-integrator-time.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# [Double integrator: time minimisation](@id double-integrator-time)
22

3-
```@meta
4-
Draft = false
5-
```
6-
73
The problem consists in minimising the final time $t_f$ for the double integrator system
84

95
```math
@@ -69,7 +65,7 @@ nothing # hide
6965
Solve it
7066

7167
```@example main
72-
sol = solve(ocp; grid_size=300, print_level=4)
68+
sol = solve(ocp; grid_size=200, print_level=4)
7369
nothing # hide
7470
```
7571

0 commit comments

Comments
 (0)