Skip to content

Commit c9fe1a9

Browse files
committed
change: trying placing :continue a bit latter
It does not seems to work locally
1 parent f5d86ff commit c9fe1a9

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎docs/make.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ makedocs(
2828
sitename = "ModelPredictiveControl.jl",
2929
#format = Documenter.LaTeX(platform = "none"),
3030
doctest = true,
31-
plugins = [links,CodeBlocks()],
31+
plugins = [links, CodeBlocks()],
3232
format = Documenter.HTML(
3333
prettyurls = get(ENV, "CI", nothing) == "true",
3434
edit_link = "main"

‎docs/src/manual/installation.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Manual: Installation
22

3+
To install the `ModelPredictiveControl` package, run this command in the Julia REPL:
4+
35
```@codeblocks
46
line_counter = :continue
57
```
68

7-
To install the `ModelPredictiveControl` package, run this command in the Julia REPL:
8-
99
```julia
1010
using Pkg; Pkg.activate(); Pkg.add("ModelPredictiveControl")
1111
```

‎docs/src/manual/linmpc.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Pages = ["linmpc.md"]
55
```
66

7-
```@codeblocks
8-
line_counter = :continue
9-
```
10-
117
## Linear Model
128

139
The example considers a continuously stirred-tank reactor (CSTR) with a cold and hot water
@@ -51,6 +47,10 @@ the following linear model accurately describes the plant dynamics:
5147
We first need to construct a [`LinModel`](@ref) objet with [`setop!`](@ref) to handle the
5248
operating points:
5349

50+
```@codeblocks
51+
line_counter = :continue
52+
```
53+
5454
```@example 1
5555
using ModelPredictiveControl, ControlSystemsBase
5656
G = [ tf(1.90, [18, 1]) tf(1.90, [18, 1]);

‎docs/src/manual/mtk.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Pages = ["mtk.md"]
55
```
66

7-
```@codeblocks
8-
line_counter = :continue
9-
```
10-
117
```@setup 1
128
using Logging; errlogger = ConsoleLogger(stderr, Error);
139
old_logger = global_logger(); global_logger(errlogger);
@@ -28,6 +24,10 @@ the last section.
2824

2925
We first construct and instantiate the pendulum model:
3026

27+
```@codeblocks
28+
line_counter = :continue
29+
```
30+
3131
```@example 1
3232
using ModelPredictiveControl, ModelingToolkit
3333
using ModelingToolkit: D_nounits as D, t_nounits as t

‎docs/src/manual/nonlinmpc.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Pages = ["nonlinmpc.md"]
55
```
66

7-
```@codeblocks
8-
line_counter = :continue
9-
```
10-
117
## Nonlinear Model
128

139
In this example, the goal is to control the angular position ``θ`` of a pendulum
@@ -44,6 +40,10 @@ the end of the pendulum in kg, all bundled in the parameter vector ``\mathbf{p}
4440
constructor assumes by default that the state function `f` is continuous in time, that is,
4541
an ordinary differential equation system (like here):
4642

43+
```@codeblocks
44+
line_counter = :continue
45+
```
46+
4747
```@example man_nonlin
4848
using ModelPredictiveControl
4949
function f(x, u, _ , p)

0 commit comments

Comments
 (0)