summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2023-02-14 10:48:48 -0700
committerChad Smith <chad.smith@canonical.com>2023-02-14 10:48:48 -0700
commitf8a42508d116566f00abe094d4cfc1e713a70ebe (patch)
tree58b1fa189b9b57724f6a72c65a89d2bb0c1873cc
parentacd84e22b3ebe639d05df3357cde98d9b1e5de91 (diff)
downloadcloud-init-git-archived/19.1.tar.gz
-rw-r--r--.readthedocs.yaml30
-rw-r--r--doc-requirements.txt1
2 files changed, 31 insertions, 0 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 00000000..be40b4c2
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,30 @@
+# .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 version of Python and other tools you might need
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3.6"
+ # 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: doc/rtd/conf.py
+
+# If using Sphinx, optionally build your docs in additional formats such as PDF
+# formats:
+# - pdf
+
+# Optionally declare the Python requirements required to build your docs
+python:
+ install:
+ - requirements: requirements.txt
+ - requirements: doc-requirements.txt
diff --git a/doc-requirements.txt b/doc-requirements.txt
new file mode 100644
index 00000000..6966869c
--- /dev/null
+++ b/doc-requirements.txt
@@ -0,0 +1 @@
+sphinx