File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -266,19 +266,9 @@ def autoapi_prepare_jinja_env(jinja_env):
266
266
267
267
# -- Options for HTML output ----------------------------------------------
268
268
269
- # on_rtd is whether we are on readthedocs.org
270
- on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
271
-
272
- if not on_rtd : # only import and set the theme if we're building docs locally
273
- try :
274
- import sphinx_rtd_theme
275
- html_theme = 'sphinx_rtd_theme'
276
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path (), '.' ]
277
- except :
278
- html_theme = 'default'
279
- html_theme_path = ['.' ]
280
- else :
281
- html_theme_path = ['.' ]
269
+ import sphinx_rtd_theme
270
+ html_theme = 'sphinx_rtd_theme'
271
+ html_theme_path = [sphinx_rtd_theme .get_html_theme_path (), '.' ]
282
272
283
273
# Theme options are theme-specific and customize the look and feel of a theme
284
274
# further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change 45
45
# Files that never influence board builds
46
46
IGNORE_BOARD = {
47
47
".devcontainer" ,
48
+ "conf.py" ,
48
49
"docs" ,
49
50
"tests" ,
50
51
"tools/ci_changes_per_commit.py" ,
You can’t perform that action at this time.
0 commit comments