Package ch.njol.skript.doc
Class Documentation
java.lang.Object
ch.njol.skript.doc.Documentation
TODO list special expressions for events and event values
TODO compare doc in code with changed one of the webserver and warn about differences?
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Force register hooks even if their plugins are not present in the serverstatic final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if server java args have 'skript.forceregisterhooks' property set to true and docs template folder is foundprotected static String
cleanPatterns
(String patterns) protected static String
cleanPatterns
(String patterns, boolean escapeHTML) static String
escapeHTML
(@Nullable String value) static String[]
escapeHTML
(@Nullable String[] values) static void
generate()
static File
static File
static boolean
-
Field Details
-
FORCE_HOOKS_SYSTEM_PROPERTY
public static final boolean FORCE_HOOKS_SYSTEM_PROPERTYForce register hooks even if their plugins are not present in the server -
generate
public static final boolean generate
-
-
Constructor Details
-
Documentation
public Documentation()
-
-
Method Details
-
isDocsTemplateFound
public static boolean isDocsTemplateFound() -
canGenerateUnsafeDocs
public static boolean canGenerateUnsafeDocs()Checks if server java args have 'skript.forceregisterhooks' property set to true and docs template folder is found -
getDocsTemplateDirectory
-
getDocsOutputDirectory
-
generate
public static void generate() -
cleanPatterns
-
cleanPatterns
-
escapeHTML
-
escapeHTML
-