def parse(self):
soup = BeautifulSoup(<EOL>codecs.open(<EOL>os.path.join(self.doc_path, "<STR_LIT>"),<EOL>mode="<STR_LIT:r>",<EOL>encoding="<STR_LIT:utf-8>",<EOL>),<EOL>"<STR_LIT>",<EOL>)<EOL>for tag in soup.body.find_all("<STR_LIT:a>"):<EOL><INDENT>path = tag.get("<STR_LIT>")<EOL>data_type = tag.get("<STR_LIT>")<EOL>if path and data_type and not path.startswith("<STR_LIT:#>"):<EOL><INDENT>name = tag.string<EOL>yield ParserEntry(<EOL>name=name,<EOL>type=data_type.replace("<STR_LIT>", "<STR_LIT>"),<EOL>path=str(path),<EOL>)<EOL><DEDENT><DEDENT>
Parse pydoctor docs at *doc_path*.

yield `ParserEntry`s