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:
nanahi 2024-11-12 03:54:43 -05:00 committed by Kacper Michajłow
parent ca38b30de3
commit 8d7fff5a2b
1 changed files with 2 additions and 2 deletions

View File

@ -1530,7 +1530,7 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
Undocumented commands: ``ao-reload`` (experimental/internal). Undocumented commands: ``ao-reload`` (experimental/internal).
List of events List of events
~~~~~~~~~~~~~~ --------------
This is a partial list of events. This section describes what 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 ``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. Use ``mpv_observe_property()`` (Lua: ``mp.observe_property()``) instead.
Hooks Hooks
~~~~~ -----
Hooks are synchronous events between player core and a script or similar. This Hooks are synchronous events between player core and a script or similar. This
applies to client API (including the Lua scripting interface). Normally, applies to client API (including the Lua scripting interface). Normally,