Skip to content

Commit

Permalink
Fix building documentation with dev config (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Feb 16, 2023
1 parent bc67c58 commit 3902716
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#
import os
import sys

# This will cause the Flask application to be created with development configs
os.environ['DOCS'] = 'true'

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../')))
import greenwave # noqa: E402

Expand Down

0 comments on commit 3902716

Please sign in to comment.