Skip to content

Commit

Permalink
doc: Workaround broken flyout menu
Browse files Browse the repository at this point in the history
Apply Workaround for broken flyout menu.

Bug report: readthedocs/readthedocs.org#10242
Workaround: readthedocs/sphinx_rtd_theme#1452 (comment)
  • Loading branch information
douglas-raillard-arm committed Apr 13, 2023
1 parent cb73ce4 commit c81cb4e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@
'nbsphinx',
]

# Fix for the broken flyout ReadTheDocs menu as recommended here:
# https://github.com/readthedocs/sphinx_rtd_theme/issues/1452#issuecomment-1490504991
# https://github.com/readthedocs/readthedocs.org/issues/10242
# https://github.com/readthedocs/sphinx_rtd_theme/issues/1452
# https://github.com/readthedocs/sphinx_rtd_theme/pull/1448
if RTD:
extensions.append(
"sphinxcontrib.jquery"
)

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down

0 comments on commit c81cb4e

Please sign in to comment.