Update index.rst.

Directly link to the Legacy API document with :doc:.