doc: Work with sphinx 1.2.3

Fix up to work with new sphinx.

--------

Testing: will build with sphinx 1.2.3.