Skip to content

Commit 55ba281

Browse files
committed
Documenter 1.0 upgrade
1 parent b9b18ed commit 55ba281

File tree

5 files changed

+20
-35
lines changed

5 files changed

+20
-35
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ on:
33
pull_request:
44
branches:
55
- master
6+
paths-ignore:
7+
- 'docs/**'
68
push:
79
branches:
810
- master
11+
paths-ignore:
12+
- 'docs/**'
913
jobs:
1014
test:
1115
runs-on: ubuntu-latest

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
1212

1313
[compat]
1414
BenchmarkTools = "1"
15-
Documenter = "0.27"
15+
Documenter = "1"
1616
LinearSolve = "2"
1717
NonlinearSolve = "1, 2"
1818
NonlinearSolveMINPACK = "0.1"

docs/make.jl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ makedocs(sitename = "NonlinearSolve.jl",
1111
modules = [NonlinearSolve, NonlinearSolve.SciMLBase, NonlinearSolve.DiffEqBase,
1212
SimpleNonlinearSolve, Sundials, SciMLNLSolve, NonlinearSolveMINPACK,
1313
SteadyStateDiffEq],
14-
clean = true, doctest = false,
15-
strict = [
16-
:doctest,
17-
:linkcheck,
18-
:parse_error,
19-
:example_block,
20-
# Other available options are
21-
# :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block
22-
],
14+
clean = true, doctest = false, linkcheck = true,
15+
linkcheck_ignore = ["https://twitter.com/ChrisRackauckas/status/1544743542094020615"],
16+
warnonly = [:missing_docs, :cross_references],
2317
format = Documenter.HTML(assets = ["assets/favicon.ico"],
2418
canonical = "https://docs.sciml.ai/NonlinearSolve/stable/"),
2519
pages = pages)

docs/src/basics/TerminationCondition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Termination Conditions
22

3-
Provides a API to specify termination conditions for [`NonLinearProblem`](@ref) and
3+
Provides a API to specify termination conditions for [`NonlinearProblem`](@ref) and
44
[`SteadyStateProblem`](@ref). For details on the various termination modes, i.e.,
55
NLSolveTerminationMode, see the documentation for [`NLSolveTerminationCondition`](@ref).
66

docs/src/index.md

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -82,32 +82,19 @@ Pkg.status(; mode = PKGMODE_MANIFEST) # hide
8282
</details>
8383
```
8484

85-
```@raw html
86-
You can also download the
87-
<a href="
88-
```
89-
9085
```@eval
9186
using TOML
87+
using Markdown
9288
version = TOML.parse(read("../../Project.toml", String))["version"]
9389
name = TOML.parse(read("../../Project.toml", String))["name"]
94-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
95-
"/assets/Manifest.toml"
96-
```
97-
98-
```@raw html
99-
">manifest</a> file and the
100-
<a href="
101-
```
102-
103-
```@eval
104-
using TOML
105-
version = TOML.parse(read("../../Project.toml", String))["version"]
106-
name = TOML.parse(read("../../Project.toml", String))["name"]
107-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
108-
"/assets/Project.toml"
109-
```
110-
111-
```@raw html
112-
">project</a> file.
90+
link_manifest = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
91+
"/assets/Manifest.toml"
92+
link_project = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
93+
"/assets/Project.toml"
94+
Markdown.parse("""You can also download the
95+
[manifest]($link_manifest)
96+
file and the
97+
[project]($link_project)
98+
file.
99+
""")
113100
```

0 commit comments

Comments
 (0)