Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dev_guide.mdx #152

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions devvit-docs/docs/dev_guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ You'll also need an editor for viewing and editing code (we recommend [VS Code](
<summary>Click here for instructions on installing Node.js</summary>
<div>
<div>
You’re going to work with TypeScript. In order for Typescript to work with Devvit, you’ll need a working Node.js environment and then the Devvit command line interface. Node.js is an open-source server environment that makes it possible to develop and run Javascript apps anywhere. Node.js lets you import and use packages (code that other people have written) into your code.
You’re going to work with TypeScript. In order for TypeScript to work with Devvit, you’ll need a working Node.js environment and then the Devvit command line interface. Node.js is an open-source server environment that makes it possible to develop and run Javascript apps anywhere. Node.js lets you import and use packages (code that other people have written) into your code.

**Option 1: Use node version manager (nvm)**

Install or update [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) to use as a handy command-line tool for managing multiple Node.js versions on your system. This will allow you to switch between different versions easily. If you to use a different node version manager, check out these [suggestions from npmjs.org](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
Install or update [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) to use as a handy command-line tool for managing multiple Node.js versions on your system. This will allow you to switch between different versions easily. If you choose to use a different node version manager, check out these [suggestions from npmjs.org](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).

For macOS or Linux:

Expand Down
1 change: 0 additions & 1 deletion packages/public-api/src/apis/reddit/RedditAPIClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,6 @@ export class RedditAPIClient {
banMessage: options.message,
note: options.note,
duration: options.duration,
banContext: options.context,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what's going on with these changes..?

},
this.#metadata
);
Expand Down
1 change: 0 additions & 1 deletion packages/public-api/src/apis/reddit/models/Subreddit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,6 @@ export class Subreddit {
banMessage: options.message,
note: options.note,
duration: options.duration,
banContext: options.context,
},
this.#metadata
);
Expand Down