Skip to content

Commit

Permalink
docs: Add documentation for @deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Oct 11, 2023
1 parent 25d8a97 commit 651f82c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,19 @@ function super() {
}
```

### `@deprecated`

Whether or not the function is deprecated. If it is, a short deprecation notice
will be prepended to the description.

**Example**
```bash
# @deprecated
say-hello() {
...
}
```

### `@section`

The name of a section of the file. Can be used to group functions.
Expand Down

0 comments on commit 651f82c

Please sign in to comment.