From 62a815bddff6dea9de3181576f6fe5dd86f37370 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 3 Aug 2014 02:42:38 +0400 Subject: [PATCH] Fix segment_data key description in configuration reference --- docs/source/configuration/reference.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/configuration/reference.rst b/docs/source/configuration/reference.rst index b096f922..1c3ee800 100644 --- a/docs/source/configuration/reference.rst +++ b/docs/source/configuration/reference.rst @@ -228,12 +228,12 @@ Themes ``segment_data`` A dict where keys are segment names or strings ``{module}.{name}``. Used to specify default values for various keys: - :ref:`after `, + :ref:`after `, :ref:`args ` (only for function segments), - :ref:`before `, - :ref:`contents ` (only for string segments + :ref:`before `, + :ref:`contents ` (only for string segments if :ref:`name ` is defined), - :ref:`display `. When using :ref:`local themes ` values of these keys are first searched in the segment description, then in ``segment_data`` key of a local theme, then in ``segment_data`` key of a :ref:`default theme @@ -361,6 +361,7 @@ Themes *not* included in any modes, *except* for the modes in this list. ``display`` + .. _config-themes-seg-display: Boolean. If false disables displaying of the segment.