You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several buttons are hard-coded (for example, the theme switcher, which some people want to remove, ref: #750)
We should make it possible for these buttons to be added/removed rather than hard-coding them.
Proposal
We could use a list of template names similar to what we do with the sidebar templates. The way those work is that the user defines a list of strings that correspond to template names in conf.py and those are used to populate the sidebar:
Context
This theme populates the buttons in the "article header" via the template below:
https://github.com/executablebooks/sphinx-book-theme/blob/master/src/sphinx_book_theme/theme/sphinx_book_theme/components/article-header-buttons.html
Several buttons are hard-coded (for example, the theme switcher, which some people want to remove, ref: #750)
We should make it possible for these buttons to be added/removed rather than hard-coding them.
Proposal
We could use a list of template names similar to what we do with the sidebar templates. The way those work is that the user defines a list of strings that correspond to template names in
conf.py
and those are used to populate the sidebar:sphinx-book-theme/src/sphinx_book_theme/theme/sphinx_book_theme/theme.conf
Line 4 in 7154785
Tasks and updates
The text was updated successfully, but these errors were encountered: