Skip to content

Commit

Permalink
update docs for 0.7.8 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
catgirlinspace authored Oct 6, 2023
1 parent d910b08 commit 95f49cc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pages/api-reference/datetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ local now = DateTime.now()
print(now:toIsoDate())

-- Formats the current moment in time, using the local
-- time, the Frech locale, and the specified time string
-- time, the French locale, and the specified time string
print(now:formatLocalTime("%A, %d %B %Y", "fr"))

-- Returns a specific moment in time as a DateTime instance
Expand Down
4 changes: 3 additions & 1 deletion pages/api-reference/luau.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ The Luau load options are used for generating a lua function from either bytecod

This is a dictionary that may contain one or more of the following values:

- `debugName` - The debug name of the closure. Defaults to `string ["..."]`
- `debugName` - The debug name of the closure. Defaults to `luau.load(...)`
- `environment` - Environment values to set and/or override. Includes default globals unless
overwritten.

---
5 changes: 5 additions & 0 deletions pages/api-reference/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ Setting the exit code using this function will override any otherwise automatic

- `code` The exit code to set

#### Returns

- never

---

### spawn
Expand Down Expand Up @@ -141,6 +145,7 @@ A dictionary of options for `process.spawn`, with the following available values
string to run using a specific shell
- `stdio` - How to treat output and error streams from the child process - set to "inherit" to
pass output and error streams to the current process
- `stdin` - Optional standard input to pass to spawned child process

---

Expand Down
4 changes: 1 addition & 3 deletions pages/api-reference/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@ Defers a thread or function to run at the end of the current task queue.

Delays a thread or function to run after `duration` seconds.

If no `duration` is given, this will wait for the minimum amount of time possible.

#### Parameters

- `duration` number?
- `duration` number

- `functionOrThread` The function or thread to delay

Expand Down

0 comments on commit 95f49cc

Please sign in to comment.