File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change
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 : docs/source/conf.py
11
+ fail_on_warning : true
12
+
13
+ # Set the version of Python and requirements required to build the docs.
14
+ python :
15
+ install :
16
+ # Install pymongo itself.
17
+ - method : pip
18
+ path : .
19
+ extra_requirements :
20
+ - docs
21
+
22
+ build :
23
+ os : ubuntu-22.04
24
+ tools :
25
+ python : " 3.11"
Original file line number Diff line number Diff line change 7
7
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8
8
from __future__ import annotations
9
9
10
+ from importlib .metadata import version as _version
11
+
10
12
project = "django_mongodb"
11
13
copyright = "2024, The MongoDB Python Team"
12
14
author = "The MongoDB Python Team"
13
- release = "0.1.0.dev0"
15
+ release = _version ( "django_mongodb" )
14
16
15
17
# -- General configuration ---------------------------------------------------
16
18
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
17
19
18
20
extensions = []
19
21
20
- templates_path = ["_templates" ]
22
+ # templates_path = ["_templates"]
21
23
exclude_patterns = []
22
24
23
25
24
26
# -- Options for HTML output -------------------------------------------------
25
27
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
26
28
27
29
html_theme = "alabaster"
28
- html_static_path = ["_static" ]
30
+ # html_static_path = ["_static"]
You can’t perform that action at this time.
0 commit comments