Why is collect_pages inconsistent with doctree_read for epub viewcode_enable_epub check?