change to topdir after docs generation