New Doctree Transforms

class sphinxcontrib.bibtex.transforms.BibliographyTransform(document, startnode=None)[source]

Bases: docutils.transforms.Transform

A docutils transform to generate citation entries for bibliography nodes.

default_priority = 10

Priority of the transform. See http://docutils.sourceforge.net/docs/ref/transforms.html

apply()[source]

Transform each bibliography node into a list of citations.

sphinxcontrib.bibtex.transforms.node_text_transform(node, transform)[source]

Apply transformation to all Text nodes within node.

sphinxcontrib.bibtex.transforms.transform_url_command(textnode)[source]

Convert ‘\url{...}’ into a proper docutils hyperlink.