update discord links (#2424)

This commit is contained in:
Henry-E 2023-03-06 11:19:08 +00:00 committed by GitHub
parent 06c42327d4
commit 5623c7c8ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 6 deletions

View File

@ -1 +1 @@
⚠️ Don't use issues for support questions ("How does x feature work in Anchor? How to do x in Anchor?"). Use the discord instead https://discord.gg/GVRw4kHB (but don't ping maintainers). ⚠️
⚠️ Don't use issues for support questions ("How does x feature work in Anchor? How to do x in Anchor?"). Use the discord instead https://discord.gg/NHHGSXAnXk (but don't ping maintainers). ⚠️

View File

@ -12,7 +12,7 @@ or issues where [help is wanted](https://github.com/coral-xyz/anchor/issues?q=is
For simple documentation changes or typos, feel free to just open a pull request.
If you're considering larger changes or self motivated features, please file an issue
and engage with the maintainers in [Discord](https://discord.gg/sxy4zxBckh).
and engage with the maintainers in [Discord](https://discord.gg/NHHGSXAnXk).
## Choosing an issue
@ -25,16 +25,19 @@ is working on what issue as to not overlap work.
Please follow these guidelines:
Before coding:
- choose a branch name that describes the issue you're working on
- enable [commit signing](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
While coding:
- Submit a draft PR asap
- Only change code directly relevant to your PR. Sometimes you might find some code that could really need some refactoring. However, if it's not relevant to your PR, do not touch it. File an issue instead. This allows the reviewer to focus on a single problem at a time.
- If you write comments, do not exceed 80 chars per line. This allows contributors who work with multiple open windows to still read the comments without horizontally scrolling.
- Write adversarial tests. For example, if you're adding a new account type, do not only write tests where the instruction succeeds. Also write tests that test whether the instruction fails, if a check inside the new type is violated.
After coding:
- If you've moved code around, build the docs with `cargo doc --open` and adjust broken links
- Adjust the cli templates if necessary
- If you've added a new folder to the `tests` directory, add it to the [CI](./.github/workflows/tests.yaml).

View File

@ -10,7 +10,7 @@
<p>
<a href="https://github.com/coral-xyz/anchor/actions"><img alt="Build Status" src="https://github.com/coral-xyz/anchor/actions/workflows/tests.yaml/badge.svg" /></a>
<a href="https://anchor-lang.com"><img alt="Tutorials" src="https://img.shields.io/badge/docs-tutorials-blueviolet" /></a>
<a href="https://discord.gg/PDeRXyVURd"><img alt="Discord Chat" src="https://img.shields.io/discord/889577356681945098?color=blueviolet" /></a>
<a href="https://discord.gg/NHHGSXAnXk"><img alt="Discord Chat" src="https://img.shields.io/discord/889577356681945098?color=blueviolet" /></a>
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="License" src="https://img.shields.io/github/license/coral-xyz/anchor?color=blueviolet" /></a>
</p>
</div>

View File

@ -17,7 +17,7 @@ or issues where [help is wanted](https://github.com/coral-xyz/anchor/issues?q=is
For simple documentation changes or typos, feel free to just open a pull request.
If you're considering larger changes or self motivated features, please file an issue
and engage with the maintainers in [Discord](https://discord.gg/sxy4zxBckh).
and engage with the maintainers in [Discord](https://discord.gg/NHHGSXAnXk).
## Choosing an issue

View File

@ -12,7 +12,7 @@ practices for security and transparency.
{% callout title="Note" %}
The Anchor Program Registry is currently in alpha testing. For access to publishing
please ask on [Discord](http://discord.gg/ZCHmqvXgDw).
please ask on [Discord](https://discord.gg/NHHGSXAnXk).
{% /callout %}
## Getting Started

View File

@ -36,4 +36,4 @@ Both of these aspects mean that instead of working on the tedious parts of raw S
### Join the community
[Discord Invitation](http://discord.gg/ZCHmqvXgDw)
[Discord Invitation](https://discord.gg/NHHGSXAnXk)