diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index c9c054022..bb91497fc 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -10,13 +10,14 @@ build:
tools:
python: "3.11"
jobs:
- post_build:
+ #post_build:
+ pre_install:
- mkdir -p $READTHEDOCS_OUTPUT/html/emscripten/
- echo "
Hello
" > $READTHEDOCS_OUTPUT/html/emscripten/index.html
- git clone https://github.com/emscripten-core/emsdk.git
- emsdk/emsdk install latest
- emsdk/emsdk activate latest
- - . /home/docs/checkouts/readthedocs.org/user_builds/rebound/checkouts/emscripten/emsdk/emsdk_env.sh
+ - cd emsdk && . ./emsdk_env.sh
- emcc --version
- ls -lsa