Skip to content

Commit

Permalink
deactivate notebook generation
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Feb 6, 2024
1 parent 345c01d commit 6afb59f
Show file tree
Hide file tree
Showing 20 changed files with 5 additions and 21 deletions.
6 changes: 5 additions & 1 deletion docs/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ for model in MODELS
# for the local build, one needs to set `nbviewer_root_url`
Literate.markdown(input, target_dir_md; postprocess=mdpost, credit=false, nbviewer_root_url="..")
end
Literate.notebook(input, target_dir_md; execute=true, credit=false)

# notebooks are deactivated to speed up the generation
# Literate.notebook(input, target_dir_md; execute=true, credit=false)
# if used, add the following to the top of the script files (where `MODELNAME` is the model name):
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/MODELNAME.ipynb)
elseif any(endswith.(file, [".jld2", ".png"]))
# ignore *.jld2 and *.png files without warning
else
Expand Down
1 change: 0 additions & 1 deletion examples/Brusselator/Brusselator.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Brusselator
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Brusselator.ipynb)
#
#md # !!! note "Overview"
#md # System type: polynomial continuous system\
Expand Down
1 change: 0 additions & 1 deletion examples/Building/Building.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Building
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Building.ipynb)
#
#md # !!! note "Overview"
#md # System type: Affine system\
Expand Down
1 change: 0 additions & 1 deletion examples/DuffingOscillator/DuffingOscillator.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Duffing Oscillator
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/DuffingOscillator.ipynb)
#
#md # !!! note "Overview"
#md # System type: nonlinear\
Expand Down
1 change: 0 additions & 1 deletion examples/EMBrake/EMBrake.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Electromechanic break
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/EMBrake.ipynb)
#
#md # !!! note "Overview"
#md # System type: Affine system\
Expand Down
1 change: 0 additions & 1 deletion examples/Heat3D/Heat3D.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Heat PDE
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Heat3D.ipynb)
#
#md # !!! note "Overview"
#md # System type: Affine system\
Expand Down
1 change: 0 additions & 1 deletion examples/ISS/ISS.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Structural Model
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/ISS.ipynb)
#
#md # !!! note "Overview"
#md # System type: linear time-invariant continuous system\
Expand Down
1 change: 0 additions & 1 deletion examples/LaubLoomis/LaubLoomis.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Laub-Loomis
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/LaubLoomis.ipynb)
#
#md # !!! note "Overview"
#md # System type: polynomial with quadratic nonlinearities\
Expand Down
1 change: 0 additions & 1 deletion examples/Lorenz/Lorenz.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Lorenz equations
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Lorenz.ipynb)
#
#md # !!! note "Overview"
#md # System type: Continuous blackbox system\
Expand Down
1 change: 0 additions & 1 deletion examples/LotkaVolterra/LotkaVolterra.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Lotka-Volterra
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/LotkaVolterra.ipynb)
#
#md # !!! note "Overview"
#md # System type: Nonlinear system\
Expand Down
1 change: 0 additions & 1 deletion examples/LotkaVolterraTangential/LotkaVolterraTangential
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Lotka-Voltera with Nonlinear Guard
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/LotkaVolterraGuard.ipynb)
#
#md # !!! note "Overview"
#md # System type: hybrid system with nonlinear guard\
Expand Down
1 change: 0 additions & 1 deletion examples/OpAmp/OpAmp.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Amplifier circuit
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/OpAmp.ipynb)
#
#md # !!! note "Overview"
#md # System type: linear continuous system with piecewise-linear input\
Expand Down
1 change: 0 additions & 1 deletion examples/Platoon/Platoon.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Vehicle Platoon Model
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Platoon.ipynb)
#
#md # !!! note "Overview"
#md # System type: affine with hybrid dynamics\
Expand Down
1 change: 0 additions & 1 deletion examples/ProductionDestruction/ProductionDestruction.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Production-Destruction
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/ProductionDestruction.ipynb)
#
#md # !!! note "Overview"
#md # System type: rational function\
Expand Down
1 change: 0 additions & 1 deletion examples/Quadrotor/Quadrotor.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Quadrotor
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Quadrotor.ipynb)
#
#md # !!! note "Overview"
#md # System type: polynomial continuous system\
Expand Down
1 change: 0 additions & 1 deletion examples/SEIR/SEIR.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # SEIR
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/SEIR.ipynb)
#
#md # !!! note "Overview"
#md # System type: Nonlinear system\
Expand Down
1 change: 0 additions & 1 deletion examples/Spacecraft/Spacecraft.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Spacecraft
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/Spacecraft.ipynb)
#
#md # !!! note "Overview"
#md # System type: hybrid system with nonlinear dynamics\
Expand Down
1 change: 0 additions & 1 deletion examples/SquareWaveOscillator/SquareWaveOscillator.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Square Wave Oscillator
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/SquareWaveOscillator.ipynb)
#
#md # !!! note "Overview"
#md # System type: linear hybrid\
Expand Down
2 changes: 0 additions & 2 deletions examples/TransmissionLine/TransmissionLine.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# # Transmission line circuit
#
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/TransmissionLine.ipynb)
#
#md # !!! note "Overview"
#md # System type: linear continuous system\
#md # State dimension: parametric, typically between 4 to 40\
Expand Down
1 change: 0 additions & 1 deletion examples/VanDerPol/VanDerPol.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# # Van der Pol oscillator
#md # [![](https://img.shields.io/badge/show-nbviewer-579ACA.svg)](@__NBVIEWER_ROOT_URL__/generated_examples/VanDerPol.ipynb)
#
#md # !!! note "Overview"
#md # System type: polynomial continuous system\
Expand Down

0 comments on commit 6afb59f

Please sign in to comment.