[enh] settings.yml: allow granular overwrites for about

dependabot/pip/master/sphinx-6.1.3
Martin Fischer 2 years ago
parent 8a0810cedc
commit df34b1ddcf

@ -138,6 +138,8 @@ def update_engine_attributes(engine, engine_data):
if isinstance(param_value, str):
param_value = list(map(str.strip, param_value.split(',')))
engine.categories = param_value
elif hasattr(engine, 'about') and param_name == 'about':
engine.about = {**engine.about, **engine_data['about']}
else:
setattr(engine, param_name, param_value)

Loading…
Cancel
Save