Templates? #3
Martin-Pitt
started this conversation in
Ideas
Replies: 1 comment
-
|
With the LSL Definitions, I've also created LSL Control (for flow control keywords) and LSL Type (for types like vector, rotation etc). Undocumented has been renamed to Stub, which is set when the page is created by the stub autogenerator. When in stub it can still be replaced by the autogenerator script in case the source of truth is edited. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm thinking of creating the following templates like from the wiki:
The LSL function would be quite similar to the one on the LSL Wiki, with sections such as description, specification, examples, etc.
I think I can do this in Astro by setting up an astro component and using named slots to target where content goes (instead of props). Named slots means I can write large content more naturally from the source document (e.g. an mdx page).
This would probably look something like:
The templates should probably have different types of contextual "lifecycles" related to LSL implementation, editorial publishing or i18n.
LSL Implementation Lifecycle for a function/event/constant:
These are somewhat loosely based on the legend here: https://wiki.secondlife.com/wiki/Category:LSL_Functions
Editorial Lifecycle:
These are common editorial publishing lifecycles with addition of "undocumented" to cover for (generated) placeholder pages. Such as ones created from script based on keywords.xml
i18n Lifecycle
This is a general top level. With English set as the root locale it will be assumed that when a root page is updated that any translated pages would be out of date. I'll need to think thoroughly on a strategy for all of this, supporting different locales, being able to encourage people to step up to become a locale champion, as well as ways of tracking translation progress.
Beta Was this translation helpful? Give feedback.
All reactions