Skip to content

Commit 9e0d8e6

Browse files
authored
Add Repro Section
1 parent 599c7f5 commit 9e0d8e6

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

docs/src/index.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,61 @@ of elements in the sample.
7777

7878
Consult the [API page](https://juliadynamics.github.io/StreamSampling.jl/stable/api) for more information
7979
about the package interface.
80+
81+
## Reproducibility
82+
83+
```@raw html
84+
<details><summary>The documentation of StreamSampling.jl was built using these direct dependencies,</summary>
85+
```
86+
87+
```@example
88+
using Pkg # hide
89+
Pkg.status() # hide
90+
```
91+
92+
```@raw html
93+
</details>
94+
```
95+
96+
```@raw html
97+
<details><summary>and using this machine and Julia version.</summary>
98+
```
99+
100+
```@example
101+
using InteractiveUtils # hide
102+
versioninfo() # hide
103+
```
104+
105+
```@raw html
106+
</details>
107+
```
108+
109+
```@raw html
110+
<details><summary>A more complete overview of all dependencies and their versions is also provided.</summary>
111+
```
112+
113+
```@example
114+
using Pkg # hide
115+
Pkg.status(; mode = PKGMODE_MANIFEST) # hide
116+
```
117+
118+
```@raw html
119+
</details>
120+
```
121+
122+
```@eval
123+
using TOML
124+
using Markdown
125+
version = TOML.parse(read("../../Project.toml", String))["version"]
126+
name = TOML.parse(read("../../Project.toml", String))["name"]
127+
link_manifest = "https://github.com/StreamSampling/" * name * ".jl/tree/gh-pages/v" * version *
128+
"/assets/Manifest.toml"
129+
link_project = "https://github.com/StreamSampling/" * name * ".jl/tree/gh-pages/v" * version *
130+
"/assets/Project.toml"
131+
Markdown.parse("""You can also download the
132+
[manifest]($link_manifest)
133+
file and the
134+
[project]($link_project)
135+
file.
136+
""")
137+
```

0 commit comments

Comments
 (0)