Skip to content

Commit 34600a0

Browse files
authored
Merge pull request #428 from JuliaControl/doc_plugin
doc: trying the new `DocumenterCodeBlocks` plugin
2 parents 4573436 + 57398bc commit 34600a0

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎Project.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ModelPredictiveControl"
22
uuid = "61f9bdb8-6ae4-484a-811f-bbf86720c31c"
3-
version = "2.12.0"
3+
version = "2.12.1"
44
authors = ["Francis Gagnon"]
55

66
[deps]

‎docs/Project.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e"
33
DAQP = "c47d62df-3981-49c8-9651-128b1cd08617"
44
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
5+
DocumenterCodeBlocks = "b6400b83-267f-4b55-9fd8-bffc853bdfd8"
56
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
67
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
78
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

‎docs/make.jl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ENV["PLOTS_TEST"] = "true"
33
ENV["GKSwstype"] = "nul"
44
push!(LOAD_PATH,"../src/")
55

6-
using Documenter, DocumenterInterLinks
6+
using Documenter, DocumenterInterLinks, DocumenterCodeBlocks
77
using ModelPredictiveControl
88
import LinearMPC
99

@@ -28,7 +28,7 @@ makedocs(
2828
sitename = "ModelPredictiveControl.jl",
2929
#format = Documenter.LaTeX(platform = "none"),
3030
doctest = true,
31-
plugins = [links],
31+
plugins = [links,CodeBlocks()],
3232
format = Documenter.HTML(
3333
prettyurls = get(ENV, "CI", nothing) == "true",
3434
edit_link = "main"

0 commit comments

Comments
 (0)