Module ImportFrom alias alias alias alias alias alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad keyword NameLoad attr Str Return NameLoad decorator_list Assign NameStore Str ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore BinOpAdd BinOpAdd Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr Str body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Num orelse Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Continue If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Break If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body Break If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body AugAssignAdd NameStore Num Break orelse Return Str For NameStore Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body Break orelse If BoolOpOr NameLoad NameLoad body Return Str Return Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Str TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body If CompareIn Str NameLoad body Assign NameStore Call NameLoad orelse Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad keyword AttributeLoad NameLoad attr Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Return BinOpAdd SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return TupleLoad Str Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad TryFinally body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword Call NameLoad keyword Num keyword Num keyword NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Return TupleLoad NameLoad IfExp NameLoad Call AttributeLoad NameLoad attr Num decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os N/A sys N/A markdown docutils.core publish_parts pygments highlight pygments.formatters.html HtmlFormatter pygments.lexers PythonLexer TextLexer guess_lexer_for_filename pygments.util ClassNotFound six.moves range pants.base.exceptions TaskError pants.util.dirutil safe_open emit_codehighlight_css N/A N/A path style N/A N/A N/A N/A safe_open path w css N/A N/A N/A N/A css write N/A N/A N/A HtmlFormatter style style get_style_defs .codehilite N/A path N/A N/A WIKILINKS_PATTERN \[\[([^\]]+)\]\] WikilinksPattern N/A N/A N/A markdown inlinepatterns Pattern N/A __init__ N/A N/A self build_url markdown_instance N/A None N/A N/A N/A N/A N/A N/A markdown inlinepatterns Pattern __init__ self WIKILINKS_PATTERN markdown_instance N/A N/A self build_url build_url N/A handleMatch N/A N/A self m N/A N/A N/A N/A alias url N/A N/A self build_url N/A N/A N/A N/A m group 2 strip N/A el N/A N/A N/A N/A markdown util etree Element a N/A N/A N/A el set href url N/A N/A el text N/A N/A N/A markdown util AtomicString alias N/A el N/A N/A WikilinksExtension N/A N/A markdown Extension N/A __init__ N/A N/A self build_url configs N/A None N/A N/A N/A N/A N/A markdown Extension __init__ self N/A configs N/A N/A N/A self build_url build_url N/A extendMarkdown N/A N/A self md md_globals N/A N/A N/A N/A N/A md inlinePatterns N/A wikilinks N/A WikilinksPattern N/A self build_url md N/A N/A N/A INCLUDE_PATTERN N/A N/A !inc(\[(?P<params>[^]]*)\])?\((?P<path>[^ ]*)\) choose_include_text N/A N/A s params source_path N/A N/A N/A Given the contents of a file and !inc[these params], return matching lines

  If there was a problem matching parameters, return empty list.

  :param s: file's text
  :param params: string like "start-at=foo&end-at=bar"
  :param source_path: path to source .md. Useful in error messages
   N/A lines N/A N/A s splitlines N/A start_after None N/A start_at None N/A end_before None N/A end_at None N/A term N/A N/A params split & N/A N/A N/A = term N/A N/A N/A param value N/A N/A N/A p strip N/A p N/A N/A term split = 1 N/A N/A N/A param value N/A N/A N/A term strip N/A N/A param N/A N/A N/A N/A param start-after N/A N/A start_after value N/A N/A N/A param start-at N/A N/A start_at value N/A N/A N/A param end-before N/A N/A end_before value N/A N/A N/A param end-at N/A N/A end_at value N/A N/A N/A TaskError N/A N/A Invalid include directive "{0}" in {1} format params source_path N/A chosen_lines N/A N/A line_ix N/A range 0 N/A len lines N/A N/A line N/A lines N/A line_ix N/A N/A N/A start_at N/A start_after N/A N/A N/A N/A N/A start_at None N/A start_at line N/A N/A N/A N/A N/A start_after None N/A start_after line N/A N/A line_ix 1 N/A N/A N/A N/A line_ix N/A range line_ix N/A len lines N/A N/A line N/A lines N/A line_ix N/A N/A N/A end_before None N/A end_before line N/A N/A N/A N/A N/A chosen_lines append line N/A N/A N/A end_at None N/A end_at line N/A N/A N/A N/A N/A end_before end_at N/A N/A N/A N/A N/A join chosen_lines N/A IncludeExcerptPattern N/A N/A N/A markdown inlinepatterns Pattern N/A __init__ N/A N/A self source_path N/A None N/A N/A 
    :param string source_path: Path to source `.md` file.
     N/A N/A N/A N/A N/A markdown inlinepatterns Pattern __init__ self INCLUDE_PATTERN N/A N/A self source_path source_path N/A handleMatch N/A N/A self match N/A N/A N/A params N/A N/A N/A match group params N/A rel_include_path N/A N/A match group path N/A source_dir N/A N/A N/A os path dirname N/A self source_path N/A include_path N/A N/A N/A os path join source_dir rel_include_path N/A N/A N/A N/A open include_path include_file N/A N/A file_text N/A N/A include_file read N/A N/A N/A IOError N/A e N/A N/A N/A IOError N/A N/A Markdown file {0} tried to include file {1}, got {2} format N/A self source_path rel_include_path N/A e strerror N/A include_text N/A choose_include_text file_text params N/A self source_path N/A N/A include_text N/A N/A N/A TaskError N/A N/A Markdown file {0} tried to include file {1} but filtered out everything format N/A self source_path rel_include_path N/A el N/A N/A N/A N/A markdown util etree Element div N/A N/A N/A el set class md-included-snippet N/A N/A N/A lexer N/A guess_lexer_for_filename include_path file_text N/A N/A N/A ClassNotFound N/A N/A N/A BUILD include_path N/A N/A lexer N/A PythonLexer N/A N/A lexer N/A TextLexer N/A html_snippet N/A highlight include_text lexer N/A HtmlFormatter cssclass codehilite N/A N/A el text html_snippet N/A el N/A N/A IncludeExcerptExtension N/A N/A markdown Extension N/A __init__ N/A N/A self source_path configs N/A None N/A N/A N/A N/A N/A markdown Extension __init__ self N/A configs N/A N/A N/A self source_path source_path N/A extendMarkdown N/A N/A self md md_globals N/A N/A N/A N/A N/A N/A md inlinePatterns add excerpt N/A IncludeExcerptPattern source_path N/A self source_path _begin N/A N/A page_to_html_path N/A N/A page N/A N/A N/A Given a page target, return partial path for an output `.html`. N/A source_path N/A N/A N/A page sources_relative_to_buildroot N/A 0 N/A N/A N/A N/A N/A N/A os path splitext source_path N/A 0 .html N/A rst_to_html N/A N/A in_rst stderr N/A N/A N/A Renders HTML from an RST fragment.

  :param string in_rst: An rst formatted string.
  :param stderr: An open stream to use for docutils stderr output.
  :returns: A tuple of (html rendered rst, return code)
   N/A N/A in_rst N/A N/A N/A 0 N/A orig_sys_exit N/A sys exit N/A orig_sys_stderr N/A sys stderr N/A returncodes N/A N/A N/A N/A N/A sys exit N/A returncodes append N/A N/A sys stderr stderr N/A pp N/A publish_parts in_rst writer_name html settings_overrides N/A dict exit_status_level 2 report_level 2 enable_exit_status True N/A N/A N/A sys exit orig_sys_exit N/A N/A sys stderr orig_sys_stderr N/A return_value N/A N/A N/A title pp N/A pp N/A title N/A N/A return_value N/A N/A <title>{0}</title>
<p style="font: 200% bold">{0}</p>
 format N/A pp N/A title N/A return_value N/A N/A N/A pp N/A body strip N/A N/A return_value N/A returncodes N/A N/A returncodes pop 0 N/A