docs: use :doc: role when referencing entire pages

No need to define "cmd-foo" anchors; use :doc:`foo <cmds/foo>`
instead. If we want "cmd-foo" but it should be tested.

See also 38b24c2325 (docs: Use :doc: role when linking to commands,
2022-09-23).
This commit is contained in:
Johannes Altmanninger
2025-11-05 13:44:42 +01:00
parent 2cd60077e6
commit 7a59540517
117 changed files with 20 additions and 258 deletions

View File

@@ -1,6 +1,3 @@
.. _cmd-fish:
.. program::fish
fish - the friendly interactive shell
=====================================
@@ -18,7 +15,7 @@ Description
:command:`fish` is a command-line shell written mainly with interactive use in mind.
This page briefly describes the options for invoking :command:`fish`.
The :ref:`full manual <intro>` is available in HTML by using the :command:`help` command from inside fish, and in the `fish-doc(1)` man page.
The :ref:`tutorial <tutorial>` is available as HTML via ``help tutorial`` or in `man fish-tutorial`.
The :doc:`tutorial <../tutorial>` is available as HTML via ``help tutorial`` or in `man fish-tutorial`.
The following options are available: