code: function getRichName(metaInfo) {
      if (metaInfo.deprecatedFrom) {
          return getDeprecatedTemplate()
              .replace(/\$version/g, metaInfo.deprecatedFrom)
              .replace(/\$replacement/g, metaInfo.replacement)
              .replace(/\$name/g, metaInfo.name);
      } else {
          return metaInfo.name;
      }
  }
docs: 有必要的话给文字弃用的样式和相应的提示