Skip to content

Commit

Permalink
Merge pull request #2267 from ArnoStrouwen/docs1.0
Browse files Browse the repository at this point in the history
docs 1.0 upgrade
  • Loading branch information
ChrisRackauckas authored Sep 17, 2023
2 parents 370e7ac + ce257ed commit 34c336b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
BenchmarkTools = "1.3"
DifferentialEquations = "7.6"
Distributions = "0.25"
Documenter = "0.27, 1"
Documenter = "1"
ModelingToolkit = "8.33"
NonlinearSolve = "0.3, 1"
Optim = "1.7"
Expand Down
9 changes: 1 addition & 8 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,8 @@ makedocs(sitename = "ModelingToolkit.jl",
authors = "Chris Rackauckas",
modules = [ModelingToolkit],
clean = true, doctest = false, linkcheck = true,
warnonly = [:docs_block, :missing_docs, :cross_references],
linkcheck_ignore = ["https://epubs.siam.org/doi/10.1137/0903023"],
strict = [
:doctest,
:linkcheck,
:parse_error,
:example_block,
# Other available options are
# :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block
],
format = Documenter.HTML(; analytics = "UA-90474609-3",
assets = ["assets/favicon.ico"],
mathengine,
Expand Down
10 changes: 6 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,11 @@ You can also download the

```@eval
using TOML
using Markdown
version = TOML.parse(read("../../Project.toml", String))["version"]
name = TOML.parse(read("../../Project.toml", String))["name"]
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Manifest.toml"
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Manifest.toml")
```

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

```@eval
using TOML
using Markdown
version = TOML.parse(read("../../Project.toml", String))["version"]
name = TOML.parse(read("../../Project.toml", String))["name"]
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Project.toml"
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Project.toml")
```

```@raw html
Expand Down

0 comments on commit 34c336b

Please sign in to comment.