epydoc.markup.restructuredtext._EpydocHTMLTranslator

Package epydoc :: Package markup :: Module restructuredtext :: Class _EpydocHTMLTranslator |
[show private | hide private]
[frames | no frames]

## Class _EpydocHTMLTranslator

    NodeVisitor --+
                  |
     HTMLTranslator --+
                      |
                     _EpydocHTMLTranslator

Method Summary
| `__init__(self, document, docstring_linker)`
| `depart_document(self, node)`
| ``starttag`(self, node, tagname, suffix, infix, **attributes)` This modified version of starttag makes a few changes to HTML tags, to prevent them from conflicting with epydoc.
| `visit_document(self, node)`
| `visit_title_reference(self, node)`
Inherited from `HTMLTranslator`: `astext`, `attval`, `check_simple_list`, `depart_abbreviation`, `depart_acronym`, `depart_address`, `depart_admonition`, `depart_attention`, `depart_attribution`, `depart_author`, `depart_authors`, `depart_block_quote`, `depart_bullet_list`, `depart_caption`, `depart_caution`, `depart_citation`, `depart_citation_reference`, `depart_classifier`, `depart_colspec`, `depart_contact`, `depart_copyright`, `depart_danger`, `depart_date`, `depart_decoration`, `depart_definition`, `depart_definition_list`, `depart_definition_list_item`, `depart_description`, `depart_docinfo`, `depart_docinfo_item`, `depart_doctest_block`, `depart_emphasis`, `depart_entry`, `depart_enumerated_list`, `depart_error`, `depart_field`, `depart_field_body`, `depart_field_list`, `depart_field_name`, `depart_figure`, `depart_footer`, `depart_footnote`, `depart_footnote_reference`, `depart_generated`, `depart_header`, `depart_hint`, `depart_image`, `depart_important`, `depart_inline`, `depart_label`, `depart_legend`, `depart_line_block`, `depart_list_item`, `depart_literal_block`, `depart_meta`, `depart_note`, `depart_option`, `depart_option_argument`, `depart_option_group`, `depart_option_list`, `depart_option_list_item`, `depart_option_string`, `depart_organization`, `depart_paragraph`, `depart_problematic`, `depart_reference`, `depart_revision`, `depart_row`, `depart_rubric`, `depart_section`, `depart_sidebar`, `depart_status`, `depart_strong`, `depart_subscript`, `depart_subtitle`, `depart_superscript`, `depart_system_message`, `depart_table`, `depart_target`, `depart_tbody`, `depart_term`, `depart_Text`, `depart_tgroup`, `depart_thead`, `depart_tip`, `depart_title`, `depart_title_reference`, `depart_topic`, `depart_transition`, `depart_version`, `depart_warning`, `emptytag`, `encode`, `footnote_backrefs`, `get_stylesheet_reference`, `unimplemented_visit`, `visit_abbreviation`, `visit_acronym`, `visit_address`, `visit_admonition`, `visit_attention`, `visit_attribution`, `visit_author`, `visit_authors`, `visit_block_quote`, `visit_bullet_list`, `visit_caption`, `visit_caution`, `visit_citation`, `visit_citation_reference`, `visit_classifier`, `visit_colspec`, `visit_comment`, `visit_contact`, `visit_copyright`, `visit_danger`, `visit_date`, `visit_decoration`, `visit_definition`, `visit_definition_list`, `visit_definition_list_item`, `visit_description`, `visit_docinfo`, `visit_docinfo_item`, `visit_doctest_block`, `visit_emphasis`, `visit_entry`, `visit_enumerated_list`, `visit_error`, `visit_field`, `visit_field_body`, `visit_field_list`, `visit_field_name`, `visit_figure`, `visit_footer`, `visit_footnote`, `visit_footnote_reference`, `visit_generated`, `visit_header`, `visit_hint`, `visit_image`, `visit_important`, `visit_inline`, `visit_label`, `visit_legend`, `visit_line_block`, `visit_list_item`, `visit_literal`, `visit_literal_block`, `visit_meta`, `visit_note`, `visit_option`, `visit_option_argument`, `visit_option_group`, `visit_option_list`, `visit_option_list_item`, `visit_option_string`, `visit_organization`, `visit_paragraph`, `visit_problematic`, `visit_raw`, `visit_reference`, `visit_revision`, `visit_row`, `visit_rubric`, `visit_section`, `visit_sidebar`, `visit_status`, `visit_strong`, `visit_subscript`, `visit_substitution_definition`, `visit_substitution_reference`, `visit_subtitle`, `visit_superscript`, `visit_system_message`, `visit_table`, `visit_target`, `visit_tbody`, `visit_term`, `visit_Text`, `visit_tgroup`, `visit_thead`, `visit_tip`, `visit_title`, `visit_topic`, `visit_transition`, `visit_version`, `visit_warning`, `write_colspecs` Inherited from `NodeVisitor`: `unknown_departure`, `unknown_visit`

Class Variable Summary
Inherited from `HTMLTranslator`: `attribution_formats`, `content_type`, `doctype`, `embedded_stylesheet`, `generator`, `html_head`, `named_tags`, `stylesheet_link`, `words_and_spaces`, `xml_declaration`

Method Details

### starttag(self, node, tagname, suffix='\n', infix='', **attributes) This modified version of starttag makes a few changes to HTML tags, to prevent them from conflicting with epydoc. In particular: existing class attributes are prefixed with `'rst-'` existing names are prefixed with `'rst-'` hrefs starting with `'#'` are prefixed with `'rst-'` all headings (`<hn>`) are given the css class `'heading'` Overrides: `docutils.writers.html4css1.HTMLTranslator.starttag`

Generated by Epydoc 2.1 on Sat Mar 20 17:46:19 2004 | http://epydoc.sf.net