New Doctree Transforms

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

Bases: docutils.transforms.Transform

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.

class sphinxcontrib.bibtex.transforms.FilterVisitor(entry, is_cited)[source]

Bases: ast.NodeVisitor

Visit the abstract syntax tree of a parsed filter expression.

entry = None

The bibliographic entry to which the filter must be applied.

is_cited = False

Whether the entry is cited.

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

Apply transformation to all Text nodes within node.

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

Strip curly brackets from text.

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

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

Project Versions

Previous topic

New Doctree Directives

Next topic

Cached Information

This Page