Skip to content

Commit

Permalink
chore(build): auto-generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 9, 2024
1 parent 1c14851 commit ac215f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/dev/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ Checks whether docs are visible or not
Scroll up or down in the docs window by `delta` lines.

## Select
`menu:select(): nil`
`menu:select(direction?: integer): nil`

This method is used for selection. It's called in `select_prev` and `select_next` and is responsible
for redrawing the menu, opening documentation and inserting the selected entry if required.
Direction can either be 1 (down) or -1 (up)

## Draw Docs
`menu:draw_docs(entry: care.entry?): nil`
Expand Down

0 comments on commit ac215f7

Please sign in to comment.