Hello Takayuki,
for k in more:
exec(%s = %r % (k, more[k]))
I see, this works.
index.rst::
Welcome to conf.py test
=
:release: |release|
:version: |version|
That looked very promising at first sight - I was very excited. But
it's restricted to
Hi Sebastian,
Quick and dirty: globals().update(read_my_dict_from_yaml())
Well, looks like it's even the right and clean solution in my case!
Alternativel you can update the settings after Sphinx has parsed conf.py:
def setup(app):
for key, value in read_my_dict_from_yaml():