Skip to content

Commit 7842b5a

Browse files
terneraXenc5Copilot
authored
Fixed some spelling issues and formatting problems (#107)
## 💸 TL;DR <!-- What's the three sentence summary of purpose of the PR --> Fixed some spelling issues and formatting problems. --------- Co-authored-by: Xenc <mrjeeves@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b4f65b5 commit 7842b5a

8 files changed

Lines changed: 7 additions & 15 deletions

File tree

docs/capabilities/analytics/journeys-receipts.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Covered calls:
4747

4848
## Upgrade note for existing devs
4949

50-
`startJourney()` changed from returning only the Journey ID information to returning the Journey ID plus a receipt. If you’re upgrading existing code, you may need to update any custom response types, mocks, or destructuring assumptions so they account for the new `receipt` field.
50+
`startJourney()` changed from returning only the Journey ID information to returning the Journey ID plus a receipt. If you’re upgrading existing code, you may need to update any custom response types, mocks, or destructuring assumptions so they account for the new `receipt` field.
5151

5252
For example, code that only typed the response as `{ journeyId: string }` should now expect:
5353

@@ -72,8 +72,6 @@ For example, code that only typed the response as `{ journeyId: string }` should
7272
| `JOURNEY_RECEIPT_INVALID` | Event payload was invalid and was not recorded. | `Invalid: Event payload was not recorded.` |
7373
| `JOURNEY_RECEIPT_UNSPECIFIED` | Recording status could not be confirmed. | `Unknown: Telemetry recording status could not be confirmed.` |
7474

75-
##
76-
7775
Example:
7876

7977
```javascript

docs/capabilities/notifications/pn-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Push notifications can help drive engagement, increase player retention, and bui
77
This guide provides instructions for implementing developer-authored push notifications for Reddit games.
88

99
:::note
10-
This is currently an experimental feature, and you'll need to[apply](../notifications/notifications-overview.md#how-to-apply) for a spot in our beta program to implement push notifications in your app.
10+
This is currently an experimental feature, and you'll need to [apply](../notifications/notifications-overview.md#how-to-apply) for a spot in our beta program to implement push notifications in your app.
1111
:::
1212

1313
## How it works

docs/guides/logged-out-users.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ export async function onLoginButtonClick(context: Context) {
9696
}
9797
```
9898

99-
####
100-
10199
#### Trigger at natural breakpoints
102100

103101
The login/sign-up flow reloads the page, so any in-memory game state will be lost unless you s[ave the logged-out game state](#save-the-logged-out-game-state).

docs/guides/migrate/devvit-singleton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Delete the `devvit.yaml` file from your project root. All configuration is now h
3434

3535
### 3. Handle static assets
3636

37-
If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to define this in update your `devvit.json` to point to these assets:
37+
If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to update your `devvit.json` to point to these assets:
3838

3939
```json
4040
{

docs/guides/migrate/inline-web-view.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Apps can be partially migrated, you don't need to re-write everything!
1616

1717
- No postMessage required
1818
- Use web native fetch() to server endpoints directly
19-
- App logic is either on the client, or the server, with clear deliniation
19+
- App logic is either on the client, or the server, with clear delineation
2020
- Client effects are available directly from web views
2121

2222
## Setting up devvit.json
@@ -161,8 +161,6 @@ server.listen(port, () => console.log(`http://localhost:${port}`));
161161

162162
### Calling your server endpoints
163163

164-
Now
165-
166164
Instead of using `postMessage`, your client-side code can now directly fetch the initial state from the `/api/init` endpoint we defined in the server.
167165

168166
```ts title=/src/client/app.ts

docs/guides/migrate/public-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Migrating from PRAW to Devvit Web
22

33
[Devvit Web](../../capabilities/devvit-web/devvit_web_overview.mdx) is how
4-
you ship the same kind of automation **on Reddit’s platform**. This guide will outline the basics
4+
you ship the same kind of automation **on Reddit’s platform**. This guide will outline the basics of migrating from PRAW to Devvit Web.
55

66
:::note
77
This guide assumes you have basic familiarity with Python and PRAW (e.g., `pip`, `requirements.txt`, and

versioned_docs/version-0.12/guides/migrate/devvit-singleton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Delete the `devvit.yaml` file from your project root. All configuration is now h
3434

3535
### 3. Handle static assets
3636

37-
If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to define this in update your `devvit.json` to point to these assets:
37+
If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to update your `devvit.json` to point to these assets:
3838

3939
```json
4040
{

versioned_docs/version-0.12/guides/migrate/inline-web-view.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Apps can be partially migrated, you don't need to re-write everything!
1616

1717
- No postMessage required
1818
- Use web native fetch() to server endpoints directly
19-
- App logic is either on the client, or the server, with clear deliniation
19+
- App logic is either on the client, or the server, with clear delineation
2020
- Client effects are available directly from web views
2121

2222
## Setting up devvit.json
@@ -161,8 +161,6 @@ server.listen(port, () => console.log(`http://localhost:${port}`));
161161

162162
### Calling your server endpoints
163163

164-
Now
165-
166164
Instead of using `postMessage`, your client-side code can now directly fetch the initial state from the `/api/init` endpoint we defined in the server.
167165

168166
```ts title=/src/client/app.ts

0 commit comments

Comments
 (0)