From 41bb8ba2acc18f6d6b199e49d0e8e5802bb88716 Mon Sep 17 00:00:00 2001 From: Shaowen Yin Date: Sun, 30 Jun 2024 20:50:08 +0800 Subject: [PATCH] docs: try to fix readthedocs CI (#852) --- .readthedocs.yaml | 5 +++++ docs/requirements.txt | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3762ce96ed..8baba8f020 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,3 +14,8 @@ build: # Build documentation in the "docs/" directory with Sphinx sphinx: configuration: docs/source/conf.py + +# Explicitly set the version of Python and its requirements +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt index 2d07ca02a1..82133027c9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,2 @@ -PyQt5 +sphinx +sphinx_rtd_theme