Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub links in Sphinx docs

Here's an example Sphinx doc: https://github.com/django-tastypie/django-tastypie/blob/v0.13.2/docs/release_notes/v0.13.2.rst

I'd like commit SHA's, issue numbers, and @mentions to be hyperlinked. Anyway to do that automatically?

like image 811
Seán Hayes Avatar asked Dec 28 '25 16:12

Seán Hayes


1 Answers

I'd suggest checking out the Sphinx Extension library at http://sphinxext-survey.readthedocs.org/en/latest/changelog-version-control.html.

Specifically, I believe these two extensions may provide you at least some of the support you're looking for (sans the @mentions).

https://pypi.python.org/pypi/sphinxcontrib-github

https://pypi.python.org/pypi/sphinxcontrib-issuetracker

like image 126
Brian King Avatar answered Dec 31 '25 10:12

Brian King



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!