Migrate documentation from api.adoc into src files