Skip to content

Commit

Permalink
Fix documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed May 3, 2022
1 parent 9f68b6d commit 1eb2256
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,8 @@ def setup(app):
shutil.copy(os.path.join(HERE, '..', 'CHANGELOG.md'), dest)

autogen_config = os.path.join(HERE, "autogen_config.py")
prev_dir = os.getcwd()
os.chdir(HERE)
with open(autogen_config) as f:
exec(compile(f.read(), autogen_config, "exec"), {})
os.chdir(prev_dir)

0 comments on commit 1eb2256

Please sign in to comment.