Skip to content

Commit

Permalink
docs: Always skip the missing dependencies when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Jun 1, 2022
1 parent 46e2830 commit 531b8b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
# This will cause the Flask application to be created with development configs
os.environ['DEV'] = 'true'

# Workaround to skip some missing dependencies
os.environ['DOCS'] = 'true'

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

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ commands =
[testenv:docs]
changedir = docs
deps =
-rrequirements.txt
-rdocs/requirements.txt
whitelist_externals =
mkdir
rm
Expand Down

0 comments on commit 531b8b5

Please sign in to comment.