Skip to content

Commit

Permalink
Add .readthedocs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
emreozcan committed Nov 11, 2024
1 parent d928ec4 commit bd2d8d8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.10"
jobs:
post_create_environment: # Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
post_install: # Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
sphinx:
configuration: docs/source/conf.py
fail_on_warning: false
builder: html

0 comments on commit bd2d8d8

Please sign in to comment.