Document endpoint, projectRoot and context