Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing documentation for 'name' key in decoration definition #14761

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aminothere
Copy link
Contributor

This PR makes no changes to running code, but adds missing documentation to lua_api.md.

This PR adds a description of the 'name' key in the decoration registration table definition.

The 'name' key in the decoration registration table is hardly documented, apart from a side mention in the list of global tables. An explicit description in the proper place makes its use in minetest.get_decoration_id and subsequently the use of minetest.set_gen_notify a little more clear.

@wsor4035 wsor4035 added @ Documentation Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines labels Jun 19, 2024
@aminothere aminothere changed the title [Trivial][Documentation] Describe 'name' key in decoration definition Describe 'name' key in decoration definition Jun 20, 2024
@aminothere aminothere changed the title Describe 'name' key in decoration definition Add missing documentation for 'name' key in decoration definition Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Documentation Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants