Rewrite docs/conf.py
Rewrite docs/conf.py

This simplifies the Sphinx configuration and adds additional grouping
and structure to the existing code as well.

pfmoore/pip,pradyunsg/pip,pypa/pip,sbidoul/pip,pfmoore/pip,pypa/pip,pradyunsg/pip,sbidoul/pip