alabaster
alabaster copied to clipboard
arbitrary "edit source" link targets
as the RTD sphinx theme, this theme somewhat enforces people use Github.com for their source control, something that may not be adequate for people hosted elsewhere. there's, for example, #52 for bitbucket support, but soon you'll have requests for Gitlab, Atlassian and whatnot.
how about simply making this configurable? you simply need a host prefix and you're done. sphinx_rtd did this in https://github.com/snide/sphinx_rtd_theme/pull/182, for example.
thanks for considering this.
update: sphinx_rtd_theme supports this fine, if you run a good enough version. :)
Because GH doesn't do links in titles, still: #88 is the PR for this. Thanks! Will test it out & merge when I have time. I don't use this feature much myself which is why it's not an instant "I get it,
ping?
Most voted feature - https://github.com/bitprophet/alabaster/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc
Found a way to patch source links with standard template override with Sphinx/Jinja2.
https://github.com/release-monitoring/anitya/pull/693/commits/84c7812ff600b8d86d048e18986fd3f8cce09a29