mirror of https://github.com/mpv-player/mpv
DOCS/man/input.rst: make event and hooks sections a level higher
They're not related to commands so they shouldn't be a subsection of list of commands.
This commit is contained in:
parent
ca38b30de3
commit
8d7fff5a2b
|
@ -1530,7 +1530,7 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
|
|||
Undocumented commands: ``ao-reload`` (experimental/internal).
|
||||
|
||||
List of events
|
||||
~~~~~~~~~~~~~~
|
||||
--------------
|
||||
|
||||
This is a partial list of events. This section describes what
|
||||
``mpv_event_to_node()`` returns, and which is what scripting APIs and the JSON
|
||||
|
@ -1723,7 +1723,7 @@ The following events also happen, but are deprecated: ``idle``, ``tick``
|
|||
Use ``mpv_observe_property()`` (Lua: ``mp.observe_property()``) instead.
|
||||
|
||||
Hooks
|
||||
~~~~~
|
||||
-----
|
||||
|
||||
Hooks are synchronous events between player core and a script or similar. This
|
||||
applies to client API (including the Lua scripting interface). Normally,
|
||||
|
|
Loading…
Reference in New Issue