From 34ca18a217147854b42069e340f5ef46d36a04a2 Mon Sep 17 00:00:00 2001 From: yrk111222 <2493404415@qq.com> Date: Tue, 22 Oct 2024 11:29:15 +0800 Subject: [PATCH 1/2] Create .readthedocs.yaml --- docs/source/.readthedocs.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/source/.readthedocs.yaml diff --git a/docs/source/.readthedocs.yaml b/docs/source/.readthedocs.yaml new file mode 100644 index 0000000..51c5fba --- /dev/null +++ b/docs/source/.readthedocs.yaml @@ -0,0 +1,27 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + + + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/source/conf.py + +python: + install: + - requirements: docs/source/requirement.txt +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# python: +# install: +# - requirements: docs/requirements.txt From b43cc35dd93a64c7e85a35f9c98f5db88a41b629 Mon Sep 17 00:00:00 2001 From: yrk111222 <2493404415@qq.com> Date: Tue, 22 Oct 2024 11:30:17 +0800 Subject: [PATCH 2/2] Create .readthedocs.yaml --- docs/source_en/.readthedocs.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/source_en/.readthedocs.yaml diff --git a/docs/source_en/.readthedocs.yaml b/docs/source_en/.readthedocs.yaml new file mode 100644 index 0000000..ce01de2 --- /dev/null +++ b/docs/source_en/.readthedocs.yaml @@ -0,0 +1,25 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +python: + install: + - requirements: docs/source_en/requirement.txt +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/source_en/conf.py + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# python: +# install: +# - requirements: docs/requirements.txt