Skip to content

Commit a3a071a

Browse files
committed
[docs] set line_counter = :named in CodeBlocks
1 parent f30c394 commit a3a071a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
77

88
[compat]
99
Documenter = "1"
10-
DocumenterCodeBlocks = "1"
10+
DocumenterCodeBlocks = "1.3"
1111
JSON = "1"
1212
JSONSchema = "1"

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Documenter.DocMeta.setdocmeta!(
170170
checkdocs = :exports,
171171
doctest = _FIX ? :fix : true,
172172
pages = _PAGES,
173-
plugins = [DocumenterCodeBlocks.CodeBlocks()],
173+
plugins = [DocumenterCodeBlocks.CodeBlocks(; line_counter = :named)],
174174
)
175175

176176
# ==============================================================================

0 commit comments

Comments
 (0)