mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 21:56:49 +00:00
Dumb
This commit is contained in:
parent
712983ef56
commit
4da64d8fd9
@ -42,7 +42,7 @@ def on_config(config, *args, **kwargs):
|
|||||||
readthedocs = {}
|
readthedocs = {}
|
||||||
|
|
||||||
for key in os.environ.keys():
|
for key in os.environ.keys():
|
||||||
if key.lower().startswith('READTHEDOCS_'):
|
if key.startswith('READTHEDOCS_'):
|
||||||
k = key.replace('READTHEDOCS_', '').lower()
|
k = key.replace('READTHEDOCS_', '').lower()
|
||||||
readthedocs[k] = os.environ[key]
|
readthedocs[k] = os.environ[key]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user