ensure doc folder is created