Sphinx文档中的GitHub链接 [英] GitHub links in Sphinx docs

查看:77
本文介绍了Sphinx文档中的GitHub链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个示例Sphinx文档: https://github.com /django-tastypie/django-tastypie/blob/v0.13.2/docs/release_notes/v0.13.2.rst

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

我希望提交SHA,发行号和@mentions超链接.还是要自动执行此操作?

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

推荐答案

我建议您在具体来说,我相信这两个扩展可以至少为您提供所需的支持(不含@mentions).

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

这篇关于Sphinx文档中的GitHub链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆