Skip to content

Commit

Permalink
Try to fix RDT with build.commands
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Dec 2, 2022
1 parent 2dfd158 commit 2a7b9f0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ build:
- gfortran
- libopenmpi-dev
# - graphviz
jobs:
pre_install:
- git clone --depth=1 https://github.com/snek5000/Nek5000_for_snek.git /home/docs/Nek5000
- ls $NEK_SOURCE_ROOT
commands:
- git clone --depth=1 https://github.com/snek5000/Nek5000_for_snek.git /home/docs/Nek5000
- ls $NEK_SOURCE_ROOT
- cat docs/conf.py
- python -m virtualenv /home/docs/checkouts/readthedocs.org/user_builds/snek5000/envs/latest
- /home/docs/checkouts/readthedocs.org/user_builds/snek5000/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip nox
- /home/docs/checkouts/readthedocs.org/user_builds/snek5000/envs/latest/bin/python -m nox --session docs
- mkdir _readthedocs
- mv -r docs/_build/html _readthedocs

# Optionally set the version of Python and requirements required to build your
# docs
Expand Down

0 comments on commit 2a7b9f0

Please sign in to comment.