link smapi.io/install to install guide

This commit is contained in:
Jesse Plamondon-Willard 2018-05-11 19:11:31 -04:00
parent 324d02233d
commit 59775e99c4
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@
* Fixed console color scheme on Mac or in PowerShell, configurable via `StardewModdingAPI.config.json`.
* Fixed detection of GOG Galaxy install path in rare cases.
* Fixed install error on Linux/Mac in some cases.
* Fixed `smapi.io/install` not linking to a useful page.
* Renamed `install.exe` to `install on Windows.exe` to avoid confusion.
* For modders:

View File

@ -153,9 +153,10 @@ namespace StardewModdingAPI.Web
));
// shortcut redirects
redirects.Add(new RedirectToUrlRule(@"^/buildmsg(?:/?(.*))$", "https://github.com/Pathoschild/SMAPI/blob/develop/docs/mod-build-config.md#$1"));
redirects.Add(new RedirectToUrlRule(@"^/compat\.?$", "https://stardewvalleywiki.com/Modding:SMAPI_compatibility"));
redirects.Add(new RedirectToUrlRule(@"^/docs\.?$", "https://stardewvalleywiki.com/Modding:Index"));
redirects.Add(new RedirectToUrlRule(@"^/buildmsg(?:/?(.*))$", "https://github.com/Pathoschild/SMAPI/blob/develop/docs/mod-build-config.md#$1"));
redirects.Add(new RedirectToUrlRule(@"^/install\.?$", "https://stardewvalleywiki.com/Modding:Player_Guide/Getting_Started#Install_SMAPI"));
// redirect legacy canimod.com URLs
var wikiRedirects = new Dictionary<string, string[]>