docs: Update wiki link

This commit is contained in:
NotMyFault 2022-02-04 11:16:23 +01:00
parent 2bb72ebfea
commit d80bfc7495
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
10 changed files with 27 additions and 24 deletions

View File

@ -7,7 +7,7 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this bug report for FastAsyncWorldEdit! Fill out the following form to your best ability to help us fix the problem.
Only use this if you're absolutely sure that you found a bug and can reproduce it. For anything else, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki).
Only use this if you're absolutely sure that you found a bug and can reproduce it. For anything else, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://intellectualsites.github.io/fastasyncworldedit-documentation/).
Do NOT use the public issue tracker to report security vulnerabilities! They are disclosed using [this](https://forms.gle/btgdRn9yhGtzEiGW8) form!
- type: dropdown

View File

@ -4,5 +4,5 @@ contact_links:
url: https://discord.gg/intellectualsites
about: Our support Discord, please ask questions and seek support here.
- name: FastAsyncWorldEdit Wiki
url: https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki
url: https://intellectualsites.github.io/fastasyncworldedit-documentation/
about: Look at the wiki page for answers for setup instructions command syntax and more.

View File

@ -7,7 +7,7 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this feature request for FastAsyncWorldEdit! Fill out the following form to your best ability to help us understand your feature request and greately improve the change of it getting added.
For anything else than a feature request, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki).
For anything else than a feature request, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://intellectualsites.github.io/fastasyncworldedit-documentation/).
- type: textarea
attributes:

View File

@ -19,7 +19,7 @@ Java Edition required. FastAsyncWorldEdit is compatible with Bukkit, Spigot and
=== Links
* link:https://discord.gg/intellectualsites[Discord]
* link:https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki[Wiki]
* link:https://intellectualsites.github.io/fastasyncworldedit-documentation/[Wiki]
* link:https://github.com/IntellectualSites/FastAsyncWorldEdit/issues[Report Issue]
* link:https://intellectualsites.crowdin.com/fastasyncworldedit[Crowdin (Translations)]
* link:https://javadoc.io/doc/com.fastasyncworldedit/FastAsyncWorldEdit-Bukkit/latest/index.html[JavaDocs for the -bukkit module]

View File

@ -35,7 +35,7 @@ public class Settings extends Config {
public String ISSUES = "https://github.com/IntellectualSites/FastAsyncWorldEdit/issues";
@Final
@SuppressWarnings("unused")
public String WIKI = "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki";
public String WIKI = "https://intellectualsites.github.io/fastasyncworldedit-documentation/";
@Final
public String DATE; // These values are set from FAWE before loading
@Final

View File

@ -89,10 +89,10 @@ public class RichMaskParser extends FaweParser<Mask> {
throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full,
TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
.of("https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
)
.clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
"https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
))
)),
full,
@ -143,10 +143,10 @@ public class RichMaskParser extends FaweParser<Mask> {
throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full,
TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Masks"
.of("https://intellectualsites.github.io/fastasyncworldedit-documentation/masks/masks"
)
.clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Masks"
"https://intellectualsites.github.io/fastasyncworldedit-documentation/masks/masks"
))
)),
full,
@ -178,7 +178,7 @@ public class RichMaskParser extends FaweParser<Mask> {
try {
String cmdArgs = ((args.isEmpty()) ? "" : " " + StringMan.join(args, " "));
List<Substring> split =
CommandArgParser.forArgString(cmdArgs).parseArgs().collect(Collectors.toList());
CommandArgParser.forArgString(cmdArgs).parseArgs().toList();
List<String> argStrings = split
.stream()
.map(Substring::getSubstring)

View File

@ -81,12 +81,11 @@ public class RichPatternParser extends FaweParser<Pattern> {
throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full,
TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki" +
"/Patterns"
.of("https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
)
.clickEvent(
ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
"https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
))
)),
full,
@ -132,11 +131,11 @@ public class RichPatternParser extends FaweParser<Pattern> {
} catch (NoMatchException e) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full,
TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
.of("https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
)
.clickEvent(
com.sk89q.worldedit.util.formatting.text.event.ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns"
"https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
))
));
}
@ -154,7 +153,7 @@ public class RichPatternParser extends FaweParser<Pattern> {
try {
String cmdArgs = ((args.isEmpty()) ? "" : " " + StringMan.join(args, " "));
List<Substring> split =
CommandArgParser.forArgString(cmdArgs).parseArgs().collect(Collectors.toList());
CommandArgParser.forArgString(cmdArgs).parseArgs().toList();
List<String> argStrings = split
.stream()
.map(Substring::getSubstring)

View File

@ -78,10 +78,12 @@ public class RichTransformParser extends FaweParser<ResettableExtent> {
} else {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", pe.getFull(),
TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms"
.of("https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
)
.clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms"
"https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
))
));
}
@ -93,10 +95,12 @@ public class RichTransformParser extends FaweParser<ResettableExtent> {
} catch (Throwable e) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", pe.getFull(),
TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms"
.of("https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
)
.clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms"
"https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
))
));
}
@ -146,9 +150,9 @@ public class RichTransformParser extends FaweParser<ResettableExtent> {
}
if (union.isEmpty()) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", input,
TextComponent.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms"
TextComponent.of("https://intellectualsites.github.io/fastasyncworldedit-documentation/transforms/transforms"
).clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms"
"https://intellectualsites.github.io/fastasyncworldedit-documentation/transforms/transforms"
))
));
} else if (union.size() == 1) {

View File

@ -77,7 +77,7 @@ public class WorldEditCommands {
actor.print(TextComponent.of("FastAsyncWorldEdit" + fVerStr));
actor.print(TextComponent.of("Authors: Empire92, MattBDev, IronApollo, dordsor21 and NotMyFault"));
actor.print(TextComponent.of("Wiki: https://git.io/JMEPa")
.clickEvent(ClickEvent.openUrl("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki")));
.clickEvent(ClickEvent.openUrl("https://intellectualsites.github.io/fastasyncworldedit-documentation/")));
actor.print(TextComponent.of("Discord: https://discord.gg/intellectualsites")
.clickEvent(ClickEvent.openUrl("https://discord.gg/intellectualsites")));
UpdateNotification.doUpdateNotification(actor);

View File

@ -33,7 +33,7 @@ import java.net.URISyntaxException;
public class InfoEntryPoint {
private static final String INSTALL_URL = "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki";
private static final String INSTALL_URL = "https://intellectualsites.github.io/fastasyncworldedit-documentation/";
private static final String SUPPORT_URL = "https://discord.gg/intellectualsites";
private static String getMessage(boolean html) {