add baseDir and relativeBaseDir options in doc