PYTHON-2817 Add .readthedocs.yaml config file (#769)

This commit is contained in:
Shane Harvey 2021-10-28 17:12:30 -07:00 committed by GitHub
parent 9844d3dc03
commit 3c3a85d1bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

19
.readthedocs.yaml Normal file
View File

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

View File

@ -0,0 +1,3 @@
Sphinx~=4.2
sphinx_rtd_theme~=0.5
readthedocs-sphinx-search~=0.1