Skip to content

Commit ba71cfe

Browse files
committed
download manifest, project for stable releases
1 parent 1a5d057 commit ba71cfe

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

docs/make.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
using LinearSolve
22
using Documenter
33

4+
cp("./Manifest.toml", "./src/assets/Manifest.toml", force = true)
5+
cp("./Project.toml", "./src/assets/Project.toml", force = true)
6+
47
DocMeta.setdocmeta!(LinearSolve, :DocTestSetup, :(using LinearSolve); recursive = true)
58

69
include("pages.jl")

docs/src/index.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Pre-defined preconditioners would be a welcome addition.
4343

4444
## Reproducibility
4545
```@raw html
46-
<details><summary>The documentation of this SciML package was build using these direct dependencies</summary>
46+
<details><summary>The documentation of this SciML package was build using these direct dependencies,</summary>
4747
```
4848
```@example
4949
using Pkg # hide
@@ -53,7 +53,7 @@ Pkg.status() # hide
5353
</details>
5454
```
5555
```@raw html
56-
<details><summary>and using this machine and Julia version:</summary>
56+
<details><summary>and using this machine and Julia version.</summary>
5757
```
5858
```@example
5959
using InteractiveUtils # hide
@@ -63,7 +63,7 @@ versioninfo() # hide
6363
</details>
6464
```
6565
```@raw html
66-
<details><summary>A more complete overview of all dependencies and their versions is also provided:</summary>
66+
<details><summary>A more complete overview of all dependencies and their versions is also provided.</summary>
6767
```
6868
```@example
6969
using Pkg # hide
@@ -72,3 +72,26 @@ Pkg.status(;mode = PKGMODE_MANIFEST) # hide
7272
```@raw html
7373
</details>
7474
```
75+
```@raw html
76+
You can also download the
77+
<a href="
78+
```
79+
```@eval
80+
using TOML
81+
version = TOML.parse(read("../../Project.toml",String))["version"]
82+
name = TOML.parse(read("../../Project.toml",String))["name"]
83+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Manifest.toml"
84+
```
85+
```@raw html
86+
">manifest</a> file and the
87+
<a href="
88+
```
89+
```@eval
90+
using TOML
91+
version = TOML.parse(read("../../Project.toml",String))["version"]
92+
name = TOML.parse(read("../../Project.toml",String))["name"]
93+
link = "https://github.com/SciML/"*name*".jl/tree/gh-pages/v"*version*"/assets/Project.toml"
94+
```
95+
```@raw html
96+
">project</a> file.
97+
```

0 commit comments

Comments
 (0)