【问题标题】:GitHub links in Sphinx docsSphinx 文档中的 GitHub 链接
【发布时间】:2016-05-26 17:30:15
【问题描述】:

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

我希望提交 SHA、问题编号和 @提及超链接。无论如何要自动执行此操作?

【问题讨论】:

标签: github python-sphinx restructuredtext


【解决方案1】:

我建议在 http://sphinxext-survey.readthedocs.org/en/latest/changelog-version-control.html 上查看 Sphinx 扩展库。

具体来说,我相信这两个扩展至少可以为您提供一些您正在寻找的支持(没有@提及)。

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-29
    • 1970-01-01
    • 1970-01-01
    • 2022-01-14
    • 1970-01-01
    相关资源
    最近更新 更多