We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae7348 commit 3f1d549Copy full SHA for 3f1d549
.readthedocs.yml
@@ -1,9 +1,11 @@
1
version: 2
2
-sphinx:
3
- configuration: docs/sphinx/conf.py
+
+build:
4
+ os: ubuntu-22.04
5
+ tools:
6
+ python: "3"
7
8
python:
- version: 3.7
9
install:
10
- requirements: dev-requirements.txt
11
- path: .
docs/sphinx/conf.py
@@ -17,7 +17,6 @@
17
# under the License.
18
19
import datetime
20
-import os
21
22
import elasticsearch
23
@@ -45,13 +44,7 @@
45
44
46
pygments_style = "sphinx"
47
48
-on_rtd = os.environ.get("READTHEDOCS", None) == "True"
49
-
50
-if not on_rtd: # only import and set the theme if we're building docs locally
51
- import sphinx_rtd_theme
52
53
- html_theme = "sphinx_rtd_theme"
54
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+html_theme = "sphinx_rtd_theme"
55
56
intersphinx_mapping = {
57
"python": ("https://docs.python.org/3", None),
0 commit comments