Skip to content

Commit

Permalink
Let's include the helper this time (#249).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell committed Dec 9, 2024
1 parent 828da73 commit 1af88a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ build:
- make
tools:
python: "mambaforge-22.9"
jobs:
post_create_environment:
- bash ./docs/.rtd_helper.sh

conda:
environment: docs/.rtd_environment.yaml

python:
install:
- method: pip
path: .
path: python

sphinx:
configuration: docs/source/conf.py
8 changes: 8 additions & 0 deletions docs/.rtd_helper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

ROOT_PATH=`dirname $0`
cd ${ROOT_PATH}/../bifrost
INSTALL_PREFIX=`python -c "import os,sys; print(os.path.dirname(os.path.dirname(sys.executable)))"`
./configure --prefix=${INSTALL_PREFIX}
make -j all
make install

0 comments on commit 1af88a3

Please sign in to comment.