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

Version switcher does not load when the sphinx tabs extension is used #1496

Closed
K20shores opened this issue Oct 5, 2023 · 2 comments
Closed

Comments

@K20shores
Copy link

K20shores commented Oct 5, 2023

There appears to be an incompatibility between this theme and sphinx tabs.

conda create --name example
conda activate example
conda install pip 
conda install sphinx pydata-sphinx-theme --channel conda-forge
mkdir test
cd test
sphinx-quickstart

Setup the conf.py to use this theme and the switcher and then make the docs

make html

Then navigate to the docs and you should see the dropdown.

Now, if you install sphinx-tabs and load the extension (even without using the tabs) the switcher disappears.

conda install sphinx-tabs

Add the extension to conf.py

extensions = [
  'sphinx_tabs.tabs',
]

and remake the docs

make html

Refresh the docs page and you'll see that the switcher doesn't work

@drammock
Copy link
Collaborator

drammock commented Oct 5, 2023

quoting @12rambau's comment in another issue:

this theme is already supporting a tab system with https://sphinx-design.readthedocs.io/en/latest/tabs.html. We don't have the bandwidth to adapt to every extension but if you want to propose a PR we'll happily review it.

@drammock drammock closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2023
@K20shores
Copy link
Author

@drammock ah, I didn't know. I will use that instead

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

2 participants