readthedocs/sphinx_rtd_theme

Global setting for disabling "Edit button"

Open

#1,366 opened on 2022年11月1日

GitHub で見る
 (0 comments) (1 reaction) (0 assignees)CSS (1,413 forks)batch import
FeatureGood First IssueImprovement

Repository metrics

Stars
 (3,473 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド