Skip to content

Commit

Permalink
Fix the readthedocs config
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Nov 16, 2023
1 parent b5a4281 commit 94fa130
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 18 deletions.
33 changes: 18 additions & 15 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,28 @@
# Required
version: 2

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

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
apt_packages:
- libkrb5-dev
- libpq-dev
tools:
python: "3.10"
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 poetry
- poetry install
python: "3"
# 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 poetry
# - poetry install

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

# Optionally build your docs in additional formats such as PDF and ePub
formats:
Expand Down
Loading

0 comments on commit 94fa130

Please sign in to comment.