fix clean in a way that docs can still be recreated