-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Remove Enum from Luau Reference section #1250
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
Remove Enum from Luau Reference section #1250
Conversation
|
Hi @gaymeowing ,
Admittedly, Enums are not strictly a "Luau type" so the current placement isn't perfect, but it does sit beside other "types you can assign to variables or use in conditional statements" just like nil, booleans, strings, etc. in that TOC branch, so it's fairly logical IMO. If you have other suggestions on how to reorganize the current articles in the Scripting branch, please comment here and we can look into it. |
|
Perhaps a DataTypes section under Scripting? As there's also an article on CFrames, and Content (bit odd but I think the docs on Content paths like |
|
Hey all, yeah, rather than moving anything, I think it's worth just noting on the enums page, "These aren't technically a Luau type, just Engine presets that you access through the enum data type, but they're conceptually similar enough and something you work with all the time in Roblox development." The other option would be to just delete the page, but the content is decent enough that I think the lesser evil is to leave it somewhere not-quite-logically consistent. |
|
Hi @gaymeowing , |
* add info notice to enums docs stating they arent a built in luau type * fix another luau site url in the scriping section
…Enum properties to an EnumItem's value
|
hi |

Moved the Enum page to be under the Scripting section instead of Luau Reference.
Also fixed the luau url on the index page for the scripting Section, and added a warning about using the
Valueproperty of EnumItems.