diff --git a/README.md b/README.md index 9a606c2..b16dfef 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The Rust SDK provides ergonomic wrappers and utilities to interact with the -[S2 API](https://s2.dev/docs/interface/grpc-api). +[S2 API](https://s2.dev/docs/interface/grpc). ## Getting started diff --git a/src/client.rs b/src/client.rs index 3965b0e..c17a67d 100644 --- a/src/client.rs +++ b/src/client.rs @@ -26,9 +26,9 @@ //! from the basin endpoint creating a new connection each time the request is //! sent. See [`S2Endpoints`]. //! -//! [AccountService]: https://s2.dev/docs/interface/grpc-api#accountservice -//! [BasinService]: https://s2.dev/docs/interface/grpc-api#basinservice -//! [StreamService]: https://s2.dev/docs/interface/grpc-api#streamservice +//! [AccountService]: https://s2.dev/docs/interface/grpc#accountservice +//! [BasinService]: https://s2.dev/docs/interface/grpc#basinservice +//! [StreamService]: https://s2.dev/docs/interface/grpc#streamservice //! [s2.dev]: https://s2.dev/dashboard use std::{env::VarError, fmt::Display, str::FromStr, time::Duration}; @@ -122,6 +122,10 @@ pub enum BasinEndpoint { } /// Endpoints for the S2 environment. +/// +/// You can find the S2 endpoints in our [documentation]. +/// +/// [documentation]: https://s2.dev/docs/interface/endpoints #[derive(Debug, Clone)] pub struct S2Endpoints { /// Used by `AccountService` requests. diff --git a/src/lib.rs b/src/lib.rs index b91c289..e2a8fbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ Rust SDK for S2. The Rust SDK provides ergonomic wrappers and utilities to interact with the -[S2 API](https://s2.dev/docs/interface/grpc-api). +[S2 API](https://s2.dev/docs/interface/grpc). # Getting started