Skip to content

Commit 6770488

Browse files
Merge pull request #28 from 00krishna-opensource/add_reproducibility
added reproducibility to index.md and make.jl
2 parents 2ed4893 + 75272a5 commit 6770488

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, SymbolicNumericIntegration
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 = "SymbolicNumericIntegration.jl",

docs/src/index.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,59 @@ If you use **SymbolicNumericIntegration.jl**, please cite [Symbolic-Numeric Inte
117117
url = {https://arxiv.org/abs/2201.12468v2},
118118
year = {2022},
119119
}
120+
```
121+
122+
## Reproducibility
123+
```@raw html
124+
<details><summary>The documentation of this SciML package was built using these direct dependencies,</summary>
125+
```
126+
```@example
127+
using Pkg # hide
128+
Pkg.status() # hide
129+
```
130+
```@raw html
131+
</details>
132+
```
133+
```@raw html
134+
<details><summary>and using this machine and Julia version.</summary>
135+
```
136+
```@example
137+
using InteractiveUtils # hide
138+
versioninfo() # hide
139+
```
140+
```@raw html
141+
</details>
142+
```
143+
```@raw html
144+
<details><summary>A more complete overview of all dependencies and their versions is also provided.</summary>
145+
```
146+
```@example
147+
using Pkg # hide
148+
Pkg.status(;mode = PKGMODE_MANIFEST) # hide
149+
```
150+
```@raw html
151+
</details>
152+
```
153+
```@raw html
154+
You can also download the
155+
<a href="
156+
```
157+
```@eval
158+
using TOML
159+
version = TOML.parse(read("../../Project.toml",String))["version"]
160+
name = TOML.parse(read("../../Project.toml",String))["name"]
161+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Manifest.toml"
162+
```
163+
```@raw html
164+
">manifest</a> file and the
165+
<a href="
166+
```
167+
```@eval
168+
using TOML
169+
version = TOML.parse(read("../../Project.toml",String))["version"]
170+
name = TOML.parse(read("../../Project.toml",String))["name"]
171+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Project.toml"
172+
```
173+
```@raw html
174+
">project</a> file.
120175
```

0 commit comments

Comments
 (0)