Skip to content

Commit 6373203

Browse files
committed
PYTHON-2817 Add .readthedocs.yaml config file (#769)
(cherry picked from commit 3c3a85d)
1 parent 521a31e commit 6373203

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.readthedocs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the doc/ directory with Sphinx
9+
sphinx:
10+
configuration: doc/conf.py
11+
12+
# Set the version of Python and requirements required to build the docs.
13+
python:
14+
version: 3.8
15+
install:
16+
# Install pymongo itself.
17+
- method: pip
18+
path: .
19+
- requirements: doc/docs-requirements.txt

doc/docs-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Sphinx~=4.2
2+
sphinx_rtd_theme~=0.5
3+
readthedocs-sphinx-search~=0.1

0 commit comments

Comments
 (0)