add TOCs to API pages