Fix `tox -e doc` duplicate id error

by adding `:noindex:` to doc/source/api.rst

Change-Id: Ie767a05f8375a2bea6b564d45adcf8b78bae1845