summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-01-22 16:44:56 -0500
committerChad Smith <chad.smith@canonical.com>2020-01-22 14:44:56 -0700
commit704dfd8a761d18dd3f680b125453cf5089eae1fd (patch)
tree25c7c37e212df44218cb488272557e10057a94c7
parentbb71a9d08d25193836eda91c328760305285574e (diff)
downloadvyos-cloud-init-704dfd8a761d18dd3f680b125453cf5089eae1fd.tar.gz
vyos-cloud-init-704dfd8a761d18dd3f680b125453cf5089eae1fd.zip
Introduce an RTD config file, and pin the Sphinx version to the RTD default (#180)
doc-requirements.txt: pin Sphinx at version used by RTD Introduce a configuration file containing our existing web-based configuration.
-rw-r--r--.readthedocs.yaml7
-rw-r--r--doc-requirements.txt2
2 files changed, 8 insertions, 1 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 00000000..232ee8d2
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,7 @@
+version: 2
+
+formats: all
+
+python:
+ install:
+ - requirements: doc-requirements.txt
diff --git a/doc-requirements.txt b/doc-requirements.txt
index e8977de9..d5f921e3 100644
--- a/doc-requirements.txt
+++ b/doc-requirements.txt
@@ -1,5 +1,5 @@
doc8
m2r
-sphinx
+sphinx<2
sphinx_rtd_theme
pyyaml