reorganisation of baremetal Doc