Skip to content

Commit 30819c3

Browse files
Merge pull request #113 from ArnoStrouwen/docs1
Documenter 1.0 upgrade
2 parents 9ef56e0 + b600e98 commit 30819c3

File tree

5 files changed

+25
-40
lines changed

5 files changed

+25
-40
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ ParameterizedFunctions = "65888b18-ceab-5e60-b2b9-181511a3b968"
33
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
44

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

docs/make.jl

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

docs/src/index.md

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,15 @@ L"\begin{align}
7272
[SciML ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://github.com/SciML/ColPrac/blob/master/README.md)
7373
for guidance on PRs, issues, and other matters relating to contributing to SciML.
7474

75+
- See the [SciML Style Guide](https://github.com/SciML/SciMLStyle) for common coding practices and other style decisions.
7576
- There are a few community forums:
7677

77-
+ the #diffeq-bridged channel in the [Julia Slack](https://julialang.org/slack/)
78-
+ [JuliaDiffEq](https://gitter.im/JuliaDiffEq/Lobby) on Gitter
79-
+ on the [Julia Discourse forums](https://discourse.julialang.org)
80-
+ see also [SciML Community page](https://sciml.ai/community/)
78+
+ The #diffeq-bridged and #sciml-bridged channels in the
79+
[Julia Slack](https://julialang.org/slack/)
80+
+ The #diffeq-bridged and #sciml-bridged channels in the
81+
[Julia Zulip](https://julialang.zulipchat.com/#narrow/stream/279055-sciml-bridged)
82+
+ On the [Julia Discourse forums](https://discourse.julialang.org)
83+
+ See also [SciML Community page](https://sciml.ai/community/)
8184

8285
## Reproducibility
8386

@@ -120,32 +123,19 @@ Pkg.status(; mode = PKGMODE_MANIFEST) # hide
120123
</details>
121124
```
122125

123-
```@raw html
124-
You can also download the
125-
<a href="
126-
```
127-
128126
```@eval
129127
using TOML
128+
using Markdown
130129
version = TOML.parse(read("../../Project.toml", String))["version"]
131130
name = TOML.parse(read("../../Project.toml", String))["name"]
132-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
133-
"/assets/Manifest.toml"
134-
```
135-
136-
```@raw html
137-
">manifest</a> file and the
138-
<a href="
139-
```
140-
141-
```@eval
142-
using TOML
143-
version = TOML.parse(read("../../Project.toml", String))["version"]
144-
name = TOML.parse(read("../../Project.toml", String))["name"]
145-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
146-
"/assets/Project.toml"
147-
```
148-
149-
```@raw html
150-
">project</a> file.
131+
link_manifest = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
132+
"/assets/Manifest.toml"
133+
link_project = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
134+
"/assets/Project.toml"
135+
Markdown.parse("""You can also download the
136+
[manifest]($link_manifest)
137+
file and the
138+
[project]($link_project)
139+
file.
140+
""")
151141
```

docs/src/ode_def.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ ParameterizedFunctions.@ode_def_all
1010

1111
```@docs
1212
ParameterizedFunctions.ode_def_opts
13+
ParameterizedFunctions.ParameterizedFunctions
1314
```

0 commit comments

Comments
 (0)