diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 00000000..08a36676 --- /dev/null +++ b/.readthedocs.yml @@ -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 +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Optionally set the version of Python and requirements required to build your docs +python: + version: 3.7 + install: + - requirements: docs/requirements.txt + # docs/conf.py is importing mongoengine + # so mongoengine needs to be installed as well + - method: setuptools + path: . diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..abd12629 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ +pymongo>=3.11 +Sphinx==3.2.1 +sphinx-rtd-theme==0.5.0 diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 0ce39f74..00000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -pymongo>=3.4 -Sphinx==1.5.5 -sphinx-rtd-theme==0.2.4