pydocmaker.backend.ex_html
==========================
.. py:module:: pydocmaker.backend.ex_html
Attributes
----------
.. autoapisummary::
pydocmaker.backend.ex_html.__default_template
Classes
-------
.. autoapisummary::
pydocmaker.backend.ex_html.html_renderer
Functions
---------
.. autoapisummary::
pydocmaker.backend.ex_html.mk_link
pydocmaker.backend.ex_html.mk_tpl
pydocmaker.backend.ex_html.convert
Module Contents
---------------
.. py:data:: __default_template
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
{% if title %}
{{ title }}
{% endif %}
{% if applicables or references or acronyms %}
{References}
{% endif %}
{% if acronyms %}
List of Acronyms
{% for key, value in acronyms.items() %}
| {{ key }} | {{ value }} |
{% endfor %}
{% endif %}
{% if applicables %}
Applicable Documents
{% for key, value in applicables.items() %}
| AD[{{ key }}] | {{ value }} |
{% endfor %}
{% endif %}
{% if references %}
Reference Documents
{% for key, value in references.items() %}
| RD[{{ key }}] | {{ value }} |
{% endfor %}
{% endif %}
{{ body }}
"""
.. raw:: html
██████ ██████ ███ ██ ██ ██ ███████ ██████ ████████
██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ █████ ██████ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██████ ██ ████ ████ ███████ ██ ██ ██
.. py:function:: mk_link(id_, label=None, pth='show', p0='uib', v='v1', **kwargs)
.. py:function:: mk_tpl(id_, label=None, pth='show', p0='uib', v='v1', **kwargs)
.. py:function:: convert(doc: List[dict], template=None, template_params=None, **kwargs)
.. py:class:: html_renderer
Bases: :py:obj:`pydocmaker.backend.baseformatter.BaseFormatter`
Helper class that provides a standard way to create an ABC using
inheritance.
.. py:attribute:: cnt_img
:value: 0
.. py:attribute:: cnt_table
:value: 0
.. py:method:: digest_text(**kwargs)
.. py:method:: digest_latex(**kwargs)
.. py:method:: digest_markdown(**kwargs)
.. py:method:: digest_verbatim(**kwargs)
.. py:method:: digest_image(**kwargs)
.. py:method:: digest_table(children=None, **kwargs) -> str