serve docs from api