Add function index to docs