updated api doc with AGPageConfig usage