fix: readthedocs.yaml for failing docs
-
+# .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
