roland
roland

Reputation: 151

Sphinx: how to change html title?

I'm working on my RTFM Documentation and I d'like to change the html-title. Currently, my title looks like this:

<title>[PAGE TITLE] — My Documentation  documentation</title>

Everything the [PAGE TITLE] part as well as - My Documentation part is fine like it is, but I don't need the second "documentation"

In the end, it should look like this:

<title>[PAGE TITLE] — My Documentation</title>

Does anyone knows where I can remove it?

Upvotes: 8

Views: 4337

Answers (1)

Steve Piercy
Steve Piercy

Reputation: 15095

Use the configuration value html_title. You can set it either in your conf.py or on the command line.

conf.py

html_title = 'Beep Boop'

output

<title>[PAGE TITLE] &#8212; Beep Boop</title>

Upvotes: 11

Related Questions