Skip to content

Commit 42ae452

Browse files
committed
Use Documenter.jl v1 for docs/
1 parent 9d2d9a7 commit 42ae452

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
44

55
[compat]
6-
Documenter = "0.27"
6+
Documenter = "1"

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ open(joinpath(@__DIR__, "src", "index.md"), "w") do io
2323
for line in eachline(joinpath(dirname(@__DIR__), "README.md"))
2424
println(io, line)
2525
end
26-
26+
2727
for line in eachline(joinpath(@__DIR__, "src", "reproducibility.md"))
2828
println(io, line)
2929
end
@@ -38,6 +38,7 @@ makedocs(sitename="FiniteDiff.jl",
3838
doctest=false,
3939
format=Documenter.HTML(assets=["assets/favicon.ico"],
4040
canonical="https://docs.sciml.ai/FiniteDiff/stable/"),
41+
warnonly=[:missing_docs],
4142
pages=pages)
4243

4344
deploydocs(repo="github.com/JuliaDiff/FiniteDiff.jl.git"; push_preview=true)

docs/src/assets/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
44

55
[compat]
6-
Documenter = "0.27"
6+
Documenter = "1"

docs/src/reproducibility.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,22 @@ You can also download the
3535
<a href="
3636
```
3737
```@eval
38-
using TOML
38+
using TOML, Markdown
3939
version = TOML.parse(read("../../Project.toml",String))["version"]
4040
name = TOML.parse(read("../../Project.toml",String))["name"]
4141
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Manifest.toml"
42+
Markdown.MD(link)
4243
```
4344
```@raw html
4445
">manifest</a> file and the
4546
<a href="
4647
```
4748
```@eval
48-
using TOML
49+
using TOML, Markdown
4950
version = TOML.parse(read("../../Project.toml",String))["version"]
5051
name = TOML.parse(read("../../Project.toml",String))["name"]
5152
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Project.toml"
53+
Markdown.MD(link)
5254
```
5355
```@raw html
5456
">project</a> file.

0 commit comments

Comments
 (0)