From 867143ef05f3307b7c0d7cdf5aeb5a084cbae9b0 Mon Sep 17 00:00:00 2001 From: Linchin Date: Fri, 20 Oct 2023 17:52:50 +0000 Subject: [PATCH 1/5] docs: set version: 2 in .readthedocs.yml --- .readthedocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 9b3d6854..9e5d26be 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,6 +2,8 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +version: 2 + requirements_file: docs/requirements-docs.txt build: image: latest From 7e347aeb728bef7629be09fe4ec7e1456561a38c Mon Sep 17 00:00:00 2001 From: Linchin Date: Fri, 20 Oct 2023 17:55:43 +0000 Subject: [PATCH 2/5] move requirement file to python.requirements --- .readthedocs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 9e5d26be..f625c6bb 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,9 +4,11 @@ version: 2 -requirements_file: docs/requirements-docs.txt build: image: latest + python: pip_install: true version: 3.8 + install: + - requirements: docs/requirements.txt From 2d87317138316602dac5a701da972c6ce9dce7f9 Mon Sep 17 00:00:00 2001 From: Linchin Date: Fri, 20 Oct 2023 18:00:03 +0000 Subject: [PATCH 3/5] remove pip_install: true --- .readthedocs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index f625c6bb..1f2dc23d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,7 +8,6 @@ build: image: latest python: - pip_install: true version: 3.8 install: - requirements: docs/requirements.txt From cbad800a064a5814e7769fc503f12beeea2b3169 Mon Sep 17 00:00:00 2001 From: Linchin Date: Fri, 20 Oct 2023 18:02:32 +0000 Subject: [PATCH 4/5] change build.image to build.os --- .readthedocs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1f2dc23d..045b7176 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,9 +5,10 @@ version: 2 build: - image: latest + os: ubuntu-22.04 + tools: + python: "3.11" python: - version: 3.8 install: - requirements: docs/requirements.txt From 01aa6813ce433370993a3f5dec4892afd65bbef9 Mon Sep 17 00:00:00 2001 From: Linchin Date: Fri, 20 Oct 2023 18:04:23 +0000 Subject: [PATCH 5/5] fix requirement docs name --- .readthedocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 045b7176..7ae21e16 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,6 +2,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + version: 2 build: @@ -11,4 +15,4 @@ build: python: install: - - requirements: docs/requirements.txt + - requirements: docs/requirements-docs.txt