Skip to content

Commit

Permalink
try fix rtd build
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Dec 20, 2023
1 parent a74392d commit 62dcbc6
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,20 @@ build:
# apt_packages:
# - snapd
# - chromium-browser
#jobs:
# post_create_environment:
# # Install poetry
# # https://python-poetry.org/docs/#installing-manually
# - pip install poetry
# # Tell poetry to not use a virtual environment
# - poetry config virtualenvs.create false
# post_install:
# # Install dependencies with 'docs' dependency group
# # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# - poetry install -E html -E pdf -E png
commands:
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- dpkg -x google-chrome-stable_current_amd64.deb $HOME/chrome
- export PATH=$PATH:$HOME/chrome/opt/google/chrome/
- pip install poetry
- poetry config virtualenvs.create false
- poetry install -E html -E pdf -E png
jobs:
post_create_environment:
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- dpkg -x google-chrome-stable_current_amd64.deb $HOME/chrome
- export PATH=$PATH:$HOME/chrome/opt/google/chrome/
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install -E html -E pdf -E png

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down

0 comments on commit 62dcbc6

Please sign in to comment.