def page_from_raw_text(self, source_file, contents, extension_name):
raw_contents = contents<EOL>meta = {}<EOL>if contents.startswith('<STR_LIT>'):<EOL><INDENT>split = contents.split('<STR_LIT>', <NUM_LIT:1>)<EOL>if len(split) == <NUM_LIT:2>:<EOL><INDENT>contents = split[<NUM_LIT:1>]<EOL>try:<EOL><INDENT>blocks = yaml.load_all(split[<NUM_LIT:0>], Loader=yaml.FullLoader)<EOL>for block in blocks:<EOL><INDENT>if block:<EOL><INDENT>meta.update(block)<EOL><DEDENT><DEDENT><DEDENT>except ConstructorError as exception:<EOL><INDENT>warn('<STR_LIT>',<EOL>'<STR_LIT>' % (source_file,<EOL>str(exception)))<EOL><DEDENT><DEDENT><DEDENT>output_path = os.path.dirname(os.path.relpath(<EOL>source_file, next(iter(self.project.include_paths))))<EOL>ast = cmark.hotdoc_to_ast(contents, self)<EOL>return Page(source_file, False, self.project.sanitized_name, extension_name,<EOL>source_file=source_file, ast=ast, meta=meta, raw_contents=raw_contents,<EOL>output_path=output_path)<EOL>
Banana banana