Sorry, if you mean the index page as in the page used in parse_index, then no it doesn't apply. In that case you have to do it manually.
Code:
raw = self.index_to_soup(index_url, raw=True)
raw = re.sub(r'(?i)<!DOCTYPE[^>]+>', '', raw)
soup = self.index_to_soup(raw)