docs(@angular/cli): resolve HTTP 301 redirects

This commit is contained in:
jsshandle 2018-07-07 16:03:17 +02:00 committed by Filipe Silva
parent 1188e35b27
commit 524807d6cf
15 changed files with 29 additions and 29 deletions

View File

@ -436,19 +436,19 @@ The "2. Docker CLI tools via `child_process.exec`" method is recommended based o
* [Docker Run](https://docs.docker.com/engine/reference/run/) * [Docker Run](https://docs.docker.com/engine/reference/run/)
* [Docker-Compose File](https://docs.docker.com/compose/compose-file/) * [Docker-Compose File](https://docs.docker.com/compose/compose-file/)
* [Kubernetes Pod](http://kubernetes.io/docs/api-reference/v1/definitions/#_v1_pod) * [Kubernetes Pod](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.10/)
* [Marathon App](https://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps) * [Marathon App](https://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps)
* [Tutum Container](https://docs.tutum.co/v2/api/#container) * [Tutum Container](https://docs.tutum.co/v2/api/#container)
* [AWS Elastic Beanstalk/ECS Task Definition](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) * [AWS Elastic Beanstalk/ECS Task Definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html)
* [Azure Service Fabric App](https://azure.microsoft.com/en-us/documentation/articles/service-fabric-deploy-remove-applications/) * [Azure Service Fabric App](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-deploy-remove-applications)
* [Heroku Docker CLI](https://github.com/heroku/heroku-docker) * [Heroku Docker CLI](https://github.com/heroku/heroku-container-tools)
* [Redspread](https://github.com/redspread/spread) * [Redspread](https://github.com/redspread/spread)
* [Docker Universal Control Plane](https://www.docker.com/products/docker-universal-control-plane) * [Docker Universal Control Plane](https://www.docker.com/products/docker-universal-control-plane)
* [Puppet Docker Module](https://github.com/garethr/garethr-docker) * [Puppet Docker Module](https://github.com/garethr/garethr-docker)
* [Chef Docker Cookbook](https://supermarket.chef.io/cookbooks/docker) * [Chef Docker Cookbook](https://supermarket.chef.io/cookbooks/docker)
* [Ansible Docker Module](http://docs.ansible.com/ansible/docker_module.html) * [Ansible Docker Module](https://docs.ansible.com/ansible/latest/modules/docker_module.html)
* [Bamboo Docker Tasks](https://confluence.atlassian.com/bamboo/configuring-the-docker-task-in-bamboo-720411254.html) * [Bamboo Docker Tasks](https://confluence.atlassian.com/bamboo/configuring-the-docker-task-in-bamboo-720411254.html)
* [Freight Forwarder Manifest](http://freight-forwarder.readthedocs.org/en/latest/config/overview.html) * [Freight Forwarder Manifest](http://freight-forwarder.readthedocs.io/en/latest/config/overview.html)
* [Gulp Docker Tasks](https://www.npmjs.com/package/gulp-docker) * [Gulp Docker Tasks](https://www.npmjs.com/package/gulp-docker)
* [Grunt Dock Tasks](https://www.npmjs.com/package/grunt-dock) * [Grunt Dock Tasks](https://www.npmjs.com/package/grunt-dock)
* [Robo Docker Tasks](http://robo.li/tasks/Docker/) * [Robo Docker Tasks](https://robo.li/tasks/Docker/)

View File

@ -301,7 +301,7 @@ See https://github.com/angular/angular-cli/issues/7797 for details.
<code>--stats-json</code> <code>--stats-json</code>
</p> </p>
<p> <p>
Generates a <code>stats.json</code> file which can be analyzed using tools such as: <code>webpack-bundle-analyzer</code> or https://webpack.github.io/analyse. Generates a <code>stats.json</code> file which can be analyzed using tools such as: <code>webpack-bundle-analyzer</code> or https://webpack.github.io/analyse/.
</p> </p>
</details> </details>

View File

@ -11,7 +11,7 @@
ng e2e ng e2e
``` ```
End-to-end tests are run via [Protractor](https://angular.github.io/protractor/). End-to-end tests are run via [Protractor](http://www.protractortest.org/).
## Options ## Options

View File

@ -42,7 +42,7 @@ ng e2e
``` ```
Before running the tests make sure you are serving the app via `ng serve`. Before running the tests make sure you are serving the app via `ng serve`.
End-to-end tests are run via [Protractor](https://angular.github.io/protractor/). End-to-end tests are run via [Protractor](http://www.protractortest.org/).
### Additional Commands ### Additional Commands
* [ng new](1-x/new) * [ng new](1-x/new)

View File

@ -4,7 +4,7 @@ Currently, the CLI uses [Autoprefixer](https://github.com/postcss/autoprefixer)
with different browser and browser versions. You may find it necessary to target specific browsers with different browser and browser versions. You may find it necessary to target specific browsers
or exclude certain browser versions from your build. or exclude certain browser versions from your build.
Internally, Autoprefixer relies on a library called [Browserslist](https://github.com/ai/browserslist) Internally, Autoprefixer relies on a library called [Browserslist](https://github.com/browserslist/browserslist)
to figure out which browsers to support with prefixing. to figure out which browsers to support with prefixing.
There are a few ways to tell Autoprefixer what browsers to target: There are a few ways to tell Autoprefixer what browsers to target:
@ -26,7 +26,7 @@ last 2 versions
``` ```
Autoprefixer will look for the configuration file/property to use when it prefixes your css. Autoprefixer will look for the configuration file/property to use when it prefixes your css.
Check out the [browserslist repo](https://github.com/ai/browserslist) for more examples of how to target Check out the [browserslist repo](https://github.com/browserslist/browserslist) for more examples of how to target
specific browsers and versions. specific browsers and versions.
_Side note:_ _Side note:_

View File

@ -3,12 +3,12 @@
Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it. Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it.
This results in faster updates and less full page-reloads. This results in faster updates and less full page-reloads.
You can read more about HMR by visiting [this page](https://webpack.js.org/guides/hot-module-replacement). You can read more about HMR by visiting [this page](https://webpack.js.org/guides/hot-module-replacement/).
In order to get HMR working with Angular CLI we first need to add a new environment and enable it. In order to get HMR working with Angular CLI we first need to add a new environment and enable it.
Next we need to update the bootstrap process of our app to enable the Next we need to update the bootstrap process of our app to enable the
[@angularclass/hmr](https://github.com/AngularClass/angular-hmr) module. [@angularclass/hmr](https://github.com/gdi2290/angular-hmr) module.
### Add environment for HMR ### Add environment for HMR

View File

@ -17,5 +17,5 @@ Commit your changes and push. On the GitHub project page, configure it to
And that's all you need to do! Now you can see your page at And that's all you need to do! Now you can see your page at
`https://USER_NAME.github.io/PROJECT_NAME/`. `https://USER_NAME.github.io/PROJECT_NAME/`.
You can also use [angular-cli-ghpages](https://github.com/angular-buch/angular-cli-ghpages), a full You can also use [angular-cli-ghpages](https://github.com/angular-schule/angular-cli-ghpages), a full
featured package that does this all this for you and has extra functionality. featured package that does this all this for you and has extra functionality.

View File

@ -1,8 +1,8 @@
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. --> <!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
# Include [Font Awesome](http://fontawesome.io/) # Include [Font Awesome](https://fontawesome.com/)
[Font Awesome](http://fontawesome.io/) gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS. [Font Awesome](https://fontawesome.com/) gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.
Create a new project and navigate into the project... Create a new project and navigate into the project...
``` ```
@ -56,4 +56,4 @@ After saving this file, return to the browser to see the Font Awesome icon next
### More Info ### More Info
- [Examples](http://fontawesome.io/examples/) - [Examples](https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css)

View File

@ -6,7 +6,7 @@ If you are working on internationalization, the CLI can help you with the follow
- build - build
The first thing that you have to do is to setup your application to use i18n. The first thing that you have to do is to setup your application to use i18n.
To do that you can follow [the cookbook on angular.io](https://angular.io/docs/ts/latest/cookbook/i18n.html). To do that you can follow [the cookbook on angular.io](https://angular.io/guide/i18n).
### Extraction ### Extraction
When your app is ready, you can extract the strings to translate from your templates with the When your app is ready, you can extract the strings to translate from your templates with the

View File

@ -15,7 +15,7 @@ ng e2e [project]
ng e2e ng e2e
``` ```
End-to-end tests are run via [Protractor](https://angular.github.io/protractor/). End-to-end tests are run via [Protractor](http://www.protractortest.org/).
## Options ## Options
<details> <details>

View File

@ -42,7 +42,7 @@ ng e2e
``` ```
Before running the tests make sure you are serving the app via `ng serve`. Before running the tests make sure you are serving the app via `ng serve`.
End-to-end tests are run via [Protractor](https://angular.github.io/protractor/). End-to-end tests are run via [Protractor](http://www.protractortest.org/).
### Additional Commands ### Additional Commands
* [ng new](new) * [ng new](new)

View File

@ -4,7 +4,7 @@ Currently, the CLI uses [Autoprefixer](https://github.com/postcss/autoprefixer)
with different browser and browser versions. You may find it necessary to target specific browsers with different browser and browser versions. You may find it necessary to target specific browsers
or exclude certain browser versions from your build. or exclude certain browser versions from your build.
Internally, Autoprefixer relies on a library called [Browserslist](https://github.com/ai/browserslist) Internally, Autoprefixer relies on a library called [Browserslist](https://github.com/browserslist/browserslist)
to figure out which browsers to support with prefixing. to figure out which browsers to support with prefixing.
There are a few ways to tell Autoprefixer what browsers to target: There are a few ways to tell Autoprefixer what browsers to target:
@ -26,7 +26,7 @@ last 2 versions
``` ```
Autoprefixer will look for the configuration file/property to use when it prefixes your css. Autoprefixer will look for the configuration file/property to use when it prefixes your css.
Check out the [browserslist repo](https://github.com/ai/browserslist) for more examples of how to target Check out the [browserslist repo](https://github.com/browserslist/browserslist) for more examples of how to target
specific browsers and versions. specific browsers and versions.
_Side note:_ _Side note:_

View File

@ -3,12 +3,12 @@
Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it. Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it.
This results in faster updates and less full page-reloads. This results in faster updates and less full page-reloads.
You can read more about HMR by visiting [this page](https://webpack.js.org/guides/hot-module-replacement). You can read more about HMR by visiting [this page](https://webpack.js.org/guides/hot-module-replacement/).
In order to get HMR working with Angular CLI we first need to add a new environment and enable it. In order to get HMR working with Angular CLI we first need to add a new environment and enable it.
Next we need to update the bootstrap process of our app to enable the Next we need to update the bootstrap process of our app to enable the
[@angularclass/hmr](https://github.com/AngularClass/angular-hmr) module. [@angularclass/hmr](https://github.com/gdi2290/angular-hmr) module.
### Add environment for HMR ### Add environment for HMR

View File

@ -1,8 +1,8 @@
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. --> <!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
# Include [Font Awesome](http://fontawesome.io/) # Include [Font Awesome](https://fontawesome.com/)
[Font Awesome](http://fontawesome.io/) gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS. [Font Awesome](https://fontawesome.com/) gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.
Create a new project and navigate into the project... Create a new project and navigate into the project...
``` ```
@ -59,4 +59,4 @@ After saving this file, return to the browser to see the Font Awesome icon next
### More Info ### More Info
- [Examples](http://fontawesome.io/examples/) - [Examples](https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css)

View File

@ -6,7 +6,7 @@ If you are working on internationalization, the CLI can help you with the follow
- build - build
The first thing that you have to do is to setup your application to use i18n. The first thing that you have to do is to setup your application to use i18n.
To do that you can follow [the cookbook on angular.io](https://angular.io/docs/ts/latest/cookbook/i18n.html). To do that you can follow [the cookbook on angular.io](https://angular.io/guide/i18n).
### Extraction ### Extraction
When your app is ready, you can extract the strings to translate from your templates with the When your app is ready, you can extract the strings to translate from your templates with the