Set numpydoc options to produce fewer Sphinx warnings.

The second is a new option that my PR numpy/numpydoc#6 adds, so we
should wait until that is merged to merge this.
Merge pull request #4763 from takluyver/docs-toctree-warnings

Set numpydoc options to produce fewer Sphinx warnings.