Skip to content

Generate metadata for molang queries #111

Merged
rlandav merged 5 commits intomainfrom
rlanda/supportMolang
Jan 16, 2026
Merged

Generate metadata for molang queries #111
rlandav merged 5 commits intomainfrom
rlanda/supportMolang

Conversation

@rlandav
Copy link
Copy Markdown
Collaborator

@rlandav rlandav commented Jan 16, 2026

While doing some documentation work, I decided to start outputting info about our molang in metadata just like our other APIs for consistency. We won't really do anything with it yet (unless it seems desirable), so for now this just makes it so that the generator can handle them and provide them to sub-generators without choking.

Copy link
Copy Markdown
Member

@JakeShirley JakeShirley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Would be really nice to get the documentation auto-generated for this stuff long term.

Thanks for doing this!

Comment thread tools/api-docs-generator-test-snapshots/vite.config.mts Outdated
Copy link
Copy Markdown
Contributor

@SBLMikeDemone SBLMikeDemone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, without a plan to document this right now, is doing any of the type checking or storing any of the data necessary?

I would love to see this documented in ms docs though, so I'm fine with leaving all the preliminary work in :)

@rlandav
Copy link
Copy Markdown
Collaborator Author

rlandav commented Jan 16, 2026

Hmm, without a plan to document this right now, is doing any of the type checking or storing any of the data necessary?

I would love to see this documented in ms docs though, so I'm fine with leaving all the preliminary work in :)

I think it is still useful to output the raw data, and creators tend to use that directly anyways. This will allow these to publish to bedrock-samples at a minimum, or be usable internally for PRs.

But yeah, if y'all want to add documentation that would be cool too, or I could give it a shot when I have time in the background.

@rlandav rlandav merged commit fe7f075 into main Jan 16, 2026
3 checks passed
@rlandav rlandav deleted the rlanda/supportMolang branch January 16, 2026 21:42
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.

3 participants