From 5623c7c8ed3dd187335e28f4479c230ae2780d56 Mon Sep 17 00:00:00 2001 From: Henry-E Date: Mon, 6 Mar 2023 11:19:08 +0000 Subject: [PATCH] update discord links (#2424) --- .github/issue_template.md | 2 +- CONTRIBUTING.md | 5 ++++- README.md | 2 +- docs/src/pages/docs/contribution-guide.md | 2 +- docs/src/pages/docs/publishing-source.md | 2 +- docs/src/pages/index.md | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/issue_template.md b/.github/issue_template.md index fc38cbfca..56a1455ec 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -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). ⚠️ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 764225d0e..fd38c5edc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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). diff --git a/README.md b/README.md index 1ecd954dc..a8c5c32ce 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@

Build Status Tutorials - Discord Chat + Discord Chat License

diff --git a/docs/src/pages/docs/contribution-guide.md b/docs/src/pages/docs/contribution-guide.md index 01dcd3799..fc8cbeb22 100644 --- a/docs/src/pages/docs/contribution-guide.md +++ b/docs/src/pages/docs/contribution-guide.md @@ -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 diff --git a/docs/src/pages/docs/publishing-source.md b/docs/src/pages/docs/publishing-source.md index a90e58d10..860556e32 100644 --- a/docs/src/pages/docs/publishing-source.md +++ b/docs/src/pages/docs/publishing-source.md @@ -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 diff --git a/docs/src/pages/index.md b/docs/src/pages/index.md index 0b3783398..d3021f23f 100644 --- a/docs/src/pages/index.md +++ b/docs/src/pages/index.md @@ -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)