Skip to content

Commit

Permalink
Merge pull request #179 from bhosale2/178_fix_readthedocs
Browse files Browse the repository at this point in the history
fix: readthedocs.yaml for failing docs (#178)
  • Loading branch information
skim0119 committed Aug 17, 2022
2 parents 1ff9bc0 + 97b6036 commit 4f5db10
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@

# .readthedocs.yaml
version: 2

# Set the version of Python and other tools you might need
build:
os: "ubuntu-20.04"
tools:
python: "3.9"
os: ubuntu-20.04
tools: {python: "3.10"}
jobs:
pre_create_environment:
- asdf plugin add poetry
- asdf install poetry latest
- asdf global poetry latest
- poetry config virtualenvs.create false # Key
post_install:
- poetry install -E docs

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

python:
install:
- requirements: docs/requirements.txt
#fail_on_warning: true

0 comments on commit 4f5db10

Please sign in to comment.