From 066ef92cafcc8af653957ba2db3bfff8014239fb Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Wed, 29 Jan 2025 03:13:24 +0000 Subject: [PATCH] fix: fix the readthedocs config --- .readthedocs.yaml | 3 ++- template/.readthedocs.yaml.jinja | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2c41ea64..c8a733e7 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -30,7 +30,8 @@ build: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make mypy doc-coverage os: ubuntu-24.04 tools: - python: '3.12' + python: "3.12" sphinx: + configuration: docs/conf.py fail_on_warning: true version: 2 diff --git a/template/.readthedocs.yaml.jinja b/template/.readthedocs.yaml.jinja index c7e7e160..9ca2b58a 100644 --- a/template/.readthedocs.yaml.jinja +++ b/template/.readthedocs.yaml.jinja @@ -30,7 +30,8 @@ build: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make mypy doc-coverage os: ubuntu-24.04 tools: - python: '{{ default_py }}' + python: "{{ default_py }}" sphinx: + configuration: docs/conf.py fail_on_warning: true version: 2