Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 01c38a5

Browse files
Merge pull request #533 from ArnoStrouwen/repro
reproducible docs
2 parents d5897e4 + acb00ce commit 01c38a5

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

docs/make.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
using Documenter, DiffEqOperators
22

3+
cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml", force = true)
4+
cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
5+
36
include("pages.jl")
47

58
makedocs(sitename = "DiffEqOperators.jl",

docs/src/index.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,58 @@ convolution routine from `NNlib.jl`. Care is taken to give efficiency by avoidin
3434
unnecessary allocations, using purpose-built stencil compilers, allowing GPUs
3535
and parallelism, etc. Any operator can be concretized as an `Array`, a
3636
`BandedMatrix` or a sparse matrix.
37+
38+
## Reproducibility
39+
```@raw html
40+
<details><summary>The documentation of this SciML package was built using these direct dependencies,</summary>
41+
```
42+
```@example
43+
using Pkg # hide
44+
Pkg.status() # hide
45+
```
46+
```@raw html
47+
</details>
48+
```
49+
```@raw html
50+
<details><summary>and using this machine and Julia version.</summary>
51+
```
52+
```@example
53+
using InteractiveUtils # hide
54+
versioninfo() # hide
55+
```
56+
```@raw html
57+
</details>
58+
```
59+
```@raw html
60+
<details><summary>A more complete overview of all dependencies and their versions is also provided.</summary>
61+
```
62+
```@example
63+
using Pkg # hide
64+
Pkg.status(;mode = PKGMODE_MANIFEST) # hide
65+
```
66+
```@raw html
67+
</details>
68+
```
69+
```@raw html
70+
You can also download the
71+
<a href="
72+
```
73+
```@eval
74+
using TOML
75+
version = TOML.parse(read("../../Project.toml",String))["version"]
76+
name = TOML.parse(read("../../Project.toml",String))["name"]
77+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Manifest.toml"
78+
```
79+
```@raw html
80+
">manifest</a> file and the
81+
<a href="
82+
```
83+
```@eval
84+
using TOML
85+
version = TOML.parse(read("../../Project.toml",String))["version"]
86+
name = TOML.parse(read("../../Project.toml",String))["name"]
87+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Project.toml"
88+
```
89+
```@raw html
90+
">project</a> file.
91+
```

0 commit comments

Comments
 (0)