Skip to content

Video editing with Python

Add support for ReadTheDocs (#1328)

Tom Burrowsfd71ed12f1db
diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644
index 00000000..224cdc47
--- /dev/null
+++ b/.readthedocs.yml
@@ -0,0 +1,23 @@
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+# Build documentation in the docs/ directory with Sphinx
+sphinx:
+ configuration: docs/conf.py
+
+# Build documentation with MkDocs
+#mkdocs:
+# configuration: mkdocs.yml
+
+# Optionally set the version of Python and requirements required to build your docs
+python:
+ version: 3.7
+ install:
+ - method: pip
+ path: .
+ extra_requirements:
+ - doc
diff --git a/setup.py b/setup.py
index fa33a008..abd6a107 100644
--- a/setup.py
+++ b/setup.py
@@ -88,9 +88,7 @@ optional_reqs = [
doc_reqs = [
"pygame>=1.9.3,<2.0; python_version<'3.8'",
- "numpydoc>=0.6.0,<1.0",
- "sphinx_rtd_theme>=0.1.10b0,<1.0",
- "Sphinx>=1.5.2,<2.0",
+ "numpydoc<2.0",
]
test_reqs = [