From 531b8b54c08d533440d8888da076dd0c65f66aff Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Wed, 1 Jun 2022 14:40:40 +0200 Subject: [PATCH] docs: Always skip the missing dependencies when building docs --- docs/conf.py | 3 +++ tox.ini | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index e16b2dd..477e704 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/tox.ini b/tox.ini index 1da56b4..c41cc7b 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ commands = [testenv:docs] changedir = docs deps = - -rrequirements.txt + -rdocs/requirements.txt whitelist_externals = mkdir rm