From 2a8316c2bebccb0b579975d712735bcfd0aa2f77 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Mon, 11 Jan 2021 18:14:23 -0500 Subject: [PATCH] more special case for rtd (#50) --- docs/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index c395ccb3..40220bec 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,6 +13,14 @@ ROOT = HERE.parent +if os.environ.get("READTHEDOCS", False): + check_call(["jlpm", "bootstrap"], cwd=str(ROOT)) + check_call( + [sys.executable, "-m", "pip", "install", "-e", ".", "--no-deps"], + cwd=str(ROOT) + ) + + def build_finished(_app, exception): """handle post-build steps""" if exception is None: