move API doc to the docs directory