It would be best if you learned a little about Sphinx themes. Themes
contain templates like layout.html for page.html for regular documents,
search.html for search results, etc. The most important template is
layout.html. Templates contain blocks that are the smallest customizable
parts. Based on your question, you want to override block "relbar1" in
layout.html.

Have a look at
https://documatt.gitlab.io/sphinx-themes/learn_basic_theme_project/ to
learn layout.html blocks.

The official documentation has an excellent description and examples of
overriding blocks:
https://www.sphinx-doc.org/en/master/templating.html#jinja-sphinx-templating-primer
.

I recently blogged about this topic, too, at
https://techwriter.documatt.com/sphinx-theming/index.html. Feel free to ask
here!

Matt
https://techwriter.documatt.com

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAOGNDW82qPO6fbb%2B45eEZU%2BynXfB4B7D9S11BPVwhGf424%3D4rQ%40mail.gmail.com.

Reply via email to