doc: Use configuration file to configure ReadTheDocs
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 0000000..098c5f6
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,20 @@
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required configuration file version
+version: 2
+
+# Build documentation in the docs/ directory with Sphinx
+sphinx:
+ builder: htmldir
+ configuration: doc/src/conf.py
+
+# Optionally build your docs in additional formats such as PDF and ePub
+formats: all
+
+# Optionally set the version of Python and requirements required to build your docs
+python:
+ version: 2
+ install:
+ - requirements: doc/requirements.txt