From f873a5890f4d1201e02437c003f85586abd11ff8 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 24 Jan 2021 00:44:20 +0900 Subject: [PATCH] Fix #8054: Add explanation for types argument of add_config_value() --- sphinx/application.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sphinx/application.py b/sphinx/application.py index 54a2603aa..703d1b993 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -499,6 +499,10 @@ class Sphinx: documents. * ``''`` if a change in the setting will not need any special rebuild. + The *types* value takes a list of types that describes the type of + configuration value. For example, ``[str]`` is used to describe a + configuration that takes string value. + .. versionchanged:: 0.6 Changed *rebuild* from a simple boolean (equivalent to ``''`` or ``'env'``) to a string. However, booleans are still accepted and