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

html_sidebars setting is not respected #1563

Open
barseghyanartur opened this issue May 21, 2024 · 0 comments
Open

html_sidebars setting is not respected #1563

barseghyanartur opened this issue May 21, 2024 · 0 comments
Labels
Bug A bug Needed: replication Bug replication is required

Comments

@barseghyanartur
Copy link

barseghyanartur commented May 21, 2024

Problem

Using alabaster this configuration works.

Filename: conf.py

html_theme = "alabaster"
html_sidebars = {
    "toc": [],  # No sidebars
    "note_warning_tip": [],  # No sidebars
}

All my pages are rendered with sidebars, except toc.rst and note_warning_tip.rst.

However, it does not work for sphinx-rtd-theme (when html_theme is changed to sphinx_rtd_theme).

I see sidebars on all pages, including toc and note_warning_tip.

Environment Info

  • Python Version: 3.11
  • Sphinx Version: 7.3.7
  • RTD Theme Version: 2.0.0 (but also tried with 2.0.1a1)
@barseghyanartur barseghyanartur added Bug A bug Needed: replication Bug replication is required labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug Needed: replication Bug replication is required
Projects
None yet
Development

No branches or pull requests

1 participant