From 1582ef4a9f19bcf0f1d5776648ea5b4f3dd2c20d Mon Sep 17 00:00:00 2001 From: hyan Date: Thu, 6 Jun 2024 11:07:23 +0800 Subject: [PATCH] add rtd --- .readthedocs.yaml | 32 +++++++++++++++++++++++++ {docs => www}/faq.html | 0 {docs => www}/get_qweather_key.vid.html | 0 {docs => www}/index.html | 0 {docs => www}/util.js | 0 5 files changed, 32 insertions(+) create mode 100644 .readthedocs.yaml rename {docs => www}/faq.html (100%) rename {docs => www}/get_qweather_key.vid.html (100%) rename {docs => www}/index.html (100%) rename {docs => www}/util.js (100%) diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..e46175f --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,32 @@ +# .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 OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.12" + # You can also specify other tool versions: + # nodejs: "19" + # rust: "1.64" + # golang: "1.19" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: rtd/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: docs/requirements.txt diff --git a/docs/faq.html b/www/faq.html similarity index 100% rename from docs/faq.html rename to www/faq.html diff --git a/docs/get_qweather_key.vid.html b/www/get_qweather_key.vid.html similarity index 100% rename from docs/get_qweather_key.vid.html rename to www/get_qweather_key.vid.html diff --git a/docs/index.html b/www/index.html similarity index 100% rename from docs/index.html rename to www/index.html diff --git a/docs/util.js b/www/util.js similarity index 100% rename from docs/util.js rename to www/util.js