secondlife / secondlife/create

Add Function Categories

Open
#3 15 comments 0 reactions 1 assignee View on GitHub

@WolfGangS is already working on this.

Since Nov 21, 2025.

help wanted
Dominant language
MDX
Stars
12
Forks
7
Avg merge
2h 53m
Merged PRs (30d)
1

Description

Both the LSL and SLua reference pages need a category system to organize functions by purpose. Currently, the category sections exist but are not linked to actual pages.

Link: https://create.secondlife.com/script/lsl-reference/

Current State

  • Category placeholders exist in both reference index pages
  • Functions are listed alphabetically without category organization
  • Users cannot browse functions by purpose (Object Control, Communication, etc.)
Image

Requirements

  1. Add category tags to lsl_definitions.yaml
  2. Update the documentation generator script (scripts/generate-docs.js) to handle categories (?)
  3. Build category index pages for both LSL and SLua
  4. Update navigation to link to category pages

Categories to Implement (Tentative)

  • Object & Prim Control: Appearance, Movement, Properties
  • Communication: Chat, Dialog, HTTP, Email
  • Avatar Interaction: Sensors, Permissions, Animation, Attachments
  • Data & Math: Math, String, List/Table, Type Conversion
  • Effects & Media: Particles, Sound, Light, Media
  • Advanced Features: Experience, Inventory, Notecard, Region

Files to Modify

  • src/definitions/lsl_definitions.yaml - Add category metadata
  • scripts/generate-docs.js - Generate category index pages
  • src/content/docs/script/lsl-reference/index.mdx - Link to category pages
  • src/content/docs/script/slua-reference/index.mdx - Link to category pages
  • astro.config.mjs - Update sidebar navigation if needed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.