From 52914515a28f26305253c02e1bb99d8d9eaad15a Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 1 Oct 2019 13:48:23 -0400 Subject: [PATCH] add community short url --- .github/CONTRIBUTING.md | 13 +++++-------- .github/ISSUE_TEMPLATE/bug_report.md | 6 ++---- .github/ISSUE_TEMPLATE/feature_request.md | 7 ++----- .github/ISSUE_TEMPLATE/general.md | 7 ++----- .github/SUPPORT.md | 5 ++--- docs/README.md | 4 ++-- src/SMAPI.Web/Startup.cs | 1 + src/SMAPI.Web/Views/Index/Index.cshtml | 4 ++-- 8 files changed, 18 insertions(+), 29 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 052cec2c..8746a487 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,19 +1,16 @@ Do you want to... * **Ask for help using SMAPI?** - Please post a message in the [SMAPI support thread](http://community.playstarbound.com/threads/108375) - or [ask on Discord](https://stardewvalleywiki.com/Modding:Community#Discord), don't create a - GitHub issue. + Please ask in [the Stardew Valley Discord or mod forums](https://smapi.io/community), don't + create a GitHub issue. * **Report a bug?** - Please post a message in the [SMAPI support thread](http://community.playstarbound.com/threads/108375) - or [ask on Discord](https://stardewvalleywiki.com/Modding:Community#Discord) instead, unless - you're sure it's a bug in SMAPI itself. + Please report it in [the Stardew Valley Discord or mod forums](https://smapi.io/community), don't + create a GitHub issue unless you're sure it's a bug in the SMAPI code. * **Submit a pull request?** Pull requests are welcome! If you're submitting a new feature, it's best to discuss first to make - sure it'll be accepted. Feel free to come chat in [#modding on Discord](https://stardewvalleywiki.com/Modding:Community#Discord) - or post in the [SMAPI support thread](http://community.playstarbound.com/threads/108375). + sure it'll be accepted. Feel free to come chat [on Discord or in the SMAPI discussion thread](https://smapi.io/community). Documenting your code and using the same formatting conventions is appreciated, but don't worry too much about it. We'll fix up the code after we accept the pull request if needed. diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7b5d5a6f..74954cf4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,10 +6,8 @@ about: Report a problem with SMAPI. diff --git a/.github/ISSUE_TEMPLATE/general.md b/.github/ISSUE_TEMPLATE/general.md index 00c31305..f02d3c9a 100644 --- a/.github/ISSUE_TEMPLATE/general.md +++ b/.github/ISSUE_TEMPLATE/general.md @@ -6,10 +6,7 @@ about: Create a ticket about something else. diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index 757aadee..9263666f 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -1,5 +1,4 @@ GitHub issues are only used for SMAPI development tasks. -To get help with SMAPI problems, you can... -* [ask on Discord](https://stardewvalleywiki.com/Modding:Community#Discord); -* or post in the [SMAPI support thread](https://community.playstarbound.com/threads/108375). +To get help with SMAPI problems, [ask on Discord or in the forums](https://smapi.io/community) +instead. diff --git a/docs/README.md b/docs/README.md index 625e7eeb..90204387 100644 --- a/docs/README.md +++ b/docs/README.md @@ -41,14 +41,14 @@ doesn't change any of your game files. It serves eight main purposes: something goes wrong. (Via the bundled SaveBackup mod.)_ ## Documentation -Have questions? Come [chat on Discord](https://stardewvalleywiki.com/Modding:Community) with SMAPI +Have questions? Come [ask the community](https://smapi.io/community) to get help from SMAPI developers and other modders! ### For players * [Player guide](https://stardewvalleywiki.com/Modding:Player_Guide) ### For modders -* [Modding documentation](https://stardewvalleywiki.com/Modding:Index) +* [Modding documentation](https://smapi.io/docs) * [Mod build configuration](technical/mod-package.md) * [Release notes](release-notes.md) diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs index da5c1f1b..bf69d543 100644 --- a/src/SMAPI.Web/Startup.cs +++ b/src/SMAPI.Web/Startup.cs @@ -211,6 +211,7 @@ namespace StardewModdingAPI.Web // shortcut redirects redirects.Add(new RedirectToUrlRule(@"^/3\.0\.?$", "https://stardewvalleywiki.com/Modding:Migrate_to_SMAPI_3.0")); redirects.Add(new RedirectToUrlRule(@"^/(?:buildmsg|package)(?:/?(.*))$", "https://github.com/Pathoschild/SMAPI/blob/develop/docs/technical/mod-package.md#$1")); // buildmsg deprecated, remove when SDV 1.4 is released + redirects.Add(new RedirectToUrlRule(@"^/community\.?$", "https://stardewvalleywiki.com/Modding:Community")); redirects.Add(new RedirectToUrlRule(@"^/compat\.?$", "https://mods.smapi.io")); redirects.Add(new RedirectToUrlRule(@"^/docs\.?$", "https://stardewvalleywiki.com/Modding:Index")); redirects.Add(new RedirectToUrlRule(@"^/install\.?$", "https://stardewvalleywiki.com/Modding:Player_Guide/Getting_Started#Install_SMAPI")); diff --git a/src/SMAPI.Web/Views/Index/Index.cshtml b/src/SMAPI.Web/Views/Index/Index.cshtml index 249dc9d1..346af3f7 100644 --- a/src/SMAPI.Web/Views/Index/Index.cshtml +++ b/src/SMAPI.Web/Views/Index/Index.cshtml @@ -52,7 +52,7 @@

Get help

@if (Model.BetaVersion == null) @@ -124,5 +124,5 @@ else
  • SMAPI @Model.BetaVersion.Version for developers (includes intellisense and full console output)
  • }
  • Modding documentation
  • -
  • Need help? Come chat on Discord.
  • +
  • Need help? Come chat on Discord.