readthedocs/sphinx_rtd_theme

Global setting for disabling "Edit button"

Open

#1,366 opened on Nov 1, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees)CSS (3,473 stars) (1,413 forks)batch import
FeatureGood First IssueImprovement

Description

People are having issues figuring out how to remove the "Edit on Github" button, and I would agree that it's cumbersome.

I don't think it's a good idea to remove it, but I'm sure people have their reasons.

The most straight-forward solution would probably be to respect the html_show_sourcelink setting.

See also: https://github.com/sphinx-doc/sphinx/issues/2386

Contributor guide