Skip to content

Commit f317b06

Browse files
Merge pull request #137 from ArnoStrouwen/docs1.0
docs 1.0 upgrade
2 parents 0ea16c6 + cd0f2b8 commit f317b06

File tree

5 files changed

+12
-16
lines changed

5 files changed

+12
-16
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
ExponentialUtilities = "d4d017d3-3776-5f7e-afef-a10c40355c18"
44

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

docs/make.jl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ makedocs(sitename = "ExponentialUtilities.jl",
99
authors = "Chris Rackauckas",
1010
modules = [ExponentialUtilities],
1111
clean = true, doctest = false, linkcheck = true,
12-
strict = [
13-
:doctest,
14-
:linkcheck,
15-
:parse_error,
16-
:example_block,
17-
:cross_references,
18-
# Other available options are
19-
# :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block
20-
],
12+
warnonly = [:missing_docs, :docs_block],
2113
format = Documenter.HTML(analytics = "UA-90474609-3",
2214
assets = ["assets/favicon.ico"],
2315
canonical = "https://docs.sciml.ai/ExponentialUtilities/stable/"),

docs/src/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,11 @@ You can also download the
112112

113113
```@eval
114114
using TOML
115+
using Markdown
115116
version = TOML.parse(read("../../Project.toml", String))["version"]
116117
name = TOML.parse(read("../../Project.toml", String))["name"]
117-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
118-
"/assets/Manifest.toml"
118+
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
119+
"/assets/Manifest.toml")
119120
```
120121

121122
```@raw html
@@ -125,10 +126,11 @@ link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
125126

126127
```@eval
127128
using TOML
129+
using Markdown
128130
version = TOML.parse(read("../../Project.toml", String))["version"]
129131
name = TOML.parse(read("../../Project.toml", String))["name"]
130-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
131-
"/assets/Project.toml"
132+
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
133+
"/assets/Project.toml")
132134
```
133135

134136
```@raw html

src/exp.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ end
1313
@deprecate _exp! exponential!
1414
@deprecate exp_generic exponential!
1515
exponential!(A) = exponential!(A, ExpMethodHigham2005(A));
16-
exponential!(A::GPUArraysCore.AbstractGPUArray) = exponential!(A, ExpMethodHigham2005(false));
16+
function exponential!(A::GPUArraysCore.AbstractGPUArray)
17+
exponential!(A, ExpMethodHigham2005(false))
18+
end;
1719

1820
## The diagonalization based
1921
"""

test/gpu/gputests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ end
2626
A_d = cu(A)
2727

2828
exponential!(copy(A_d)) # Make sure simple command works
29-
29+
3030
# Iterate over GPU-compatible methods
3131
for m in (ExpMethodHigham2005(false),)
3232
@testset "GPU Exponential, $(string(m))" begin

0 commit comments

Comments
 (0)