From ce3deff6992b893ec692994a2a6169b83b857186 Mon Sep 17 00:00:00 2001 From: Melissa Henderson <57110301+melissahenderson@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:01:48 -0500 Subject: [PATCH] docs: removing starlight components page (#54) page unnecessary --- src/content/docs/content/starlight.mdx | 57 -------------------------- 1 file changed, 57 deletions(-) delete mode 100644 src/content/docs/content/starlight.mdx diff --git a/src/content/docs/content/starlight.mdx b/src/content/docs/content/starlight.mdx deleted file mode 100644 index 9d3b5a5..0000000 --- a/src/content/docs/content/starlight.mdx +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: Starlight components ---- - -import { Tabs, TabItem } from "@astrojs/starlight/components"; - -Starlight has a number of [built-in components](https://starlight.astro.build/guides/components/#built-in-components) that are useful for documentation sites. - -## Synced tabs - -In the future, when our Open Payments SDK has been ported to various languages, we would probably want to show the same feature in different languages and synced tabs might be a good way to present those code snippets. - -_Initialize Open Payments client_: - - - - ```js - const client = await createAuthenticatedClient({ - walletAddressUrl: WALLET_ADDRESS, - privateKey: PRIVATE_KEY_PATH, - keyId: KEY_ID, - }); - ``` - - - ```ruby - =begin - I have no idea how the - Ruby code should look like - And that is why we do not - have a Ruby SDK today - =end - ``` - - - -_Get wallet address:_ - - - - ```js - const walletAddress = await client.walletAddress.get({ - url: WALLET_ADDRESS, - }); - ``` - - - ```ruby - =begin - I have no idea how the - Ruby code should look like - And that is why we do not - have a Ruby SDK today - =end - ``` - -