1
0
mirror of https://github.com/Zulko/moviepy.git synced 2021-07-27 01:17:47 +03:00

Add support for ReadTheDocs (#1328)

* Add .readthedocs.yml
This commit is contained in:
Tom Burrows
2020-10-05 00:55:17 +01:00
committed by GitHub
parent d367014ecc
commit fd71ed12f1
2 changed files with 24 additions and 3 deletions

23
.readthedocs.yml Normal file
View File

@@ -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

View File

@@ -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 = [