diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..358e7502f --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,19 @@ +# .readthedocs.yaml +# 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 doc/ directory with Sphinx +sphinx: + configuration: doc/conf.py + +# Set the version of Python and requirements required to build the docs. +python: + version: 3.8 + install: + # Install pymongo itself. + - method: pip + path: . + - requirements: doc/docs-requirements.txt diff --git a/doc/docs-requirements.txt b/doc/docs-requirements.txt new file mode 100644 index 000000000..ce5d1abf3 --- /dev/null +++ b/doc/docs-requirements.txt @@ -0,0 +1,3 @@ +Sphinx~=4.2 +sphinx_rtd_theme~=0.5 +readthedocs-sphinx-search~=0.1