cleaning up build parts from doc parts