DOCS-3178: fixing genindex template