Skip to content

Commit

Permalink
Merge pull request #408 from astrofrog/fix-docs-build
Browse files Browse the repository at this point in the history
Fix docs failure related to theme warning
  • Loading branch information
astrofrog authored Oct 26, 2023
2 parents 09c882d + df7d453 commit e973b88
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "sphinx_book_theme"
html_theme_options = {'navigation_with_keys': False}

22 changes: 11 additions & 11 deletions glue_jupyter/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,20 @@ def app(dataxyz, datax, dataxz, data_volume, data_image):
return app


# ORIGINAL_DISPLAY = None
ORIGINAL_DISPLAY = None


# def noop(*args, **kwargs):
# pass
def noop(*args, **kwargs):
pass


# def pytest_configure(config):
# global ORIGINAL_DISPLAY
# import IPython.display as idisp
# ORIGINAL_DISPLAY = idisp.display
# idisp.display = noop
def pytest_configure(config):
global ORIGINAL_DISPLAY
import IPython.display as idisp
ORIGINAL_DISPLAY = idisp.display
idisp.display = noop


# def pytest_unconfigure(config):
# import IPython.display as idisp
# idisp.display = ORIGINAL_DISPLAY
def pytest_unconfigure(config):
import IPython.display as idisp
idisp.display = ORIGINAL_DISPLAY

0 comments on commit e973b88

Please sign in to comment.