Skip to content

Commit def7463

Browse files
authored
Merge pull request #8342 from jepler/merge-82x
Merge 8.2.x into main
2 parents 74066ef + e44c2c0 commit def7463

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

conf.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff 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

tools/ci_set_matrix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
# Files that never influence board builds
4646
IGNORE_BOARD = {
4747
".devcontainer",
48+
"conf.py",
4849
"docs",
4950
"tests",
5051
"tools/ci_changes_per_commit.py",

0 commit comments

Comments
 (0)