readthedocs/sphinx_rtd_theme

Global setting for disabling "Edit button"

Open

#1366 aperta il 1 nov 2022

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)CSS (1413 fork)batch import
FeatureGood First IssueImprovement

Metriche repository

Star
 (3473 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor