Skip to content

Commit 34c336b

Browse files
Merge pull request #2267 from ArnoStrouwen/docs1.0
docs 1.0 upgrade
2 parents 370e7ac + ce257ed commit 34c336b

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
2121
BenchmarkTools = "1.3"
2222
DifferentialEquations = "7.6"
2323
Distributions = "0.25"
24-
Documenter = "0.27, 1"
24+
Documenter = "1"
2525
ModelingToolkit = "8.33"
2626
NonlinearSolve = "0.3, 1"
2727
Optim = "1.7"

docs/make.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,8 @@ makedocs(sitename = "ModelingToolkit.jl",
2323
authors = "Chris Rackauckas",
2424
modules = [ModelingToolkit],
2525
clean = true, doctest = false, linkcheck = true,
26+
warnonly = [:docs_block, :missing_docs, :cross_references],
2627
linkcheck_ignore = ["https://epubs.siam.org/doi/10.1137/0903023"],
27-
strict = [
28-
:doctest,
29-
:linkcheck,
30-
:parse_error,
31-
:example_block,
32-
# Other available options are
33-
# :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block
34-
],
3528
format = Documenter.HTML(; analytics = "UA-90474609-3",
3629
assets = ["assets/favicon.ico"],
3730
mathengine,

docs/src/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,11 @@ You can also download the
230230

231231
```@eval
232232
using TOML
233+
using Markdown
233234
version = TOML.parse(read("../../Project.toml", String))["version"]
234235
name = TOML.parse(read("../../Project.toml", String))["name"]
235-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
236-
"/assets/Manifest.toml"
236+
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
237+
"/assets/Manifest.toml")
237238
```
238239

239240
```@raw html
@@ -243,10 +244,11 @@ link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
243244

244245
```@eval
245246
using TOML
247+
using Markdown
246248
version = TOML.parse(read("../../Project.toml", String))["version"]
247249
name = TOML.parse(read("../../Project.toml", String))["name"]
248-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
249-
"/assets/Project.toml"
250+
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
251+
"/assets/Project.toml")
250252
```
251253

252254
```@raw html

0 commit comments

Comments
 (0)