.. _bibble.io.rst_writer: ==================== bibble.io.rst_writer ==================== .. py:module:: bibble.io.rst_writer Type Aliases ------------ .. autoapisummary:: bibble.io.rst_writer.Block Classes ------- .. autoapisummary:: bibble.io.rst_writer.RstWriter Module Contents =============== .. py:data:: Block :type: TypeAlias :value: model.Block .. _bibble.io.rst_writer.RstWriter: .. py:class:: RstWriter(stack, *, format = None, logger = None, active_blocks = None) Bases: :py:obj:`bibble.io.writer.BibbleWriter` Write bibtex entries as Rst. .. py:method:: _build_debug_info(block) -> .. py:method:: _build_legal_entry(block) -> .. py:method:: _build_online_entry(block) -> .. py:method:: _build_simple_entry(block) -> .. py:method:: _build_social_media_entry(block) -> .. py:method:: _can_add(block, *keys) -> .. py:method:: _must_add(block, field) -> .. py:method:: _title_add(block) -> Format and return the title .. py:method:: make_header(library, title = None) -> .. py:method:: visit_entry(block) -> .. py:attribute:: _entry :type: ClassVar[str] :value: '.. bibtex:entry:: {}' .. py:attribute:: _entry_args :type: ClassVar[list[str]] :value: ['title', 'author', 'editor', 'year', 'tags', 'journal', 'booktitle', 'within', 'platform',... .. py:attribute:: _indent :type: ClassVar[str] :value: ' ' .. py:attribute:: _label :type: ClassVar[str] :value: '.. _{}:'