Clean the docs dir when necessary