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:
Fabian Homborg
2019-04-09 14:06:54 +02:00
parent e9f2a2904b
commit add0bd0538
2 changed files with 4 additions and 4 deletions

View File

@@ -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