Skip to main content

The Cheese Shop Sphinx extension

Ah! We do have some Camembert, sir…

This extension adds directives for easy linking to Cheese Shop (Python Package Index) packages. It requires Sphinx 4.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.org/project' and is used to build URLs to the Cheese Shop.

Have fun!

Oh… The cat’s eaten it.

Release files for sphinxcontrib-cheeseshop 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib-cheeseshop 0.3
File Size Uploaded
sphinxcontrib_cheeseshop-0.3.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinxcontrib-cheeseshop 0.3
File Interpreter ABI Platform
sphinxcontrib_cheeseshop-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / sphinxcontrib_cheeseshop-0.3.tar.gz

Download URL sphinxcontrib_cheeseshop-0.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ce61e740417be77a7ec728471fb8561dac9849465ce9a964c0aab0dc9a62352b
BLAKE2b-256 checksum
How to use checksums
9b382041ac24bc73b7bcd6728d807a779b66bf9e0204301c0b31101cffeecf87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / sphinxcontrib_cheeseshop-0.3-py3-none-any.whl

Download URL sphinxcontrib_cheeseshop-0.3-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b4fb43b10266734c02bc5e6f401a73585824c467671b60d119a58428daf0bcd
BLAKE2b-256 checksum
How to use checksums
c49eb552a328c3a672ffd398924ad35b1aa502ba84d625ebd2495ab6aad3b324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

4 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page