File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 124124
125125html_copy_source = False
126126
127- # Theme gratefully vendored from CPython source.
128- html_theme = "pydoctheme"
129- html_theme_path = ["." ]
130- html_theme_options = {"collapsiblesidebar" : True }
131- html_static_path = ["static" ]
132-
133- html_sidebars = {
134- "index" : ["globaltoc.html" , "searchbox.html" ],
135- }
127+ try :
128+ import furo # noqa: F401
129+
130+ html_theme = "furo"
131+ except ImportError :
132+ # Theme gratefully vendored from CPython source.
133+ html_theme = "pydoctheme"
134+ html_theme_path = ["." ]
135+ html_theme_options = {"collapsiblesidebar" : True }
136+ html_static_path = ["static" ]
137+
138+ html_sidebars = {
139+ "index" : ["globaltoc.html" , "searchbox.html" ],
140+ }
136141
137142# The name for this set of Sphinx documents. If None, it defaults to
138143# "<project> v<release> documentation".
Original file line number Diff line number Diff line change 33sphinx>=5.3,<8
44sphinx_rtd_theme>=2,<3
55readthedocs-sphinx-search~=0.3
6+ furo==2024.8.6
Original file line number Diff line number Diff line change 7878 -rrequirements/docs.txt
7979changedir = doc
8080commands =
81- python -m sphinx -q -E -W -b html . {envtmpdir}/html {posargs}
81+ # TODO: MOTOR-1351 Add -W before releasing Motor 3.6.
82+ python -m sphinx -q -E -b html . {envtmpdir}/html {posargs}
8283
8384[testenv:doctest]
8485setenv = PYTHONHASHSEED =0
You can’t perform that action at this time.
0 commit comments