狮身人面像延伸到抓斗顶部
sphinxext-toptranslators的Python项目详细描述
sphinxext顶级翻译人员
Sphinx扩展从Sphinx生成的PO目录中获取顶级贡献者。在
安装
pip install sphinxext-toptranslators
使用
指令配置
指令是 .. toptranslators:: GITHUB_REPO_NAME
有以下选项:
- 在
:locale:语言环境的名称,示例是(fr,es)。请注意,此标志是必需的
在 - 在
:限制:限制显示的贡献者的数量
在 - 在
:顺序:默认为
在alphabetical
,但可以设置为numerical
- 在
:hide_contributions:是否隐藏每个参与者所做的贡献数。默认值为
在false
示例
.. toptranslators:: wpilibsuite/frc-docs-translations
:locale: fr
:limit: 10
:order: alphabetical
:hide_contributions: true
- 项目
标签: