aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt2022-01-12 02:35:00 +0100
committerHeinrich Schuchardt2022-01-15 10:57:21 +0100
commit8804b276a7ebab31573ecbbf08832a54bdfad48d (patch)
treeccf06b3bb8f464cd966453dc27f78464c0f330d1
parentbba1cc9b8c857855f4db42dc9f92b0f98d78df25 (diff)
.readthedocs.yml: update the requirements
Fix an error: This project needs at least Sphinx v2.4.4. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--.readthedocs.yml15
-rw-r--r--doc/sphinx/requirements.txt6
2 files changed, 13 insertions, 8 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml
index 44949ea239d..7c6c25541a3 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -5,6 +5,13 @@
# Required
version: 2
+build:
+ os: "ubuntu-20.04"
+ apt_packages:
+ - python3-six
+ tools:
+ python: "3.9"
+
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/conf.py
@@ -12,8 +19,6 @@ sphinx:
# Optionally build your docs in additional formats such as PDF and ePub
formats: []
-# Optionally set the version of Python and requirements required to build your docs
-# python:
-# version: 3.7
-# install:
-# - requirements: docs/requirements.txt
+python:
+ install:
+ - requirements: doc/sphinx/requirements.txt
diff --git a/doc/sphinx/requirements.txt b/doc/sphinx/requirements.txt
index 4555a94d300..44c187880d6 100644
--- a/doc/sphinx/requirements.txt
+++ b/doc/sphinx/requirements.txt
@@ -1,4 +1,4 @@
docutils==0.16
-Sphinx==3.4.3
-sphinx_rtd_theme
-six
+sphinx==3.4.3
+sphinx_rtd_theme==1.0.0
+six==1.16.0