Skip to content

fix interpret-community sphinx docs build failures by specifying html_theme#578

Merged
imatiach-msft merged 1 commit into
interpretml:mainfrom
imatiach-msft:ilmat/fix-docs-html-theme
Aug 29, 2023
Merged

fix interpret-community sphinx docs build failures by specifying html_theme#578
imatiach-msft merged 1 commit into
interpretml:mainfrom
imatiach-msft:ilmat/fix-docs-html-theme

Conversation

@imatiach-msft

@imatiach-msft imatiach-msft commented Aug 25, 2023

Copy link
Copy Markdown
Collaborator

The interpret-community docs build started failing with errors because html_theme has become mandatory (I'm not exactly sure why, since sphinx is pinned - perhaps another package it depends on was updated?):

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/interpret-community/envs/v0.30.0/lib/python3.8/site-packages/sphinx/config.py", line 329, in eval_config_file
    exec(code, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/interpret-community/checkouts/v0.30.0/python/docs/conf.py", line 152, in <module>
    'html_theme': html_theme,
NameError: name 'html_theme' is not defined

Specifying the html_theme in this PR to resolve the sphinx doc build errors.

Also updating sphinx package to latest.

Link to passing build:
https://readthedocs.org/projects/interpret-community/builds/21721970/

@imatiach-msft
imatiach-msft force-pushed the ilmat/fix-docs-html-theme branch 3 times, most recently from 85e79a4 to e850d8b Compare August 25, 2023 15:50
@imatiach-msft
imatiach-msft merged commit baf2c4d into interpretml:main Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants