Skip to main content

Sphinx/BitBucket integration

Project description

This module adds custom roles for linking to resources on BitBucket projects.

Basic Usage

To use this extension, add it to the extensions list in your Sphinx configuration file and set the variable bitbucket_project_url to the base URL for the project.

For example:

extensions = [ 'sphinxcontrib.bitbucket' ]

bitbucket_project_url = 'http://bitbucket.org/birkenfeld/sphinx-contrib'

Then in your rst documents, use the roles bbissue and bbchangeset to create links to tickets and changesets.

This:

:bbissue:`3`

is equivalent to:

`issue 3 <http://bitbucket.org/birkenfeld/sphinx-contrib/issue/3/>`__

and:

:bbchangeset:`some-long-hash-value`

is equivalent to:

`changeset some-long-hash-value <http://bitbucket.org/birkenfeld/sphinx-contrib/changeset/some-long-hash-value/>`__

Configuration Parameters

bitbucket_project_url

The base URL for the project on BitBucket.org.

History

1.0

First public release.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

sphinxcontrib-bitbucket-1.0.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file sphinxcontrib-bitbucket-1.0.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib-bitbucket-1.0.tar.gz
Algorithm Hash digest
SHA256 b717248b24d6e8b206397b5c3d9c5bd9cdd0c38a4ed6354549faff48e3155da1
MD5 129147d406087e44769ae7320a2d839b
BLAKE2b-256 760fbd7892dd61b8efd0026913b728223b74abfe954a5ef3d7f9d2c9cfceffe8

See more details on using hashes here.

Supported by

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