DOC: fix API docs generation with sphinx 1.6
See discussion https://github.com/pandas-dev/pandas/pull/16702#issuecomment-308689543. Pinned sphinx to 1.5* for now (https://github.com/pandas-dev/pandas/pull/16704)