Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Jun 8, 2023
1 parent 777ee3f commit f0720ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,8 @@ def setup(sphinx_app):
)

if gen_code_docs:
os.environ["SQLALCHEMY_DATABASE_URI"] = "not a uri"
os.environ["SECRET_KEY"] = "not a secret key"

from flexmeasures.app import create

create() # we need to create the app for when sphinx imports modules that use current_app
create(
env="documentation"
) # we need to create the app for when sphinx imports modules that use current_app

0 comments on commit f0720ce

Please sign in to comment.