Sphinx: how to change html title?

Viewed 1655

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?

1 Answers

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>
Related