Skip to content

Commit 0ac9088

Browse files
Merge pull request #119 from 00krishna-opensource/add_reproducibility
added reproducibility to index.md and make.jl
2 parents d56999b + ab095af commit 0ac9088

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, SciMLOperators
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(

docs/src/index.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,58 @@ of these properties, hence the `AbstractSciMLOperator` interface.
3939
- [JuliaDiffEq](https://gitter.im/JuliaDiffEq/Lobby) on Gitter
4040
- On the Julia Discourse forums (look for the [modelingtoolkit tag](https://discourse.julialang.org/tag/modelingtoolkit)
4141
- See also [SciML Community page](https://sciml.ai/community/)
42+
43+
## Reproducibility
44+
```@raw html
45+
<details><summary>The documentation of this SciML package was built using these direct dependencies,</summary>
46+
```
47+
```@example
48+
using Pkg # hide
49+
Pkg.status() # hide
50+
```
51+
```@raw html
52+
</details>
53+
```
54+
```@raw html
55+
<details><summary>and using this machine and Julia version.</summary>
56+
```
57+
```@example
58+
using InteractiveUtils # hide
59+
versioninfo() # hide
60+
```
61+
```@raw html
62+
</details>
63+
```
64+
```@raw html
65+
<details><summary>A more complete overview of all dependencies and their versions is also provided.</summary>
66+
```
67+
```@example
68+
using Pkg # hide
69+
Pkg.status(;mode = PKGMODE_MANIFEST) # hide
70+
```
71+
```@raw html
72+
</details>
73+
```
74+
```@raw html
75+
You can also download the
76+
<a href="
77+
```
78+
```@eval
79+
using TOML
80+
version = TOML.parse(read("../../Project.toml",String))["version"]
81+
name = TOML.parse(read("../../Project.toml",String))["name"]
82+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Manifest.toml"
83+
```
84+
```@raw html
85+
">manifest</a> file and the
86+
<a href="
87+
```
88+
```@eval
89+
using TOML
90+
version = TOML.parse(read("../../Project.toml",String))["version"]
91+
name = TOML.parse(read("../../Project.toml",String))["name"]
92+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Project.toml"
93+
```
94+
```@raw html
95+
">project</a> file.
96+
```

0 commit comments

Comments
 (0)