Skip to main content

Sphinx extension cheeseshop

Project description

Ah! We do have some Camembert, sir…

This extension adds directives for easy linking to Cheese Shop (Python Package Index) packages. It requires Sphinx 1.0.

It’s a bit runny, sir…

It supports a directive and a role, as well as a new config value.

Well, as a matter of fact it’s very runny, sir…

The pypi-release directive adds an HTML-only output block that automatically fetches the download links for the latest release of the given package and displays them as a list. For example,

.. pypi-release:: Sphinx
   :prefix: Download
   :class: sidebar

will display “Download:” and a list of download links (eggs and the source distribution) for the latest Sphinx release. The “sidebar” class makes the resulting <div> appear like a reStructuredText sidebar. Using “prefix”, you can select what text precedes the list.

I think it’s runnier than you like it, sir…

The pypi role links to a package. Use it in one of these forms:

: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

This extension also adds a cheeseshop_url config value, which defaults to 'http://pypi.python.org/pypi' and is used to build URLs to the Cheese Shop.

Have fun!

Oh… The cat’s eaten it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib-cheeseshop-0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sphinxcontrib_cheeseshop-0.2-py2.6.egg (6.4 kB view details)

Uploaded Egg

sphinxcontrib_cheeseshop-0.2-py2.5.egg (6.4 kB view details)

Uploaded Egg

sphinxcontrib_cheeseshop-0.2-py2.4.egg (6.4 kB view details)

Uploaded Egg

File details

Details for the file sphinxcontrib-cheeseshop-0.2.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib-cheeseshop-0.2.tar.gz
Algorithm Hash digest
SHA256 d1a3bc4c1842868f959f7e14fa7390e64fa717823144286e7d15a25c3624b1ec
MD5 56aff09d56d3e75236c024fcfe6ffa01
BLAKE2b-256 c47159e097a25780de7d86febe3a48dae8d2f7b01f2cff8ab05bc7cbc4d619b7

See more details on using hashes here.

File details

Details for the file sphinxcontrib_cheeseshop-0.2-py2.6.egg.

File metadata

File hashes

Hashes for sphinxcontrib_cheeseshop-0.2-py2.6.egg
Algorithm Hash digest
SHA256 9ba682536ebb958b48c8d99a583306709309de4ccc336739bc9bba7643bcc566
MD5 6b2bd38390b676cf454863169c2bd008
BLAKE2b-256 a5884a7a9647c5c4c2da5054ab42cb74904bdfda9d3a9b7df2987cf38879a1e9

See more details on using hashes here.

File details

Details for the file sphinxcontrib_cheeseshop-0.2-py2.5.egg.

File metadata

File hashes

Hashes for sphinxcontrib_cheeseshop-0.2-py2.5.egg
Algorithm Hash digest
SHA256 36fe4bc3930c86d5ce228694ba7b8fc20a6b3cdac2f59dd09377b414fa66589d
MD5 1fe6542ac827eb7f11e675759b217dbe
BLAKE2b-256 c75e75bebf49ec0c070c972a7cb61f5695758b3ffd26a91738d97266056355bb

See more details on using hashes here.

File details

Details for the file sphinxcontrib_cheeseshop-0.2-py2.4.egg.

File metadata

File hashes

Hashes for sphinxcontrib_cheeseshop-0.2-py2.4.egg
Algorithm Hash digest
SHA256 8461ecec0c1faaef4d3837961331eb1047e8c04ab5e8caa989a12a792a7c3e46
MD5 db124bba58390540623b398005ea9168
BLAKE2b-256 4d84588cc6ca5bc94b4393d47576aee2e53c58f575aa0581064a7839752b9d55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page