Merge exclude_modes and include_modes documentation

This commit is contained in:
ZyX 2014-09-04 19:38:22 +04:00
parent b5a551eb56
commit ea2fd28292

View File

@ -493,13 +493,14 @@ ascii Theme without any unicode characters at all
.. _config-themes-seg-exclude_modes: .. _config-themes-seg-exclude_modes:
``exclude_modes`` ``exclude_modes``, ``include_modes``
A list of modes where this segment will be excluded: the segment is A list of modes where this segment will be excluded: the segment is not
included in all modes, *except* for the modes in this list. included or is included in all modes, *except* for the modes in one of
these lists respectively. If ``exclude_modes`` is not present then it
``include_modes`` acts like an empty list (segment is not excluded from any modes).
A list of modes where this segment will be included: the segment is Without ``include_modes`` it acts like a list with all possible modes
*not* included in any modes, *except* for the modes in this list. (segment is included in all modes). When there are both
``exclude_modes`` overrides ``include_modes``.
.. _config-themes-seg-display: .. _config-themes-seg-display: