This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
commit 28dbac88e844a79eb7514abc6d8f27e816a1a495 Author: SHUANG SU <sushuang0...@gmail.com> AuthorDate: Thu Oct 17 22:30:52 2019 +0800 fix links in custom build tutorial. --- en/tutorial/custom-build.md | 8 ++++---- zh/tutorial/custom-build.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/en/tutorial/custom-build.md b/en/tutorial/custom-build.md index ae62c15..fac4824 100644 --- a/en/tutorial/custom-build.md +++ b/en/tutorial/custom-build.md @@ -4,20 +4,20 @@ # Create Custom Build of ECharts -In most cases, ECharts builds can be downloaded from the [download page](https://ecomfe.github.io/echarts-doc/public/en/download.html) or from the `echarts/dist` directory in our [GitHub project](https://github.com/ecomfe/echarts/releases), where +In most cases, ECharts builds can be downloaded from the [download page](${wesitePath}/en/download.html) or from the `echarts/dist` directory in our [GitHub project](https://github.com/ecomfe/echarts/releases), where these pre-builds are provided: + Complete verion: `echarts/dist/echarts.js`, including all charts and components (see `echarts/echarts.all.js` for detail), but has maximum file size. + Common version: `echarts/dist/echarts.common.js`, including common charts and components (see `echarts/echarts.common.js` for detail), moderate file size. + Simple version: `echarts/dist/echarts.simple.js`, including a smaller subset of the most common charts and components (see `echarts/echarts.simple.js` for detail), small file size. -If it is important for your use case to reduce the size of your ECharts dependency, you can customize your ECharts build by using one of these approaches: +We can also build echarts ourselves, which enables to only include the charts and components you needed. You can customize your ECharts build by using one of these approaches: -+ [Online custom build tool](http://echarts.baidu.com/builder.html) is relatively convenient (Currently available in Chinese only) ++ [Online custom build tool](${wesitePath}/en/builder.html) is relatively convenient. + The script `echarts/build/build.js` found in the project is flexible for module selecting, and supports multi-language builds + Build ECharts and your project directly by using tools such as [rollup](https://rollupjs.org/), [webpack](https://webpack.github.io/), [browserify](http://browserify.org/) -Below are some examples to illustrate the latter two approaches. +There are some examples to illustrate the latter two approaches below. ## Prepare: create our project and install echarts diff --git a/zh/tutorial/custom-build.md b/zh/tutorial/custom-build.md index 4c2d125..3fc1bed 100644 --- a/zh/tutorial/custom-build.md +++ b/zh/tutorial/custom-build.md @@ -2,15 +2,15 @@ # 自定义构建 ECharts -一般来说,可以直接从 [echarts 下载页](http://echarts.baidu.com/download.html) 中获取构建好的 echarts,也可以从 [GitHub](https://github.com/ecomfe/echarts/releases) 中的 `echarts/dist` 文件夹中获取构建好的 echarts,这都可以直接在浏览器端项目中使用。这些构建好的 echarts 提供了下面这几种定制: +一般来说,可以直接从 [echarts 下载页](${wesitePath}/zh/download.html) 中获取构建好的 echarts,也可以从 [GitHub](https://github.com/ecomfe/echarts/releases) 中的 `echarts/dist` 文件夹中获取构建好的 echarts,这都可以直接在浏览器端项目中使用。这些构建好的 echarts 提供了下面这几种定制: + 完全版:`echarts/dist/echarts.js`,体积最大,包含所有的图表和组件,所包含内容参见:`echarts/echarts.all.js`。 + 常用版:`echarts/dist/echarts.common.js`,体积适中,包含常见的图表和组件,所包含内容参见:`echarts/echarts.common.js`。 + 精简版:`echarts/dist/echarts.simple.js`,体积较小,仅包含最常用的图表和组件,所包含内容参见:`echarts/echarts.simple.js`。 -如果对文件体积有更严苛的要求,可以自己构建 echarts,能够仅仅包括自己所需要的图表和组件。自定义构建有几种方式: +我们也可以自己构建 echarts,能够仅仅包括自己所需要的图表和组件。可以用这几种方式自定义构建: -+ [在线自定义构建](http://echarts.baidu.com/builder.html):比较方便。 ++ [在线自定义构建](${wesitePath}/zh/builder.html):比较方便。 + 使用 `echarts/build/build.js` 脚本自定义构建:比在线构建更灵活一点,并且支持多语言。 + 直接使用构建工具(如 [rollup](https://rollupjs.org/)、[webpack](https://webpack.github.io/)、[browserify](http://browserify.org/))自己构建:也是一种选择。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org