diff --git a/docs/make.jl b/docs/make.jl index 2152e71..2a5fc3c 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -28,13 +28,12 @@ makedocs(; "Home" => "index.md", "Tutorials" => [ "Getting started with Sampled-Data Systems" => "tutorials/SampledData.md", - "Noise" => "tutorials/noise.md", + "Noise and measurement corruption" => "tutorials/noise.md", ], "Examples" => [ "Controlled DC motor" => "examples/dc_motor_pi.md", ], - "Block library" => "blocks.md", - "Functions" => "api.md", + "Library API" => "blocks.md", ], ) diff --git a/docs/src/api.md b/docs/src/api.md deleted file mode 100644 index c1467f7..0000000 --- a/docs/src/api.md +++ /dev/null @@ -1,13 +0,0 @@ -# API - -## Index -```@index -``` - -## Docstrings - -```@docs -ModelingToolkit.Sample -ModelingToolkit.Hold -ModelingToolkit.ShiftIndex -``` \ No newline at end of file diff --git a/docs/src/blocks.md b/docs/src/blocks.md index be2692a..0a55b2c 100644 --- a/docs/src/blocks.md +++ b/docs/src/blocks.md @@ -4,6 +4,27 @@ ```@index ``` +## Basic blocks +- [`Delay`](@ref) +- [`Difference`](@ref) +- [`DiscreteDerivative`](@ref) +- [`DiscreteIntegrator`](@ref) +- [`Sampler`](@ref) +- [`ZeroOrderHold`](@ref) + +## Noise and measurement corruption +- [`NormalNoise`](@ref) +- [`Quantization`](@ref) +- [`UniformNoise`](@ref) + +## Controllers +- [`DiscretePIDParallel`](@ref) +- [`DiscretePIDStandard`](@ref) + +## Discrete-time filters +- [`ExponentialFilter`](@ref) + + ## Docstrings ```@autodocs