Skip to content

Commit a538e01

Browse files
authored
Add SDK repository links to API reference (#105)
1 parent a054f88 commit a538e01

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

scripts/generate-api-docs.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ import {
2626

2727
const OUTPUT_BASE_DIR = './src/content/docs/api';
2828

29+
// SDK GitHub repository URLs
30+
const SDK_REPOS = {
31+
go: 'https://github.com/superfly/sprites-go',
32+
javascript: 'https://github.com/superfly/sprites-js',
33+
python: 'https://github.com/superfly/sprites-py',
34+
elixir: 'https://github.com/superfly/sprites-ex',
35+
} as const;
36+
2937
// ============================================================================
3038
// Types
3139
// ============================================================================
@@ -1042,6 +1050,15 @@ curl -H "Authorization: Bearer $SPRITE_TOKEN" \\
10421050
Create a token at [sprites.dev/account](https://sprites.dev/account), or generate one via the CLI with \`sprite org auth\`.
10431051
</Callout>
10441052
1053+
## SDK Libraries
1054+
1055+
For a better developer experience, use our official SDKs:
1056+
1057+
- [Go ↗](${SDK_REPOS.go})
1058+
- [JavaScript ↗](${SDK_REPOS.javascript})
1059+
- [Python ↗](${SDK_REPOS.python})
1060+
- [Elixir ↗](${SDK_REPOS.elixir})
1061+
10451062
## API Categories
10461063
10471064
<CardGrid client:load>

0 commit comments

Comments
 (0)