Skip to content

Commit

Permalink
more special case for rtd (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl authored Jan 11, 2021
1 parent b97e851 commit 2a8316c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2a8316c

Please sign in to comment.