From 717635cd121b1de8076f81516256eb9908ae19d5 Mon Sep 17 00:00:00 2001 From: eight04 Date: Sun, 22 Oct 2023 23:30:07 +0800 Subject: [PATCH] Fix: readthedocs config --- .readthedocs.yaml | 30 ++++++++++++++++++++++++++++++ .readthedocs.yml | 5 ----- 2 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .readthedocs.yaml delete mode 100644 .readthedocs.yml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..3e67108 --- /dev/null +++ b/.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.10" + # You can also specify other tool versions: + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py + # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs + # builder: "dirhtml" + # Fail on all warnings to avoid broken references + # fail_on_warning: true +# 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-lock.txt diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index 84bd8d0..0000000 --- a/.readthedocs.yml +++ /dev/null @@ -1,5 +0,0 @@ -requirements_file: requirements.txt -python: - version: 3 - pip_install: true -