sphinx_press_theme icon indicating copy to clipboard operation
sphinx_press_theme copied to clipboard

Can the meta title tag be edited without influencing the core code?

Open SabineMitzner opened this issue 3 years ago • 1 comments

Hi schettino,

I have the following issue:

By default, the title tag of a page is is derived from the respective H1. This leads unfortunately to long and partially cropped tab titles.

Is there a way to change this behaviour, so that I can customize the title text? I would prefer a method that leaves the core code untouched, so that my changes don't get lost when I update the theme.

Sincerely, Sabine

SabineMitzner avatar Nov 16 '20 12:11 SabineMitzner

You mean in the sidebar toc ? see https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree

schettino72 avatar Jul 22 '21 09:07 schettino72