class Config:
Configuration file abstraction.
The config object makes the values of all config values available as attributes.
It is exposed via the sphinx.application.Application.config
and
sphinx.environment.Environment.config
attributes. For example,
to get the value of :confval:`language`, use either app.config.language
or env.config.language.
Class Method | read |
Create a Config object from configuration file. |
Method | __contains__ |
Undocumented |
Method | __delitem__ |
Undocumented |
Method | __getattr__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __getstate__ |
Obtains serializable data for pickling. |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | __setstate__ |
Undocumented |
Method | add |
Undocumented |
Method | convert_overrides |
Undocumented |
Method | filter |
Undocumented |
Method | init_values |
Undocumented |
Method | post_init_values |
Initialize additional config variables that are added after init_values() called. |
Method | pre_init_values |
Initialize some limited config variables before initializing i18n and loading extensions. |
Class Variable | config_values |
Undocumented |
Instance Variable | _raw_config |
Undocumented |
Instance Variable | extensions |
Undocumented |
Instance Variable | overrides |
Undocumented |
Instance Variable | setup |
Undocumented |
Instance Variable | values |
Undocumented |
Undocumented
Parameters | |
config:Dict[ | Undocumented |
overrides:Dict[ | Undocumented |
Undocumented
Parameters | |
name:str | Undocumented |
default:Any | Undocumented |
rebuild:Union[ | Undocumented |
types:Any | Undocumented |
Undocumented
Parameters | |
name:str | Undocumented |
value:Any | Undocumented |
Returns | |
Any | Undocumented |
Undocumented
Parameters | |
rebuild:Union[ | Undocumented |
Returns | |
Iterator[ | Undocumented |