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

🐛 BUG - version switcher in sidebar #1805

Open
enryH opened this issue May 6, 2024 · 0 comments
Open

🐛 BUG - version switcher in sidebar #1805

enryH opened this issue May 6, 2024 · 0 comments
Labels
kind: bug Something isn't working

Comments

@enryH
Copy link

enryH commented May 6, 2024

Hey!

Thanks for the grate template. It might be an issue related to #1629. If I follow the instructions as described here to add the switcher to the sidebar, I ran into the following error:

sphinx.errors.ThemeError: An error happened in rendering the page developer-guide/adding-module.
Reason: UndefinedError("'super' is undefined")

I added the a _template_path to the conf.py and added to the file _templates/sidebar-nav-bs.html as specifed in the _templates folder.

Full logs: https://readthedocs.org/projects/proteobench/builds/24292044/

I have the switcher no in the navigation bar and that works fine


@trallard edits

Ref: PST documentation to edit the switcher https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/version-dropdown.html#specify-where-to-display-the-switcher

@trallard trallard changed the title 🐛 version switcher in sidebar 🐛 BUG - version switcher in sidebar Jun 10, 2024
@trallard trallard added the kind: bug Something isn't working label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants