mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
override extensions in config.py
This commit is contained in:
@@ -213,6 +213,8 @@ class Config(object):
|
||||
self.overrides = overrides
|
||||
self.values = Config.config_values.copy()
|
||||
config = {}
|
||||
if "extensions" in overrides:
|
||||
config["extensions"] = overrides["extensions"]
|
||||
if dirname is not None:
|
||||
config_file = path.join(dirname, filename)
|
||||
config['__file__'] = config_file
|
||||
|
||||
Reference in New Issue
Block a user