adapt domain docs to new editing interface