New Transforms¶
-
class
sphinxcontrib.bibtex.transforms.
BibliographyTransform
(document, startnode=None)[source]¶ Bases:
sphinx.transforms.post_transforms.SphinxPostTransform
A docutils transform to generate citation entries for bibliography nodes.
-
default_priority
= 5¶
-
run
(**kwargs)[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.
-
class
sphinxcontrib.bibtex.foot_transforms.
FootBibliographyTransform
(document, startnode=None)[source]¶ Bases:
sphinx.transforms.SphinxTransform
A docutils transform to generate footnotes for bibliography nodes.
-
default_priority
= 10¶ Priority of the transform. See https://docutils.sourceforge.io/docs/ref/transforms.html
-
apply
()[source]¶ Transform each
footbibliography
node into a list of citations.
-