File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -266,19 +266,9 @@ def autoapi_prepare_jinja_env(jinja_env):
266266
267267# -- Options for HTML output ----------------------------------------------
268268
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 (), '.' ]
282272
283273# Theme options are theme-specific and customize the look and feel of a theme
284274# further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change 4545# Files that never influence board builds
4646IGNORE_BOARD = {
4747 ".devcontainer" ,
48+ "conf.py" ,
4849 "docs" ,
4950 "tests" ,
5051 "tools/ci_changes_per_commit.py" ,
You can’t perform that action at this time.
0 commit comments