Build configuration file handling.
Unknown Field: copyright | |
Copyright 2007-2022 by the Sphinx team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Class | Config |
Configuration file abstraction. |
Constant | CONFIG_FILENAME |
Undocumented |
Constant | UNSERIALIZABLE_TYPES |
Undocumented |
Variable | copyright_year_re |
Undocumented |
Variable | logger |
Undocumented |
Class | ConfigValue |
Undocumented |
Class | ENUM |
Represents the candidates which a config value should be one of. |
Function | check_confval_types |
Check all values for deviation from the default value's type, since that can result in TypeErrors all over the place NB. |
Function | check_primary_domain |
Undocumented |
Function | check_root_doc |
Adjust root_doc to 'contents' to support an old project which does not have any root_doc setting. |
Function | convert_highlight_options |
Convert old styled highlight_options to new styled one. |
Function | convert_source_suffix |
Convert old styled source_suffix to new styled one. |
Function | correct_copyright_year |
Correct values of copyright year that are not coherent with the SOURCE_DATE_EPOCH environment variable (if set) |
Function | eval_config_file |
Evaluate a config file. |
Function | init_numfig_format |
Initialize :confval:`numfig_format`. |
Function | is_serializable |
Check if object is serializable or not. |
Function | setup |
Undocumented |
Parameters | |
app:Sphinx | Undocumented |
env:BuildEnvironment | Undocumented |
added:Set[ | Undocumented |
changed:Set[ | Undocumented |
removed:Set[ | Undocumented |
Returns | |
Set[ | Undocumented |
Correct values of copyright year that are not coherent with the SOURCE_DATE_EPOCH environment variable (if set)
See https://reproducible-builds.org/specs/source-date-epoch/
Parameters | |
app:Sphinx | Undocumented |
config:Config | Undocumented |
Parameters | |
filename:str | Undocumented |
tags:Optional[ | Undocumented |
Returns | |
Dict[ | Undocumented |
Parameters | |
app:Sphinx | Undocumented |
config:Config | Undocumented |