Skip to main content

Sphinx extension for bibtex style references.

Project description

The sphinxcontrib-bibtex extension allows bibtex references to be inserted into your documentation. The extension adds a bibliography directive, and a cite role, which work similarly to LaTeX’s \bibliography and \cite commands.


Matthias C. M. Troffaes <>


BSD, see LICENSE.rst for details

Inspired by bibstuff.sphinxext.bibref by Matthew Brett.


Install the module with pip install sphinxcontrib-bibtex, or from source using python install. Then add:

extensions = ['sphinxcontrib.bibtex']

to your project’s Sphinx configuration file

Minimal Example

In your project’s documentation, you can then write for instance:

See :cite:`1987:nelson` for an introduction to non-standard analysis.

.. bibliography:: refs.bib

where refs.bib would contain an entry:

  author = {Edward Nelson},
  title = {Radically Elementary Probability Theory},
  publisher = {Princeton University Press},
  year = {1977},
  series = {Annals of Mathematical Studies}

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-bibtex-0.2.1.tar.gz (20.1 kB view hashes)

Uploaded Source

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