SkriptLang / skript-docs

Documentation Site for Skript Plugin
https://docs.skriptlang.org/
GNU General Public License v3.0
2 stars 7 forks source link
docs documentation skript

Skript Docs


Skript Documentation Site

Skript's features are documented directly in it's Java code. But we still need

  1. Clear tutorials, not just "you can check the syntax pattern"
  2. Examples explained, if needed
  3. Addon tutorials
  4. Syntax patterns explained

Folders Structure

You can find more about the docs templates in docs/templates.

Generating the documentation

Currently, the docs files is generated using Skript plugin.

  1. You will need to create a directory named docs/templates in plugins/Skript/, and copy everything from docs/templates folder into that directory.
  2. Execute the command /sk gen-docs.
  3. The docs/ directory will be created (if not created already) in plugins/Skript containing the website's files.
  4. Open index.html and browse the documentation.
  5. (Optionally) Add this system property -Dskript.forceregisterhooks in your server startup script (before the -jar property) to force generating hooks docs.