Vdom_keyboard.Help_textA Help_text.t represents the documentation for a collection of commands. It can be displayed as a Vdom node.
This can be used to create a web ui help menu.
module View_spec : sig ... endmodule Command : sig ... endA Command.t represents the help text for a single command.
include Sexplib0.Sexpable.S with type t := tinclude Sexplib0.Sexpable.Of_sexp with type t := tval t_of_sexp : Sexplib0.Sexp.t -> tinclude Sexplib0.Sexpable.Sexp_of with type t := tval sexp_of_t : t -> Sexplib0.Sexp.tinclude Ppx_compare_lib.Comparable.S with type t := tval empty : tval is_empty : t -> boolval view : ?sep:string -> t -> View_spec.t -> Virtual_dom.Vdom.Node.tview displays a help text table. Each row shows a list of keys and a description. Multiple commands with the same description may be combined into one row.
view_rows is similar to view, but returns a list of row nodes instead of wrapping them in a table node.
val view_rows : ?sep:string -> t -> View_spec.t -> Virtual_dom.Vdom.Node.t list