Skip to content

Commit ce257ed

Browse files
committed
upgrade keywords makedocs
1 parent c43f6c7 commit ce257ed

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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"],
2728
format = Documenter.HTML(; analytics = "UA-90474609-3",
2829
assets = ["assets/favicon.ico"],

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)