'Parses the HTML File Text and returns the API Reference soup'

def get_api_reference_html(self, data):

    soup = BeautifulSoup(data.get_raw_data(), 'html.parser')
    reference = soup.find('a', attrs={'name': 'reference'})
    if reference:
        reference_soup = reference.find_parent().find_parent()
        return reference_soup
