- clean docdir first