Skip to content

Commit 60a8b8e

Browse files
Merge pull request #777 from 00krishna-opensource/add_reproducibility
added reproducibility to index.md and make.jl
2 parents e4e6597 + 23cceca commit 60a8b8e

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

docs/make.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
using Documenter, DiffEqFlux
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
ENV["GKSwstype"] = "100"
47
using Plots
58
ENV["DATADEPS_ALWAYS_ACCEPT"] = true

docs/src/index.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,58 @@ If you use DiffEqFlux.jl or are influenced by its ideas, please cite:
5555
year={2020}
5656
}
5757
```
58+
59+
## Reproducibility
60+
```@raw html
61+
<details><summary>The documentation of this SciML package was built using these direct dependencies,</summary>
62+
```
63+
```@example
64+
using Pkg # hide
65+
Pkg.status() # hide
66+
```
67+
```@raw html
68+
</details>
69+
```
70+
```@raw html
71+
<details><summary>and using this machine and Julia version.</summary>
72+
```
73+
```@example
74+
using InteractiveUtils # hide
75+
versioninfo() # hide
76+
```
77+
```@raw html
78+
</details>
79+
```
80+
```@raw html
81+
<details><summary>A more complete overview of all dependencies and their versions is also provided.</summary>
82+
```
83+
```@example
84+
using Pkg # hide
85+
Pkg.status(;mode = PKGMODE_MANIFEST) # hide
86+
```
87+
```@raw html
88+
</details>
89+
```
90+
```@raw html
91+
You can also download the
92+
<a href="
93+
```
94+
```@eval
95+
using TOML
96+
version = TOML.parse(read("../../Project.toml",String))["version"]
97+
name = TOML.parse(read("../../Project.toml",String))["name"]
98+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Manifest.toml"
99+
```
100+
```@raw html
101+
">manifest</a> file and the
102+
<a href="
103+
```
104+
```@eval
105+
using TOML
106+
version = TOML.parse(read("../../Project.toml",String))["version"]
107+
name = TOML.parse(read("../../Project.toml",String))["name"]
108+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Project.toml"
109+
```
110+
```@raw html
111+
">project</a> file.
112+
```

0 commit comments

Comments
 (0)