Skip to content

Expose ID constants and improve generated stdlib API docs - #78

Merged
Frotty merged 1 commit into
masterfrom
codex/stdlib-member-documentation
Oct 7, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/stdlib-member-documentation

Conversation

@Frotty

@Frotty Frotty commented Oct 7, 2026

Copy link
Copy Markdown
Member

The generated stdlib reference omitted public class constants such as AbilityIds.blizzard, hiding their rawcode values. It also missed members in four-space-indented sources, and retained comment indentation in fenced code examples.

Include public class constants with initializer values and documentation, accept both Wurst indentation styles, and give constants stable anchors. Compact rawcode comments such as 'AHbz' / AbilityIds.blizzard link to the documented constant when available. Constructor documentation remains attached to the constructor; private members and function-local constants are excluded. Code examples retain relative indentation and can be copied without the comment's leading indentation.

Add a deno task test regression suite and run it before scheduled/manual reference regeneration. Generated reference pages are not committed in this PR; regenerate them after the stdlib documentation update merges.

Validation: three Deno regression tests passed. A complete scratch reference generation against the updated stdlib produced 170 files from 168 packages; inspected field comments, examples, rawcode values, and links. git diff --check passed.

Companions: wurstscript/WurstScript#1375 and wurstscript/WurstStdlib2#506

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T12:09:33.280942Z 3bbd2e5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty
Frotty merged commit 51ca2ea into master Oct 7, 2026
2 checks passed
@Frotty
Frotty deleted the codex/stdlib-member-documentation branch October 7, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant