Skip to content

Commit

Permalink
docs: add import example
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqueiroz committed Nov 6, 2024
1 parent 6713b36 commit add6df0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/docs/libs/io.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# IO

```u hl_lines="1"
import "io"
```

## Functions

### `print(values ...any)`
Expand Down
5 changes: 5 additions & 0 deletions docs/docs/libs/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Perform mathematical operations such as absolute value, square root, trigonometric calculations, and power functions.


```u hl_lines="1"
import "math"
```

## Functions

### `abs(x num) num`
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ edit_uri: "https://github.com/pmqueiroz/umbra/tree/main/docs"
nav:
- "Getting started": index.md
- Libs:
- "Math": libs/math.md
- IO: libs/io.md
- "Math": libs/math.md
- "Learn by example":
- "Hello World": examples/hello-word.md
- "Values": examples/values.md
Expand Down

0 comments on commit add6df0

Please sign in to comment.