Skip to content

[3.0] Add generator docs#2578

Draft
Exanite wants to merge 65 commits into
develop/3.0from
feature/generator-docs
Draft

[3.0] Add generator docs#2578
Exanite wants to merge 65 commits into
develop/3.0from
feature/generator-docs

Conversation

@Exanite
Copy link
Copy Markdown
Member

@Exanite Exanite commented May 11, 2026

Summary of the PR

(WIP)

This replaces my previous WIP PR for adding generator usage documentation (#2545) in favor of providing a more complete set of docs relating to both using the generator and how the generator internals work.

Related issues, Discord discussions, or proposals

Related discord thread: https://discord.com/channels/521092042781229087/1500974857079492749

  • Currently not much to see here since all my thoughts have been put into the docs instead.

Further Comments

There are sections that I left empty (marked with TODOs) since I don't have enough knowledge to fill out those sections.

Tasks

  • Write the generator docs
    • Using the Generator
    • Naming Pipeline
    • Generator Mods
  • Ensure examples have matching unit tests
  • Update unit tests to use new document verification utility
  • Fix or add tasks for the following issues identified while writing the docs:
    • ExtractNestedTyping constant extraction does not handle nor rewrite fields that are typed as a predefined type, but are natively typed as an enum (test case: SuccessfullyExtractsCStyleEnumConstants_Field)
    • ExtractNestedTyping constant extraction does not handle nor rewrite return types that are typed as a predefined type, but are natively typed as an enum (test case: SuccessfullyExtractsCStyleEnumConstants_ReturnType)
    • ExtractNestedTyping does not annotate extracted enums with the [NativeName] attribute. Eg: SDL_BlendMode.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

File Coverage
All files 17%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against 8484427

Exanite added 26 commits May 11, 2026 21:20
This is because project path is null during unit tests and I can't figure out if it is possible to set the project path of an AdhocWorkspace project.
…ng SuccessfullyExtractsCStyleEnumConstants_ReturnType test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant