From f2a36609841d72f41c0797aca226597ea63b4d4f Mon Sep 17 00:00:00 2001 From: Hailin Wang Date: Thu, 21 Dec 2023 12:43:42 +0800 Subject: [PATCH] add explicit readthedocs config file (#278) --- .readthedocs.yaml | 18 ++++++++++++++++++ documentation/requirements.txt | 9 +++++++++ 2 files changed, 27 insertions(+) create mode 100644 .readthedocs.yaml create mode 100644 documentation/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..90257c1c --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,18 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "2.7" + +sphinx: + configuration: documentation/conf.py + +formats: all + +python: + install: + - requirements: documentation/requirements.txt diff --git a/documentation/requirements.txt b/documentation/requirements.txt new file mode 100644 index 00000000..3acd3cb2 --- /dev/null +++ b/documentation/requirements.txt @@ -0,0 +1,9 @@ +pillow +mock==1.0.1 +alabaster>=0.7,<0.8,!=0.7.5 +commonmark==0.9.1 +recommonmark==0.5.0 +sphinx<2 +sphinx-rtd-theme<0.5 +readthedocs-sphinx-ext<2.3 +jinja2<3.1.0