Skip to content

Conversation

@gaymeowing
Copy link
Contributor

@gaymeowing gaymeowing commented Sep 17, 2025

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 Value property of EnumItems.

@gaymeowing gaymeowing requested a review from a team as a code owner September 17, 2025 15:12
@github-actions github-actions bot added the engine guides Changes the Engine guides label Sep 17, 2025
@gaymeowing gaymeowing changed the title Inital commit Remove Enum from Luau Reference section Sep 17, 2025
@IgnisRBX
Copy link
Contributor

Hi @gaymeowing ,
Is your suggestion to also move Enums up into the main Scripting branch in the left-side TOC? I think that would look a bit misplaced because it would then sit beside other higher-level scripting articles.

image

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.

@gaymeowing
Copy link
Contributor Author

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 rbxthumb:// and the Content DataType itself could be separated out)

@aetter
Copy link
Contributor

aetter commented Sep 25, 2025

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.

@Roblox Roblox deleted a comment from brionawilliams2026-web Sep 26, 2025
@IgnisRBX
Copy link
Contributor

Hi @gaymeowing ,
Could you please revert the file location of the Enums page in this PR? Then I can proceed to review the other changes and merge it in. Thanks!

* add info notice to enums docs stating they arent a built in luau type
* fix another luau site url in the scriping section
@github-actions github-actions bot added the changes requested This pull request has changes requested prior to merging label Sep 29, 2025
@IgnisRBX IgnisRBX merged commit 5012ec9 into Roblox:main Sep 30, 2025
3 checks passed
@brionawilliams2026-web
Copy link

hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes requested This pull request has changes requested prior to merging engine guides Changes the Engine guides

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants