write developer doc for portal manager