狮身人面像芝士店
sphinxcontrib-cheeseshop的Python项目详细描述
Ah! We do have some Camembert, sir…
此扩展添加了易于链接到cheese shop(python包)的指令 索引)包。它需要斯芬克斯1.0。
It’s a bit runny, sir…
它支持一个指令和一个角色,以及一个新的配置值。
Well, as a matter of fact it’s very runny, sir…
pypi-release指令添加一个仅限HTML的输出块,该输出块将自动 获取给定包的最新版本的下载链接,并 将它们显示为列表。例如,
.. pypi-release:: Sphinx :prefix: Download :class: sidebar
将显示“下载:”和下载链接列表(鸡蛋和来源 发行版)。“边栏”类使 结果<div>看起来像一个重构的文本侧边栏。使用“前缀”,您 可以选择列表前面的文本。
I think it’s runnier than you like it, sir…
pypi角色链接到包。在下列表格中使用:
:pypi:`Sphinx` -- link to latest release :pypi:`the Sphinx package <Sphinx>` -- dito, but explicit title given :pypi:`Sphinx (0.6)` -- link to specific release :pypi:`the Sphinx package <Sphinx (0.6)>` -- dito, with explicit title
此扩展还添加了一个cheeseshop_urlconfig值,默认为 'http://pypi.python.org/pypi',用于构建奶酪店的URL。
玩得开心!
Oh… The cat’s eaten it.