From 8d7fff5a2b3339493dacb447be2a2496725c2d34 Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Tue, 12 Nov 2024 03:54:43 -0500 Subject: [PATCH] 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. --- DOCS/man/input.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 66df505164..86bd7412f2 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -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,