Skip to content

Commit 1f39fdb

Browse files
authored
Merge pull request #165 from sandialabs/fix-julia-pages-index
add install option
2 parents cbe2a8d + 9646d95 commit 1f39fdb

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/src/index.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,25 @@
22

33
[![docs (stable)](https://raw.githubusercontent.com/sandialabs/Polymers/main/pages/assets/images/julia-docs-stable.svg)](https://sandialabs.github.io/Polymers/julia/docs/stable)
44
[![docs (latest)](https://raw.githubusercontent.com/sandialabs/Polymers/main/pages/assets/images/julia-docs-latest.svg)](https://sandialabs.github.io/Polymers/julia/docs/latest)
5-
[![Pkg](https://img.shields.io/github/v/release/sandialabs/Polymers?color=cb3c33&label=Pkg&logo=Julia&logoColor=cb3c33)](#)
65

76
This is the documentation for Julia API, which calls the Rust library.
87

98
## Installation
109

11-
The latest edition of the library can be installed as a Julia package:
10+
[![Pkg](https://img.shields.io/github/v/release/sandialabs/Polymers?color=cb3c33&label=Pkg&logo=Julia&logoColor=cb3c33)](#)
11+
12+
The library can be installed as a Julia package:
13+
14+
```julia
15+
using Pkg
16+
Pkg.add("Polymers")
17+
```
18+
19+
If Rust is installed, the latest edition of the library can be installed from the GitHub repository:
1220

1321
```julia
1422
using Pkg
1523
Pkg.add(url="https://github.com/sandialabs/Polymers")
16-
Pkg.build("Polymers")
1724
```
1825

1926
## Citation

0 commit comments

Comments
 (0)