Skip to content

Commit

Permalink
trying to fix readthedocs build
Browse files Browse the repository at this point in the history
  • Loading branch information
tabacof committed Dec 6, 2023
1 parent f94bd44 commit 9a40142
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
Expand All @@ -14,10 +13,15 @@ build:
commands:
- python -m venv .venv
- . .venv/bin/activate
- pip install -r requirements.txt
- python -m pip install --exists-action=w --no-cache-dir -r requirements.txt
- maturin develop --release
- python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH
- python -m pip install --upgrade --no-cache-dir pip setuptools
- python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext
- python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
- cat docs/conf.py
- python -m sphinx -T -E -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/htm

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

Expand Down

0 comments on commit 9a40142

Please sign in to comment.