ensuring docs are cleared at every build