mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
*Fix anchor links
This commit is contained in:
parent
31e64eaaf4
commit
156473356d
@ -126,7 +126,7 @@ public final class DocumentationPrinter {
|
||||
|
||||
private static void writePermissionsWikiTable(PrintStream stream, StringBuilder content, String prefix, Class<?> cls) {
|
||||
String title = cls.getSimpleName().replaceAll("(\\p{Ll})(\\p{Lu})", "$1 $2");
|
||||
stream.print(" - [`" + title + "`](#" + title.replaceAll(" ", "-") + "-) ");
|
||||
stream.print(" - [`" + title + "`](#" + title.replaceAll(" ", "-").toLowerCase() + "-) ");
|
||||
Command cmd = cls.getAnnotation(Command.class);
|
||||
if (cmd != null) {
|
||||
stream.print(" (" + cmd.desc() + ")");
|
||||
|
Loading…
Reference in New Issue
Block a user