Skip to content

Commit

Permalink
Fix RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Feb 21, 2025
1 parent b61f66c commit dbb63d3
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@ build:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry==1.8.4
# - pip install poetry==1.8.4
- curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
# - export PATH="$HOME/.local/bin:$PATH" && poetry config virtualenvs.create false
- export PATH="$HOME/.local/bin:$PATH" && /home/docs/.local/bin/poetry config virtualenvs.create false
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
# - poetry config virtualenvs.create false
post_install:
- poetry install -E "all" --with docs
# - poetry install --with docs -E all
- /home/docs/.local/bin/poetry install --with docs -E all
commands:
# Run your docs build using Poetry; this command will run instead of the default Sphinx build.
- /home/docs/.local/bin/poetry run sphinx-build -b html docs docs/_build/html


# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# sphinx:
# configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
Expand All @@ -39,3 +47,5 @@ sphinx:
# - method: pip
# path: .
# - requirements: docs/requirements.txt
python:
install: []

0 comments on commit dbb63d3

Please sign in to comment.