From 47b17e22b1dace6b02b06fdfc1c291a35d63f026 Mon Sep 17 00:00:00 2001 From: fisherspy Date: Thu, 4 Apr 2019 19:06:48 +0800 Subject: [PATCH] perf(module: site): use https by default --- .editorconfig | 2 +- .github/ISSUE_TEMPLATE.md | 4 +- .gitignore | 2 +- .npmignore | 2 +- CONTRIBUTING.md | 6 +- README-zh_CN.md | 10 +- README.md | 10 +- angular.json | 4 +- components/core/util/icon.ts | 4 +- .../core/util/textarea-caret-position.ts | 2 +- components/icon/icon.component.html | 2 +- .../image-picker/image-picker.component.ts | 2 +- components/notice-bar/style/index.less | 2 +- components/polyfills.ts | 2 +- components/steps/demo/basic.ts | 2 +- components/steps/steps.component.spec.ts | 2 +- components/style/mixins/icon.less | 24 ++--- docs/changelog.en-US.md | 2 +- docs/changelog.zh-CN.md | 2 +- docs/customize-theme.en-US.md | 2 +- docs/customize-theme.zh-CN.md | 2 +- docs/getting-started.en-US.md | 2 +- docs/introduce.en-US.md | 10 +- docs/introduce.zh-CN.md | 10 +- docs/running-in-ionic.en-US.md | 2 +- docs/running-in-ionic.zh-CN.md | 2 +- integration/angular-cli/src/polyfills.ts | 2 +- integration/rollup/src/polyfills.ts | 2 +- integration/webpack/src/polyfills.ts | 2 +- protractor.conf.js | 2 +- schematics/ng-add/schema.json | 2 +- scripts/schematics/template/schema.json | 2 +- scripts/site/_site/src/app/app.component.html | 10 +- .../kitchen-sink/kitchen-sink.component.html | 2 +- .../src/assets/fonts/Lato/Lato-Regular.svg | 4 +- .../_site/src/assets/fonts/Raleway/OFL.txt | 94 ------------------- .../src/assets/fonts/Raleway/Raleway.svg | 4 +- .../site/_site/src/assets/fonts/iconfont.svg | 4 +- scripts/site/_site/src/assets/img/angular.svg | 2 +- scripts/site/_site/src/assets/img/icon.ts | 85 ----------------- scripts/site/_site/src/assets/img/logo.svg | 2 +- scripts/site/_site/src/assets/img/zorro.svg | 4 +- scripts/site/_site/src/polyfills.ts | 2 +- scripts/site/_site/src/style/highlight.less | 2 +- 44 files changed, 82 insertions(+), 261 deletions(-) delete mode 100644 scripts/site/_site/src/assets/fonts/Raleway/OFL.txt delete mode 100755 scripts/site/_site/src/assets/img/icon.ts diff --git a/.editorconfig b/.editorconfig index a4f16201..4d7a4058 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# Editor configuration, see http://editorconfig.org +# Editor configuration, see https://editorconfig.org root = true [*] diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 276f56ca..ba02833a 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,7 +1,7 @@ @@ -9,7 +9,7 @@ If your issue was not created using the app above, it will be closed immediately diff --git a/.gitignore b/.gitignore index 57f725cd..7dac90fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. +# See https://help.github.com/ignore-files/ for more about ignoring files. # compiled output /doc diff --git a/.npmignore b/.npmignore index d2e8955c..ad1851ae 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,4 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. +# See https://help.github.com/ignore-files/ for more about ignoring files. # compiled output /dist diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d8baf8f..ba09609a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,13 +50,13 @@ and help you to craft the change so that it is successfully accepted into the pr Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available. -We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs we will systematically ask you to provide a minimal reproduction scenario using http://plnkr.co. Having a live, reproducible scenario gives us wealth of important information without going back & forth to you with additional questions like: +We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs we will systematically ask you to provide a minimal reproduction scenario using https://plnkr.co. Having a live, reproducible scenario gives us wealth of important information without going back & forth to you with additional questions like: - version of **NG-ZORRO-MOBILE** used - 3rd-party libraries and their versions - and most importantly - a use-case that fails -A minimal reproduce scenario using http://plnkr.co/ allows us to quickly confirm a bug (or point out coding problem) as well as confirm that we are fixing the right problem. If plunker is not a suitable way to demonstrate the problem (for example for issues related to our npm packaging), please create a standalone git repository demonstrating the problem. +A minimal reproduce scenario using https://plnkr.co/ allows us to quickly confirm a bug (or point out coding problem) as well as confirm that we are fixing the right problem. If plunker is not a suitable way to demonstrate the problem (for example for issues related to our npm packaging), please create a standalone git repository demonstrating the problem. We will be insisting on a minimal reproduce scenario in order to save maintainers time and ultimately be able to fix more bugs. Interestingly, from our experience users often find coding problems themselves while preparing a minimal plunk. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base but we really need to isolate the problem before we can fix it. @@ -235,4 +235,4 @@ A detailed explanation can be found in this [document][commit-message-format]. [dev-doc]: https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/docs/DEVELOPER.md [github]: https://github.com/NG-ZORRO/ng-zorro-antd-mobile [gitter]: https://gitter.im/ng-zorro/ng-zorro-antd-mobile -[plunker]: http://plnkr.co/edit +[plunker]: https://plnkr.co/edit diff --git a/README-zh_CN.md b/README-zh_CN.md index 7394ee0d..e93a0ee4 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -9,7 +9,7 @@ [![DevDependencies](https://img.shields.io/david/dev/NG-ZORRO/ng-zorro-antd-mobile.svg?style=flat-square)](https://david-dm.org/NG-ZORRO/ng-zorro-antd-mobile?type=dev) [![GitHub Release Date](https://img.shields.io/github/release-date/NG-ZORRO/ng-zorro-antd-mobile.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/releases) [![npm package](https://img.shields.io/npm/v/ng-zorro-antd-mobile.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd-mobile) -[![NPM downloads](http://img.shields.io/npm/dm/ng-zorro-antd-mobile.svg?style=flat-square)](https://npmjs.org/package/ng-zorro-antd-mobile) +[![NPM downloads](https://img.shields.io/npm/dm/ng-zorro-antd-mobile.svg?style=flat-square)](https://npmjs.org/package/ng-zorro-antd-mobile) [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/LICENSE) [![Gitter](https://img.shields.io/gitter/room/ng-zorro/ng-zorro-antd-mobile.svg?style=flat-square)](https://gitter.im/ng-zorro/ng-zorro-antd-mobile) @@ -49,7 +49,7 @@ $ ng add ng-zorro-antd-mobile ## 链接 -- [首页](http://ng.mobile.ant.design) +- [首页](https://ng.mobile.ant.design) - [Angular官方文档](https://angular.io/) - [开发脚手架](https://cli.angular.io/) - [TypeScript](https://www.typescriptlang.org/) @@ -57,9 +57,9 @@ $ ng add ng-zorro-antd-mobile ## 如何贡献 -在任何形式的参与前,请先阅读 [贡献者文档](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/CONTRIBUTING.md)。如果你希望参与贡献,欢迎 [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls),或给我们 [报告 Bug](http://ng.mobile.ant.design/issue-helper/#/zh)。 +在任何形式的参与前,请先阅读 [贡献者文档](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/CONTRIBUTING.md)。如果你希望参与贡献,欢迎 [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls),或给我们 [报告 Bug](https://ng.mobile.ant.design/issue-helper/#/zh)。 -> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)(本指南不提供此项目的实际支持服务!)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。 +> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)(本指南不提供此项目的实际支持服务!)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](https://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。 ## 社区互助 @@ -75,7 +75,7 @@ $ ng add ng-zorro-antd-mobile ## 谁在使用 -- [阿里巴巴](http://www.alibaba.com/) +- [阿里巴巴](https://www.alibaba.com/) > 如果你的公司和产品使用了 **NG-ZORRO-MOBILE**,欢迎到 [这里](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/3) 留言。 diff --git a/README.md b/README.md index 69b8e990..6c644b59 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![DevDependencies](https://img.shields.io/david/dev/NG-ZORRO/ng-zorro-antd-mobile.svg?style=flat-square)](https://david-dm.org/NG-ZORRO/ng-zorro-antd-mobile?type=dev) [![GitHub Release Date](https://img.shields.io/github/release-date/NG-ZORRO/ng-zorro-antd-mobile.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/releases) [![npm package](https://img.shields.io/npm/v/ng-zorro-antd-mobile.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd-mobile) -[![NPM downloads](http://img.shields.io/npm/dm/ng-zorro-antd-mobile.svg?style=flat-square)](https://npmjs.org/package/ng-zorro-antd-mobile) +[![NPM downloads](https://img.shields.io/npm/dm/ng-zorro-antd-mobile.svg?style=flat-square)](https://npmjs.org/package/ng-zorro-antd-mobile) [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/LICENSE) [![Gitter](https://img.shields.io/gitter/room/ng-zorro/ng-zorro-antd-mobile.svg?style=flat-square)](https://gitter.im/ng-zorro/ng-zorro-antd-mobile) @@ -64,19 +64,19 @@ $ npm install ng-zorro-antd-mobile We welcome all contributions. Please read our [CONTRIBUTING.md](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/CONTRIBUTING.md) first. -If you'd like to help us improve **NG-ZORRO-MOBILE**, just create a [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls). Feel free to report bugs and issues [here](http://ng.mobile.ant.design/issue-helper/#/en). +If you'd like to help us improve **NG-ZORRO-MOBILE**, just create a [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls). Feel free to report bugs and issues [here](https://ng.mobile.ant.design/issue-helper/#/en). -> If you're new to posting issues, we ask that you read [How To Ask Questions The Smart Way](http://www.catb.org/~esr/faqs/smart-questions.html)(This guide does not provide actual support services for this project!) and [How to Ask a Question in Open Source Community](https://github.com/seajs/seajs/issues/545) and [How to Report Bugs Effectively](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html) prior to posting. Well written bug reports help us help you! +> If you're new to posting issues, we ask that you read [How To Ask Questions The Smart Way](https://www.catb.org/~esr/faqs/smart-questions.html)(This guide does not provide actual support services for this project!) and [How to Ask a Question in Open Source Community](https://github.com/seajs/seajs/issues/545) and [How to Report Bugs Effectively](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html) prior to posting. Well written bug reports help us help you! ## Help from the Community -For questions on how to use **NG-ZORRO-MOBILE**, please post questions to [Stack Overflow](http://stackoverflow.com/questions/tagged/ng-zorro-mobile) using the `ng-zorro-mobile` tag. If you're not finding what you need on StackOverflow, you can find us on [![Gitter](https://img.shields.io/gitter/room/ng-zorro/ng-zorro-antd-mobile.svg?style=flat-square)](https://gitter.im/ng-zorro/ng-zorro-antd-mobile) as well. +For questions on how to use **NG-ZORRO-MOBILE**, please post questions to [Stack Overflow](https://stackoverflow.com/questions/tagged/ng-zorro-mobile) using the `ng-zorro-mobile` tag. If you're not finding what you need on StackOverflow, you can find us on [![Gitter](https://img.shields.io/gitter/room/ng-zorro/ng-zorro-antd-mobile.svg?style=flat-square)](https://gitter.im/ng-zorro/ng-zorro-antd-mobile) as well. As always, we encourage experienced users to help those who are not familiar with **NG-ZORRO-MOBILE**! ## Users -- [Alibaba](http://www.alibaba.com/) +- [Alibaba](https://www.alibaba.com/) > If your company or product is using **NG-ZORRO-MOBILE**, please let us know [here](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/3)! diff --git a/angular.json b/angular.json index 11f78b71..fa00a176 100644 --- a/angular.json +++ b/angular.json @@ -46,10 +46,10 @@ "extractCss": true, "namedChunks": false, "aot": true, - "extractLicenses": true, + "extractLicenses": false, "vendorChunk": false, "buildOptimizer": true, - "serviceWorker": true + "serviceWorker": false } } }, diff --git a/components/core/util/icon.ts b/components/core/util/icon.ts index cc456d45..5b0e3b85 100755 --- a/components/core/util/icon.ts +++ b/components/core/util/icon.ts @@ -5,8 +5,8 @@ import { Injectable } from '@angular/core'; const svgSprite = contents => ` diff --git a/components/core/util/textarea-caret-position.ts b/components/core/util/textarea-caret-position.ts index f4c84702..240835fb 100644 --- a/components/core/util/textarea-caret-position.ts +++ b/components/core/util/textarea-caret-position.ts @@ -114,7 +114,7 @@ export function getCaretCoordinates(element: HTMLInputElement | HTMLTextAreaElem div.textContent = element.value.substring(0, position); // The second special handling for input type="text" vs textarea: - // spaces need to be replaced with non-breaking spaces - http://stackoverflow.com/a/13402035/1269037 + // spaces need to be replaced with non-breaking spaces - https://stackoverflow.com/a/13402035/1269037 if (isInput) { div.textContent = div.textContent.replace(/\s/g, '\u00a0'); } diff --git a/components/icon/icon.component.html b/components/icon/icon.component.html index 84a7ad05..eb43b80f 100644 --- a/components/icon/icon.component.html +++ b/components/icon/icon.component.html @@ -3,7 +3,7 @@ [ngClass]="clsMap" [ngStyle]="{color: color}" > - + diff --git a/components/image-picker/image-picker.component.ts b/components/image-picker/image-picker.component.ts index ee080dce..442a42d7 100644 --- a/components/image-picker/image-picker.component.ts +++ b/components/image-picker/image-picker.component.ts @@ -206,7 +206,7 @@ export class ImagePicker { return imgRotation; } - // http://stackoverflow.com/questions/7584794/accessing-jpeg-exif-rotation-data-in-javascript-on-the-client-side + // https://stackoverflow.com/questions/7584794/accessing-jpeg-exif-rotation-data-in-javascript-on-the-client-side getOrientation(file: any, callback: (_: number) => void) { const reader = new FileReader(); reader.onload = e => { diff --git a/components/notice-bar/style/index.less b/components/notice-bar/style/index.less index 63fcce1a..2a6795f7 100755 --- a/components/notice-bar/style/index.less +++ b/components/notice-bar/style/index.less @@ -3,7 +3,7 @@ @noticeBarPrefixCls: am-notice-bar; @import './notice-bar.less'; -@icon-trips: 'trips'; +@icon-trips: 'trips'; .@{noticeBarPrefixCls} { background-color: @notice-bar-fill; diff --git a/components/polyfills.ts b/components/polyfills.ts index 52ee0504..f6a5c6f3 100644 --- a/components/polyfills.ts +++ b/components/polyfills.ts @@ -43,7 +43,7 @@ import 'core-js/es7/reflect'; /** * Required to support Web Animations `@angular/animation`. - * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + * Needed for: All but Chrome, Firefox and Opera. https://caniuse.com/#feat=web-animation **/ import 'web-animations-js'; // Run `npm install --save web-animations-js`. diff --git a/components/steps/demo/basic.ts b/components/steps/demo/basic.ts index 4ed19696..fbadb7cd 100644 --- a/components/steps/demo/basic.ts +++ b/components/steps/demo/basic.ts @@ -100,7 +100,7 @@ import { Component, OnInit } from '@angular/core'; - + diff --git a/components/steps/steps.component.spec.ts b/components/steps/steps.component.spec.ts index aab31ae7..a84c9f29 100644 --- a/components/steps/steps.component.spec.ts +++ b/components/steps/steps.component.spec.ts @@ -75,7 +75,7 @@ describe('StepsComponent', () => { - + diff --git a/components/style/mixins/icon.less b/components/style/mixins/icon.less index 6607156c..bffc79d0 100644 --- a/components/style/mixins/icon.less +++ b/components/style/mixins/icon.less @@ -3,61 +3,61 @@ @svg-bg-img: ''; .encoded-svg-background(@svg) when (@svg = 'image_picker_delete') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'input_item_delete') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'input_item_kb_backspace') { - @svg-bg-img: ''; + @svg-bg-img: ''; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'input_item_kb_hide') { - @svg-bg-img: ''; + @svg-bg-img: ''; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'modal_delete') { - @svg-bg-img: " "; + @svg-bg-img: " "; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'textarea_item_delete') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'right') { - @svg-bg-img: ''; + @svg-bg-img: ''; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'error') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'loading') { - @svg-bg-img: ''; + @svg-bg-img: ''; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'search_bar_search') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'search_bar_clear') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } .encoded-svg-background(@svg) when (@svg = 'search_bar_clear_active') { - @svg-bg-img: ""; + @svg-bg-img: ""; .encoded-svg-background-i(@svg-bg-img); } diff --git a/docs/changelog.en-US.md b/docs/changelog.en-US.md index 00dd3451..fe9af62d 100755 --- a/docs/changelog.en-US.md +++ b/docs/changelog.en-US.md @@ -5,7 +5,7 @@ toc: false timeline: true --- -`ng-zorro-antd-mobile` strictly follows [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/). +`ng-zorro-antd-mobile` strictly follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). #### Release Schedule diff --git a/docs/changelog.zh-CN.md b/docs/changelog.zh-CN.md index 0cf09b67..4e868f8e 100755 --- a/docs/changelog.zh-CN.md +++ b/docs/changelog.zh-CN.md @@ -5,7 +5,7 @@ toc: false timeline: true --- -`ng-zorro-antd-mobile` 严格遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。 +`ng-zorro-antd-mobile` 严格遵循 [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/) 语义化版本规范。 #### 发布周期 diff --git a/docs/customize-theme.en-US.md b/docs/customize-theme.en-US.md index 1975657d..d5abdbcc 100644 --- a/docs/customize-theme.en-US.md +++ b/docs/customize-theme.en-US.md @@ -9,7 +9,7 @@ title: Customize Theme ## Less variables -We are using [Less](http://lesscss.org/) as the development language for styling. A set of less variables are defined for each design aspect that can be customized to your needs. +We are using [Less](https://lesscss.org/) as the development language for styling. A set of less variables are defined for each design aspect that can be customized to your needs. > You can use the theme definition file of react version in ng-zorro-antd-mobile too. diff --git a/docs/customize-theme.zh-CN.md b/docs/customize-theme.zh-CN.md index 63355547..e16db7ba 100644 --- a/docs/customize-theme.zh-CN.md +++ b/docs/customize-theme.zh-CN.md @@ -9,7 +9,7 @@ title: 定制主题 ## 定制方式 -Ant Design 的样式使用了 [Less](http://lesscss.org/) 作为开发语言,并定义了一系列全局/组件的样式变量,你可以根据需求进行相应调整,[默认样式变量](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/components/style/themes/default.less) +Ant Design 的样式使用了 [Less](https://lesscss.org/) 作为开发语言,并定义了一系列全局/组件的样式变量,你可以根据需求进行相应调整,[默认样式变量](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/components/style/themes/default.less) > Ant Design React 的主题定制文件在 `ng-zorro-antd-mobile` 中同样可以使用。 diff --git a/docs/getting-started.en-US.md b/docs/getting-started.en-US.md index 83aa2d19..f317e6fa 100755 --- a/docs/getting-started.en-US.md +++ b/docs/getting-started.en-US.md @@ -5,7 +5,7 @@ title: Getting Started **NG-ZORRO-MOBILE** is dedicated to providing a **good development experience** for programmers. -> Before delving into **NG-ZORRO-MOBILE**, a good knowledge of [Angular](https://angular.io/) and [JavaScript ES2015](http://babeljs.io/docs/learn-es2015/) is needed. +> Before delving into **NG-ZORRO-MOBILE**, a good knowledge of [Angular](https://angular.io/) and [JavaScript ES2015](https://babeljs.io/docs/learn-es2015/) is needed. ## Playground diff --git a/docs/introduce.en-US.md b/docs/introduce.en-US.md index d9d127e3..5970913a 100755 --- a/docs/introduce.en-US.md +++ b/docs/introduce.en-US.md @@ -1,6 +1,6 @@ --- order: 0 -title: Ant Design Mobile of Angular +title: Ant Design Mobile of Angular --- This is the **Angular** implementation of **Ant Design Mobile** specification, serving **Alibaba** big data wireless service. @@ -155,7 +155,7 @@ $ npm install ng-zorro-antd-mobile ## Companies using NG-ZORRO-MOBILE -- [Alibaba](http://www.alibaba.com/) +- [Alibaba](https://www.alibaba.com/) > If your company or product is using **NG-ZORRO-MOBILE**, please let us know [here](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/3)! @@ -163,12 +163,12 @@ $ npm install ng-zorro-antd-mobile Please read our [CONTRIBUTING.md](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/CONTRIBUTING.md) first. -If you'd like to help us improve ng-zorro-antd-mobile, just create a [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls). Feel free to report bugs and issues [here](http://ng.mobile.ant.design/issue-helper/#/en). +If you'd like to help us improve ng-zorro-antd-mobile, just create a [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls). Feel free to report bugs and issues [here](https://ng.mobile.ant.design/issue-helper/#/en). -> If you're new to posting issues, we ask that you read [How To Ask Questions The Smart Way](http://www.catb.org/~esr/faqs/smart-questions.html)(This guide does not provide actual support services for this project!) and [How to Ask a Question in Open Source Community](https://github.com/seajs/seajs/issues/545) and [How to Report Bugs Effectively](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html) prior to posting. Well written bug reports help us help you! +> If you're new to posting issues, we ask that you read [How To Ask Questions The Smart Way](https://www.catb.org/~esr/faqs/smart-questions.html)(This guide does not provide actual support services for this project!) and [How to Ask a Question in Open Source Community](https://github.com/seajs/seajs/issues/545) and [How to Report Bugs Effectively](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html) prior to posting. Well written bug reports help us help you! ## Need Help? -For questions on how to use **NG-ZORRO-MOBILE**, please post questions to [Stack Overflow](http://stackoverflow.com/questions/tagged/ng-zorro-mobile) using the `ng-zorro-mobile` tag. If you're not finding what you need on StackOverflow, you can find us on [![Gitter](https://img.shields.io/gitter/room/ng-zorro/ng-zorro-antd-mobile.svg?style=flat-square)](https://gitter.im/ng-zorro/ng-zorro-antd-mobile) as well. +For questions on how to use **NG-ZORRO-MOBILE**, please post questions to [Stack Overflow](https://stackoverflow.com/questions/tagged/ng-zorro-mobile) using the `ng-zorro-mobile` tag. If you're not finding what you need on StackOverflow, you can find us on [![Gitter](https://img.shields.io/gitter/room/ng-zorro/ng-zorro-antd-mobile.svg?style=flat-square)](https://gitter.im/ng-zorro/ng-zorro-antd-mobile) as well. As always, we encourage experienced users to help those who are not familiar with **NG-ZORRO-MOBILE**! diff --git a/docs/introduce.zh-CN.md b/docs/introduce.zh-CN.md index 252f2d20..a28bbd5d 100755 --- a/docs/introduce.zh-CN.md +++ b/docs/introduce.zh-CN.md @@ -1,6 +1,6 @@ --- order: 0 -title: Ant Design Mobile of Angular +title: Ant Design Mobile of Angular --- 这里是 **Ant Design** 移动规范的 **Angular** 实现,服务于阿里巴巴集团数据无线业务。 @@ -149,7 +149,7 @@ $ ng add ng-zorro-antd-mobile ## 链接 -- [首页](http://ng.mobile.ant.design) +- [首页](https://ng.mobile.ant.design) - [Angular 官方文档](https://angular.io/) - [开发脚手架](https://cli.angular.io/) - [TypeScript](https://www.typescriptlang.org/) @@ -157,15 +157,15 @@ $ ng add ng-zorro-antd-mobile ## 谁在使用 -- [阿里巴巴](http://www.alibaba.com/) +- [阿里巴巴](https://www.alibaba.com/) > 如果你的公司和产品使用了 **NG-ZORRO-MOBILE**,欢迎到 [这里](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/3) 留言。 ## 如何贡献 -在任何形式的参与前,请先阅读 [贡献者文档](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/CONTRIBUTING.md)。如果你希望参与贡献,欢迎 [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls),或给我们 [报告 Bug](http://ng.mobile.ant.design/issue-helper/#/zh)。 +在任何形式的参与前,请先阅读 [贡献者文档](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/blob/master/CONTRIBUTING.md)。如果你希望参与贡献,欢迎 [Pull Request](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pulls),或给我们 [报告 Bug](https://ng.mobile.ant.design/issue-helper/#/zh)。 -> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)(本指南不提供此项目的实际支持服务!)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。 +> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)(本指南不提供此项目的实际支持服务!)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](https://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。 ## 社区互助 diff --git a/docs/running-in-ionic.en-US.md b/docs/running-in-ionic.en-US.md index 42ec9b8d..a7f4bb11 100644 --- a/docs/running-in-ionic.en-US.md +++ b/docs/running-in-ionic.en-US.md @@ -33,7 +33,7 @@ $ ionic start PROJECT-NAME $ ng add ng-zorro-antd-mobile ``` -`ng-zorro-antd-mobile` supports init configuration with schematics, you can get more info in the [schematics](http://ng.mobile.ant.design/#/docs/schematics/en) part. +`ng-zorro-antd-mobile` supports init configuration with schematics, you can get more info in the [schematics](https://ng.mobile.ant.design/#/docs/schematics/en) part. ### 4. Development & Debugging diff --git a/docs/running-in-ionic.zh-CN.md b/docs/running-in-ionic.zh-CN.md index 0e358895..1cff7912 100644 --- a/docs/running-in-ionic.zh-CN.md +++ b/docs/running-in-ionic.zh-CN.md @@ -33,7 +33,7 @@ $ ionic start PROJECT-NAME $ ng add ng-zorro-antd-mobile ``` -开发者可以通过增加参数来完成个性化的初始化配置,例如自定义主题,还可以快速生成模板代码,详细可以参考 [脚手架](http://ng.mobile.ant.design/#/docs/schematics/zh) 部分。 +开发者可以通过增加参数来完成个性化的初始化配置,例如自定义主题,还可以快速生成模板代码,详细可以参考 [脚手架](https://ng.mobile.ant.design/#/docs/schematics/zh) 部分。 ### 4. 开发调试 diff --git a/integration/angular-cli/src/polyfills.ts b/integration/angular-cli/src/polyfills.ts index 7831e97b..da551b6e 100755 --- a/integration/angular-cli/src/polyfills.ts +++ b/integration/angular-cli/src/polyfills.ts @@ -44,7 +44,7 @@ import 'core-js/es7/reflect'; /** * Required to support Web Animations `@angular/animation`. - * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + * Needed for: All but Chrome, Firefox and Opera. https://caniuse.com/#feat=web-animation **/ // import 'web-animations-js'; // Run `npm install --save web-animations-js`. diff --git a/integration/rollup/src/polyfills.ts b/integration/rollup/src/polyfills.ts index 7831e97b..da551b6e 100755 --- a/integration/rollup/src/polyfills.ts +++ b/integration/rollup/src/polyfills.ts @@ -44,7 +44,7 @@ import 'core-js/es7/reflect'; /** * Required to support Web Animations `@angular/animation`. - * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + * Needed for: All but Chrome, Firefox and Opera. https://caniuse.com/#feat=web-animation **/ // import 'web-animations-js'; // Run `npm install --save web-animations-js`. diff --git a/integration/webpack/src/polyfills.ts b/integration/webpack/src/polyfills.ts index 7831e97b..da551b6e 100755 --- a/integration/webpack/src/polyfills.ts +++ b/integration/webpack/src/polyfills.ts @@ -44,7 +44,7 @@ import 'core-js/es7/reflect'; /** * Required to support Web Animations `@angular/animation`. - * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + * Needed for: All but Chrome, Firefox and Opera. https://caniuse.com/#feat=web-animation **/ // import 'web-animations-js'; // Run `npm install --save web-animations-js`. diff --git a/protractor.conf.js b/protractor.conf.js index 7ee3b5ee..9702c378 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -12,7 +12,7 @@ exports.config = { 'browserName': 'chrome' }, directConnect: true, - baseUrl: 'http://localhost:4200/', + baseUrl: 'https://localhost:4200/', framework: 'jasmine', jasmineNodeOpts: { showColors: true, diff --git a/schematics/ng-add/schema.json b/schematics/ng-add/schema.json index a8aa66cd..de548279 100644 --- a/schematics/ng-add/schema.json +++ b/schematics/ng-add/schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/schema", + "$schema": "https://json-schema.org/schema", "id": "ngAdd", "title": "add NG-ZORRO-MOBILE", "type": "object", diff --git a/scripts/schematics/template/schema.json b/scripts/schematics/template/schema.json index e1dbe1c7..258ebec3 100644 --- a/scripts/schematics/template/schema.json +++ b/scripts/schematics/template/schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/schema", + "$schema": "https://json-schema.org/schema", "id": "AddNgZorroMobileTable", "title": "Add NG-ZORRO-MOBILE Table", "type": "object", diff --git a/scripts/site/_site/src/app/app.component.html b/scripts/site/_site/src/app/app.component.html index a19b88fe..35176574 100644 --- a/scripts/site/_site/src/app/app.component.html +++ b/scripts/site/_site/src/app/app.component.html @@ -87,11 +87,11 @@

Ant Design

-
- NG-ZORRO + NG-ZORRO - Ant Design of Angular
- Ant Design Mobile + Ant Design Mobile - React
@@ -99,7 +99,7 @@

Ant Design

- React
- Ant Design Pro + Ant Design Pro
{{language==='zh'?'资源链接':'Resources'}} Angular CLI
- AntD Library + AntD Library
@@ -137,7 +137,7 @@

{{language==='zh'?'社区':'Community'}}

{{language==='zh'?'更新记录':'Change Log'}}
- + {{language==='zh'?'报告 Bug':'Bug Report'}}
diff --git a/scripts/site/_site/src/app/kitchen-sink/kitchen-sink.component.html b/scripts/site/_site/src/app/kitchen-sink/kitchen-sink.component.html index 015d7274..501da4e0 100644 --- a/scripts/site/_site/src/app/kitchen-sink/kitchen-sink.component.html +++ b/scripts/site/_site/src/app/kitchen-sink/kitchen-sink.component.html @@ -16,7 +16,7 @@

- +
diff --git a/scripts/site/_site/src/assets/fonts/Lato/Lato-Regular.svg b/scripts/site/_site/src/assets/fonts/Lato/Lato-Regular.svg index 55b43fb8..cc32dda5 100644 --- a/scripts/site/_site/src/assets/fonts/Lato/Lato-Regular.svg +++ b/scripts/site/_site/src/assets/fonts/Lato/Lato-Regular.svg @@ -1,6 +1,6 @@ - - + + - - + + - - + + Created by FontForge 20120731 at Fri Mar 17 19:08:59 2017 By admin diff --git a/scripts/site/_site/src/assets/img/angular.svg b/scripts/site/_site/src/assets/img/angular.svg index bf081acb..c5000ef5 100644 --- a/scripts/site/_site/src/assets/img/angular.svg +++ b/scripts/site/_site/src/assets/img/angular.svg @@ -1,6 +1,6 @@ -