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,5 +1,3 @@
.. _cmd-complete:
complete - edit command-specific tab-completions
================================================
@@ -16,7 +14,7 @@ Description
``complete`` defines, removes or lists completions for a command.
For an introduction to writing your own completions, see :ref:`Writing your own completions <completion-own>` in
For an introduction to writing your own completions, see :doc:`Writing your own completions <../completions>` in
the fish manual.
The following options are available: