From 48ceb8d36402dbae42b3d2fe4fd06a16f989e85f Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 29 Jul 2022 10:23:56 -0700 Subject: [PATCH] Add SDK category --- docs/SDKs/_category_.json | 4 ++++ docs/SDKs/rust.mdx | 33 +++++++++++++++++++++++++++++ docs/learn/_category_.json | 2 +- docs/tutorials/_category_.json | 2 +- docs/under-the-hood/_category_.json | 2 +- 5 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 docs/SDKs/_category_.json create mode 100644 docs/SDKs/rust.mdx diff --git a/docs/SDKs/_category_.json b/docs/SDKs/_category_.json new file mode 100644 index 00000000..eba04cef --- /dev/null +++ b/docs/SDKs/_category_.json @@ -0,0 +1,4 @@ +{ + "position": 4, + "label": "SDKs" +} diff --git a/docs/SDKs/rust.mdx b/docs/SDKs/rust.mdx new file mode 100644 index 00000000..dd149042 --- /dev/null +++ b/docs/SDKs/rust.mdx @@ -0,0 +1,33 @@ +--- +sidebar_position: 1 +title: Soroban Rust SDK +--- + +The `soroban_sdk` Rust crate contains the Soroban Rust SDK. + +:::caution +The `soroban-sdk` is in early development. Report issues +[here](https://github.com/stellar/soroban-sdk). +::: + +## SDK Documentation + +SDK documentation is available at: +https://docs.rs/crates/soroban-sdk + +## Subscribe to Releases + +Subscribe to releases on the GitHub repository: +https://github.com/stellar/soroban-sdk + +## Add the `soroban_sdk` as a Dependency + +Add the following sections to the `Cargo.toml` to import the `soroban-sdk`. + +```toml +[features] +testutils = ["soroban-sdk/testutils"] + +[dependencies] +soroban-sdk = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "32b76650" } +``` diff --git a/docs/learn/_category_.json b/docs/learn/_category_.json index d8d13126..ed0717f9 100644 --- a/docs/learn/_category_.json +++ b/docs/learn/_category_.json @@ -1,4 +1,4 @@ { - "position": 3, + "position": 5, "label": "Learn" } diff --git a/docs/tutorials/_category_.json b/docs/tutorials/_category_.json index 8d285b20..b3213599 100644 --- a/docs/tutorials/_category_.json +++ b/docs/tutorials/_category_.json @@ -1,4 +1,4 @@ { - "position": 2, + "position": 3, "label": "Tutorials / Examples" } diff --git a/docs/under-the-hood/_category_.json b/docs/under-the-hood/_category_.json index f79a0da9..61e2bd60 100644 --- a/docs/under-the-hood/_category_.json +++ b/docs/under-the-hood/_category_.json @@ -1,4 +1,4 @@ { - "position": 8, + "position": 6, "label": "Under the Hood" }