readthedocs/sphinx_rtd_theme

Global setting for disabling "Edit button"

Open

#1,366 建立於 2022年11月1日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)CSS (3,473 star) (1,413 fork)batch import
FeatureGood First IssueImprovement

描述

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

貢獻者指南