New Docutils Directives¶
- class sphinxcontrib.bibtex.directives.BibliographyKey(docname: str, id_: str)[源代码]¶
Unique key for each bibliography directive.
- class sphinxcontrib.bibtex.directives.BibliographyValue(line: int, bibfiles: List[str], style: str, list_: str, enumtype: str, start: int, labelprefix: str, keyprefix: str, filter_: AST, citation_nodes: Dict[str, Element], keys: List[str])[源代码]¶
Contains information about a bibliography directive.
- class sphinxcontrib.bibtex.directives.BibliographyDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[源代码]¶
Class for processing the
bibliography
directive.Produces a
bibliography
node, along with (empty) citation nodes that will be formatted later in the env-updated stage, and inserted into the document in a post-transform. We cannot insert the citation nodes here because we do not yet know which keys have been cited.参见
Further processing of the resulting
bibliography
node is done byBibliographyTransform
.
- class sphinxcontrib.bibtex.foot_directives.FootBibliographyDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[源代码]¶
Class for processing the
footbibliography
directive.- run()[源代码]¶
Set file dependencies, and insert the footnotes that were created earlier by
foot_roles.FootCiteRole.result_nodes()
.