From 892330b904326ad0850c86396cb435c4fdf82b34 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 31 Jan 2021 11:59:43 +0100 Subject: [PATCH] docs: Drop "Other features" header This has two features now, there's no need to group it. --- doc_src/index.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc_src/index.rst b/doc_src/index.rst index 212b1a2ba..a1d5b4520 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -2004,15 +2004,10 @@ You can also use the version as a group, so ``3.0`` is equivalent to "stderr-noc Prefixing a feature with ``no-`` turns it off instead. -.. _other: - -Other features -============== - .. _event: Event handlers ---------------- +============== When defining a new function in fish, it is possible to make it into an event handler, i.e. a function that is automatically run when a specific event takes place. Events that can trigger a handler currently are: @@ -2037,7 +2032,7 @@ For more information on how to define new event handlers, see the documentation .. _debugging: Debugging fish scripts ------------------------ +====================== Fish includes a built in debugging facility. The debugger allows you to stop execution of a script at an arbitrary point. When this happens you are presented with an interactive prompt. At this prompt you can execute any fish command (there are no debug commands as such). For example, you can check or change the value of any variables using :ref:`printf ` and :ref:`set `. As another example, you can run :ref:`status print-stack-trace ` to see how this breakpoint was reached. To resume normal execution of the script, simply type :ref:`exit ` or :kbd:`Control`\ +\ :kbd:`D`.