From e574e110fef4f988ee2d8285d1cef604e33df7a6 Mon Sep 17 00:00:00 2001 From: lucasli <410567249@qq.com> Date: Tue, 26 Sep 2023 17:51:01 +0800 Subject: [PATCH] add yaml file to build success for readthedoc --- 2.x/.readthedocs.yaml | 29 +++++++++++++++++++++++++++++ 2.x/en/.readthedocs.yaml | 29 +++++++++++++++++++++++++++++ 3.x/zh_CN/.readthedocs.yaml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 2.x/.readthedocs.yaml create mode 100644 2.x/en/.readthedocs.yaml create mode 100644 3.x/zh_CN/.readthedocs.yaml diff --git a/2.x/.readthedocs.yaml b/2.x/.readthedocs.yaml new file mode 100644 index 000000000..7871ef8c3 --- /dev/null +++ b/2.x/.readthedocs.yaml @@ -0,0 +1,29 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.7" + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" + +sphinx: + configuration: 2.x/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: + - pdf + - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: ./requirements.txt \ No newline at end of file diff --git a/2.x/en/.readthedocs.yaml b/2.x/en/.readthedocs.yaml new file mode 100644 index 000000000..08887bb06 --- /dev/null +++ b/2.x/en/.readthedocs.yaml @@ -0,0 +1,29 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.7" + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" + +sphinx: + configuration: 2.x/en/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: + - pdf + - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: ./requirements.txt \ No newline at end of file diff --git a/3.x/zh_CN/.readthedocs.yaml b/3.x/zh_CN/.readthedocs.yaml new file mode 100644 index 000000000..8aeb92280 --- /dev/null +++ b/3.x/zh_CN/.readthedocs.yaml @@ -0,0 +1,30 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.7" + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" + +sphinx: + configuration: 3.x/zh_CN/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: ./requirements.txt +