Skip to content

Commit

Permalink
docs: add roblox page
Browse files Browse the repository at this point in the history
  • Loading branch information
lukadev-0 committed Feb 11, 2024
1 parent 945e7b5 commit e9a49f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default defineConfig({
items: [
{ text: "Introduction", link: "/introduction" },
{ text: "Runtimes", link: "/runtimes" },
{ text: "Roblox", link: "/roblox" },
],
},
{
Expand Down
11 changes: 11 additions & 0 deletions docs/roblox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Roblox

luau.util is designed to work on Roblox too, this is done by processing the
code with [darklua](https://darklua.com/) which will convert the path requires
into Roblox style requires.

## Wally

When syncing the code using [Rojo](https://rojo.space/), it will correctly use
the Roblox version of the code, this is done by adding a `default.project.json`
to the package and pointing it to the generated `roblox` directory.

0 comments on commit e9a49f5

Please sign in to comment.