Fix issue #6618.

Add a config to our sphinx config file to remove the extra 'np-modindex' (np = numpy).

This is the particular config: http://sphinx-doc.org/config.html#confval-html_domain_indices