add document and ignore