Setting reference directory to enable publishing snapshot docs