Skip to content

Commit f34ae1b

Browse files
docs: remove examples (#246)
They now live at https://github.com/discord/embedded-app-sdk-examples/
1 parent 4659905 commit f34ae1b

File tree

164 files changed

+986
-11957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+986
-11957
lines changed

.github/workflows/sdk-playground-production.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Read more about building Discord Activities with the Embedded App SDK on [https:
1313
## Resources
1414

1515
- **[Embedded App SDK Docs](https://discord.com/developers/docs/developer-tools/embedded-app-sdk)** - Get familiar with the Embedded App SDK
16-
- **[Activity Examples](/examples/)** - Explore examples of Discord Activities
16+
- **[Activity Examples](https://github.com/discord/embedded-app-sdk-examples)** - Explore examples of Discord Activities
1717
- **[Technical chat on Discord](https://discord.com/invite/discord-developers)** - Join us and other devs at DDevs at `#activities-dev-help`
1818

1919
## Installing this package
@@ -27,7 +27,7 @@ npm install @discord/embedded-app-sdk
2727
To use the SDK, import it into your project and construct a new instance of the DiscordSDK class.
2828

2929
Below is a minimal example of setting up the SDK.
30-
Visit [/examples/discord-activity-starter](/examples/discord-activity-starter/README.md) for a complete example application. See more info on environment variables (`YOUR_OAUTH2_CLIENT_ID`, etc...) [here](https://discord.com/developers/docs/activities/building-an-activity#find-your-oauth2-credentials).
30+
Visit <https://github.com/discord/embedded-app-sdk-examples/tree/main/discord-activity-starter> for a complete example application. See more info on environment variables (`YOUR_OAUTH2_CLIENT_ID`, etc...) [here](https://discord.com/developers/docs/activities/building-an-activity#find-your-oauth2-credentials).
3131

3232
```typescript
3333
import {DiscordSDK} from '@discord/embedded-app-sdk';

docs/local-sdk-development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
We have two example projects, which can be used to test the latest SDK release, as well as new changes to the SDK.
44

5-
- [discord-activity-starter](/examples/discord-activity-starter) is a minimal application example
6-
- [sdk-playground](/examples/sdk-playground) is a playground for testing any SDK functionality
5+
- [discord-activity-starter](https://github.com/discord/embedded-app-sdk/blob/main/examples/discord-activity-starter) is a minimal application example
6+
- [sdk-playground](https://github.com/discord/embedded-app-sdk/blob/main/examples/sdk-playground) is a playground for testing any SDK functionality
77

88
These projects consume this repo's root `@discord/embedded-app-sdk` directly via [pnpm workspaces](https://pnpm.io/workspaces)
99

examples/.eslintrc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,4 @@
44
<img src="/assets/discord-embedded-apps.svg" alt="Discord Embedded App SDK" width="500" />
55
<p>
66

7-
### [Discord Activity Starter](/examples/discord-activity-starter)
8-
9-
This starter app will get you up and running quickly with the basic skeleton of an Embedded App using Node.js, React, and Vite.
10-
11-
### [SDK Playground](/examples/sdk-playground)
12-
13-
This example implements the SDK commands and events available within the application's iframe while building your app.
14-
15-
### [React Colyseus](/examples/react-colyseus)
16-
17-
This example uses Node.js, React, and [Colyseus](https://colyseus.io/), a multiplayer JS framework, to demonstrate state management in a multiplayer experience.
18-
19-
### [Nested Messages](/examples/nested-messages)
20-
21-
This example implements an Embedded App using a nested framework like a game engine. When using a game engine, you need to send messages between a parent iframe and the nested framework.
7+
See <https://github.com/discord/embedded-app-sdk-examples/> for examples of using the Embedded App SDK.

examples/discord-activity-starter/.gitignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

examples/discord-activity-starter/README.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

examples/discord-activity-starter/package.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

examples/discord-activity-starter/packages/client/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

examples/discord-activity-starter/packages/client/favicon.svg

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)