2

How can I remove the sentence that's shown underneath each page that's built using RTD theme:

"Built with Sphinx using a theme provided by Read the Docs."

enter image description here

It's my understanding that the RTD theme is released under MIT license. My project has one document to group all attributions so I don't want the quoted sentence written under every page. I tried looking at the RTD theme Configuration but there doesn't seem to be an option to remove the default attribution from the footer.

bad_coder
  • 11,289
  • 20
  • 44
  • 72

1 Answers1

2

Clean method

In your conf.py, you can set:

html_show_sphinx = False

as mentioned in the docs.


Dirty method

You can also hide the whole footer with CSS:

# conf.py
html_css_files = ["css/custom.css"]

and in custom.css:

.bottom-of-page {
  visibility: hidden;
}
mincom
  • 670
  • 5
  • 21
  • 1
    Perfect answer, it saved me a lot of time. I was about to go down the route of trying to use a custom template to override that part of the default RTD-theme. – bad_coder Oct 16 '22 at 13:07
  • Note that some themes/extensions might require you to credit them (MIT license or similar). So keep that in mind if you decide to completely hide the footer. – mincom Oct 16 '22 at 22:51