Module ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call NameLoad NameLoad Str TupleLoad Str For NameStore NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str Num Num body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str Str Num Num body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A django.conf settings django.utils.importlib import_module docutils core N/A os N/A REST_BACKENDS N/A getattr settings REST_BACKENDS N/A minicms.markup_highlight N/A name REST_BACKENDS N/A N/A N/A N/A N/A import_module name register N/A TEMPLATE N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ template.txt html_parts N/A N/A input_string source_path destination_path input_encoding doctitle initial_header_level N/A None None unicode 1 2 N/A N/A 
    Given an input string, returns a dictionary of HTML document parts.

    Dictionary keys are the names of parts, and values are Unicode strings;
    encoding is up to the client.

    Parameters:

    - `input_string`: A multi-line text string; required.
    - `source_path`: Path to the source file or object.  Optional, but useful
      for diagnostic output (system messages).
    - `destination_path`: Path to the file or object which will receive the
      output; optional.  Used for determining relative paths (stylesheets,
      source links, etc.).
    - `input_encoding`: The encoding of `input_string`.  If it is an encoded
      8-bit string, provide the correct encoding.  If it is a Unicode string,
      use "unicode", the default.
    - `doctitle`: Disable the promotion of a lone top-level section title to
      document title (and subsequent section title to document subtitle
      promotion); enabled by default.
    - `initial_header_level`: The initial level for header elements (e.g. 1
      for "<h1>").
     N/A N/A N/A isinstance input_string unicode N/A N/A input_string N/A N/A input_string decode utf8 N/A overrides N/A input_encoding doctitle_xform embed_stylesheet template initial_header_level input_encoding doctitle False TEMPLATE initial_header_level N/A parts N/A N/A core publish_parts source input_string source_path source_path destination_path destination_path writer_name cleanhtmlwriter settings_overrides overrides N/A parts N/A html_body N/A N/A input_string source_path destination_path input_encoding output_encoding doctitle initial_header_level N/A None None unicode unicode 1 2 N/A N/A 
    Given an input string, returns an HTML fragment as a string.

    The return value is the contents of the <body> element.

    Parameters (see `html_parts()` for the remainder):

    - `output_encoding`: The desired encoding of the output.  If a Unicode
      string is desired, use the default value of "unicode" .
     N/A parts N/A html_parts input_string input_string source_path source_path destination_path destination_path input_encoding input_encoding doctitle doctitle initial_header_level initial_header_level N/A fragment N/A parts N/A html_body N/A N/A output_encoding unicode N/A N/A fragment N/A N/A fragment encode output_encoding N/A fragment N/A