Skip to content

Commit c55cc97

Browse files
authored
Merge pull request #48 from control-toolbox/47-general-compat
New version, since OC 1.1.3
2 parents 6a3bb58 + 1a8150c commit c55cc97

File tree

10 files changed

+344
-331
lines changed

10 files changed

+344
-331
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Tutorials"
22
uuid = "cb10daa6-a5e5-4c25-a171-ae181b8ea3c9"
33
authors = ["Olivier Cots <olivier.cots@toulouse-inp.fr>"]
4-
version = "0.2.0"
4+
version = "0.3.0"
55

66
[compat]
77
julia = "1.10"

docs/extras/disc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for adnlp_backend in backends
9393
docp = @btimed direct_transcription(
9494
$ocp; disc_method=:euler, grid_size=1000, adnlp_backend=($adnlp_backend)
9595
)
96-
nlp = model(docp)
96+
nlp = nlp_model(docp)
9797
prepa_time = bt.time
9898

9999
# Get the number of non-zero elements

docs/make.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ cp(
3131

3232
repo_url = "github.com/control-toolbox/Tutorials.jl"
3333

34-
makedocs(;
35-
draft=false, # if draft is true, then the julia code from .md is not executed
36-
# to disable the draft mode in a specific markdown file, use the following:
34+
# if draft is true, then the julia code from .md is not executed # debug
35+
# to disable the draft mode in a specific markdown file, use the following:
3736
#=
3837
```@meta
3938
Draft = false
4039
```
4140
=#
41+
makedocs(;
42+
draft=false,
4243
warnonly=[:cross_references, :autodocs_block],
4344
sitename="Tutorials",
4445
format=Documenter.HTML(;

0 commit comments

Comments
 (0)