Add support for genindex page