Skip to content

Commit 1aa4806

Browse files
Merge pull request #2280 from ArnoStrouwen/repro
upgrade reproducibility Documenter 1.0
2 parents e9fa108 + db1bda4 commit 1aa4806

File tree

2 files changed

+11
-26
lines changed

2 files changed

+11
-26
lines changed

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ makedocs(sitename = "ModelingToolkit.jl",
2525
clean = true, doctest = false, linkcheck = true,
2626
warnonly = [:docs_block, :missing_docs, :cross_references],
2727
linkcheck_ignore = ["https://epubs.siam.org/doi/10.1137/0903023"],
28-
format = Documenter.HTML(; analytics = "UA-90474609-3",
28+
format = Documenter.HTML(;
2929
assets = ["assets/favicon.ico"],
3030
mathengine,
3131
canonical = "https://docs.sciml.ai/ModelingToolkit/stable/",

docs/src/index.md

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -223,34 +223,19 @@ Pkg.status(; mode = PKGMODE_MANIFEST) # hide
223223
</details>
224224
```
225225

226-
```@raw html
227-
You can also download the
228-
<a href="
229-
```
230-
231-
```@eval
232-
using TOML
233-
using Markdown
234-
version = TOML.parse(read("../../Project.toml", String))["version"]
235-
name = TOML.parse(read("../../Project.toml", String))["name"]
236-
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
237-
"/assets/Manifest.toml")
238-
```
239-
240-
```@raw html
241-
">manifest</a> file and the
242-
<a href="
243-
```
244-
245226
```@eval
246227
using TOML
247228
using Markdown
248229
version = TOML.parse(read("../../Project.toml", String))["version"]
249230
name = TOML.parse(read("../../Project.toml", String))["name"]
250-
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
251-
"/assets/Project.toml")
252-
```
253-
254-
```@raw html
255-
">project</a> file.
231+
link_manifest = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
232+
"/assets/Manifest.toml"
233+
link_project = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
234+
"/assets/Project.toml"
235+
Markdown.parse("""You can also download the
236+
[manifest]($link_manifest)
237+
file and the
238+
[project]($link_project)
239+
file.
240+
""")
256241
```

0 commit comments

Comments
 (0)