If there is no docConfig.versions, use empty array