Open anarcat opened 8 years ago
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?
Found a way to patch source links with standard template override with Sphinx/Jinja2.
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.