Skip to content

Commit 30cdb93

Browse files
Merge pull request #99 from ArnoStrouwen/docs1
Documenter 1.0 upgrade
2 parents 33e5704 + c99e132 commit 30cdb93

File tree

5 files changed

+27
-52
lines changed

5 files changed

+27
-52
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
- main
6+
paths-ignore:
7+
- 'docs/**'
68
push:
79
branches:
810
- main
11+
paths-ignore:
12+
- 'docs/**'
913
concurrency:
1014
# Skip intermediate builds: always.
1115
# Cancel intermediate builds: only if it is a pull request build.

docs/Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[deps]
2+
DeepEquilibriumNetworks = "6748aba7-0e9b-415e-a410-ae3cc0ecb334"
23
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
34
DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244"
45

56
[compat]
6-
Documenter = "0.27, 1"
7+
Documenter = "1"
78
DocumenterCitations = "0.2, 1"

docs/make.jl

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,14 @@ bib = CitationBibliography(joinpath(@__DIR__, "ref.bib"); style=:authoryear)
77

88
include("pages.jl")
99

10-
makedocs(bib;
10+
makedocs(;
1111
sitename="Fast Deep Equilibrium Networks",
1212
authors="Avik Pal et al.",
13-
clean=true,
14-
doctest=false,
1513
modules=[DeepEquilibriumNetworks],
16-
strict=[
17-
:doctest,
18-
:linkcheck,
19-
:parse_error,
20-
:example_block,
21-
# Other available options are
22-
# :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block,
23-
# :footnote, :meta_block, :missing_docs, :setup_block
24-
],
25-
checkdocs=:all,
26-
format=Documenter.HTML(;
27-
assets=["assets/favicon.ico"],
14+
clean=true, doctest=false, linkcheck = true,
15+
format=Documenter.HTML(;assets=["assets/favicon.ico"],
2816
canonical="https://docs.sciml.ai/DeepEquilibriumNetworks/stable/"),
17+
plugins = [bib],
2918
pages)
3019

3120
deploydocs(; repo="github.com/SciML/DeepEquilibriumNetworks.jl.git", push_preview=true)

docs/ref.bib

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@article{pal2022mixing,
2-
title={Mixing Implicit and Explicit Deep Learning with Skip DEQs and Infinite Time Neural ODEs (Continuous DEQs)},
3-
author={Avik Pal and Alan Edelman and Christopher Rackauckas},
4-
year={2022},
5-
eprint={2201.12240},
6-
archivePrefix={arXiv},
7-
primaryClass={cs.LG}
2+
title={Mixing implicit and explicit deep learning with skip DEQs and infinite time neural odes (continuous DEQs)},
3+
author={Pal, Avik and Edelman, Alan and Rackauckas, Christopher},
4+
journal={Training},
5+
volume={4},
6+
pages={5},
7+
year={2022}
88
}
99

1010
@article{baideep2019,

docs/src/index.md

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -120,38 +120,19 @@ Pkg.status(; mode=PKGMODE_MANIFEST) # hide
120120
</details>
121121
```
122122

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

0 commit comments

Comments
 (0)