mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
docs: Fix refs to cartesian product
There's an explicit label for "cartesian-product", but the title is "Cartesian Product*s*". So linking via with `thing <#link>`_ links the title, so without the "s" it doesn't work. From what I know, linking via :ref:`thing <label>` is preferred and works better with other exports and across files? I think I should take a doc holiday. [ci skip]
This commit is contained in:
@@ -338,7 +338,7 @@ You can iterate over a list (or a slice) with a for loop::
|
||||
<outp>entry: /usr/local/bin</outp>
|
||||
|
||||
|
||||
Lists adjacent to other lists or strings are expanded as `cartesian products <index#cartesian-product>`__ unless quoted (see `Variable expansion <index#expand-variable>`__)::
|
||||
Lists adjacent to other lists or strings are expanded as :ref:`cartesian products <cartesian-product>` unless quoted (see :ref:`Variable expansion <expand-variable>`)::
|
||||
|
||||
>_ set a 1 2 3
|
||||
>_ set 1 a b c
|
||||
|
||||
Reference in New Issue
Block a user