sphinx-git ########## .. note:: 本插件增加了对git的库的一些支持情况 * https://github.com/OddBloke/sphinx-git * https://sphinx-git.readthedocs.io/en/latest/index.html 前提:: 1. 安装 sphinx-git $ pip install sphinx-git 2. git 命令 The git executable must be specified 配置:: extensions = [ ... "sphinx_git", ... ] git Changelog:: .. git_changelog:: .. git_changelog:: :revisions: 2 Details of the Latest Commit:: .. git_commit_detail:: :branch: :commit: .. git_commit_detail:: :branch: :commit: