consolidated .docs

This commit is contained in:
Conner Gallagher 2023-05-09 22:26:40 -06:00
parent 97119de4b5
commit 9e5523c79d
11 changed files with 39 additions and 53 deletions

View File

@ -1,9 +1,11 @@
libraries:
clients:
- name: "switchboard-v2"
slug: "./"
description: "A Rust library to interact with Switchboard V2 accounts on Solana."
language: "rust"
path: "rust/switchboard-v2"
- name: "@switchboard-xyz/solana.js"
slug: "./"
description: "A Typescript client to interact with Switchboard on Solana."
language: "javascript"
path: "javascript/solana.js"

View File

@ -0,0 +1,36 @@
<div align="center">
<a href="#">
<img src="https://github.com/switchboard-xyz/sbv2-core/raw/main/website/static/img/icons/switchboard/avatar.png" />
</a>
<h1>switchboard-v2</h1>
<p>A Rust library to interact with Switchboard accounts on Solana.</p>
<p>
<a href="https://crates.io/crates/switchboard-v2">
<img alt="Crates.io" src="https://img.shields.io/crates/v/switchboard-v2?label=switchboard-v2&logo=rust" />
</a>
</p>
</div>
## Install
Run the following Cargo command in your project directory:
```bash
cargo add switchboard-v2
```
Or add the following line to your Cargo.toml:
```toml
[dependencies]
switchboard-v2 = "0.1.23"
```
## Usage
<!-- usage -->
<!-- usagestop -->

View File

@ -1,52 +0,0 @@
<div align="center">
<a href="#">
<img src="https://github.com/switchboard-xyz/sbv2-core/raw/main/website/static/img/icons/switchboard/avatar.png" />
</a>
<h1>switchboard-v2</h1>
<p>A Rust library to interact with Switchboard V2 accounts on Solana.</p>
<p>
<a href="https://crates.io/crates/switchboard-v2">
<img alt="Crates.io" src="https://img.shields.io/crates/v/switchboard-v2?label=switchboard-v2&logo=rust" />
</a>
</p>
<p>
<a href="https://discord.gg/switchboardxyz">
<img alt="Discord" src="https://img.shields.io/discord/841525135311634443?color=blueviolet&logo=discord&logoColor=white" />
</a>
<a href="https://twitter.com/switchboardxyz">
<img alt="Twitter" src="https://img.shields.io/twitter/follow/switchboardxyz?label=Follow+Switchboard" />
</a>
</p>
<h4>
<strong>Typedocs: </strong><a href="https://docs.rs/switchboard-v2/latest/switchboard-v2/">docs.rs/switchboard-v2</a>
</h4>
<h4>
<strong>Sbv2 Solana SDK: </strong><a href="https://github.com/switchboard-xyz/sbv2-solana">github.com/switchboard-xyz/sbv2-solana</a>
</h4>
</div>
## Install
Run the following Cargo command in your project directory:
```bash
cargo add switchboard-v2
```
Or add the following line to your Cargo.toml:
```toml
[dependencies]
switchboard-v2 = "0.1.23"
```
## Usage
<!-- usage -->
<!-- usagestop -->