Skip to content

Add Function Categories #3

@bennettgoble

Description

@bennettgoble

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

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions