Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with nbsphinx #148

Open
calebrob6 opened this issue Sep 26, 2021 · 0 comments
Open

Incompatibility with nbsphinx #148

calebrob6 opened this issue Sep 26, 2021 · 0 comments

Comments

@calebrob6
Copy link

(duplicating spatialaudio/nbsphinx#599)

When including nbsphinx with pytorch_sphinx_theme several components of the theme break:

  • Permalinks to sections are hidden
  • The right (mobile) sidebar navigation expand/collapse buttons are hidden / don't work
  • The right (mobile) sidebar navigation doesn't scroll with the page and instead is stuck on the top of the page

nbsphinx uses requirejs which conflicts with bootstrap 4.0 (used here). We found the solution was to simply disable requirejs, however this will prevent nbsphinx widgets from working (not a problem for us at the moment).

@mgeier helpfully pointed out that pydata-sphinx-theme has solved this type of problem by including their js dependencies "UMD style" -- pydata/pydata-sphinx-theme#167. Is this something that would be possible to do here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant