Commit Graph

992 Commits

Author SHA1 Message Date
Zhicheng Wang aeaa3bdefa fix: translate more 2017-08-08 13:18:51 +08:00
Zhicheng Wang a6df16f891 Merge branch 'master' into aio
# Conflicts:
#	aio/content/guide/form-validation.md
#	aio/content/guide/i18n.md
#	aio/content/guide/reactive-forms.md
#	aio/content/marketing/index.html
#	aio/content/navigation.json
#	aio/src/environments/environment.stable.ts
2017-08-08 13:10:17 +08:00
雪狼 f9f8924c49 docs(aio): typo & update the bio (#18559) 2017-08-07 10:20:11 -07:00
Zhicheng Wang c6227765a7 fix: minor improvement 2017-08-07 08:26:06 +08:00
gc 33b478b3a2 docs(tutorial): fix demo broken link
toh-pt6
2017-08-07 08:13:47 +08:00
Zhicheng Wang 5401322110 fix: 修正在线例子的链接 2017-08-07 08:10:17 +08:00
Zhicheng Wang 23c9646bdf fix: 修正在线例子的链接 2017-08-07 08:09:33 +08:00
Zhicheng Wang e29188ad54 fix: 快速起步改为快速上手 2017-08-07 07:49:44 +08:00
Zhicheng Wang 243430bc12 fix: minor improvement 2017-08-07 07:43:37 +08:00
Zhicheng Wang 5ccee9f642 fix: minor improvement 2017-08-06 18:17:40 +08:00
Zhicheng Wang f2d870e0b8 fix: translate the rest of structural directives 2017-08-06 14:08:44 +08:00
Zhicheng Wang 104edf62f0 fix: minor improvement 2017-08-06 13:49:04 +08:00
Zhicheng Wang 7e5fb1d5fa fix: minor improvement 2017-08-06 13:47:26 +08:00
Zhicheng Wang 74f98b871c fix: minor improvement 2017-08-06 13:45:13 +08:00
Zhicheng Wang de6cfeeee3 clean: remove useless codes 2017-08-06 13:42:51 +08:00
Zhicheng Wang 0eaf9156de fix: use new translation logic 2017-08-06 13:37:25 +08:00
Zhicheng Wang 4c2b0b51b7 fix: some untranslated english 2017-08-06 13:23:56 +08:00
Zhicheng Wang 3a584ba96c fix: some untranslated english 2017-08-06 13:21:34 +08:00
Zhicheng Wang 477be082fb fix: minor improvement 2017-08-06 08:06:53 +08:00
Zhicheng Wang 019cd2e09c fix: minor improvement 2017-08-06 08:05:08 +08:00
Zhicheng Wang 91774ac411 fix: content and toc is overlapped 2017-08-06 07:39:26 +08:00
Zhicheng Wang 446b0be846 fix: minor improvement 2017-08-05 23:51:25 +08:00
Zhicheng Wang e7692d9e6f fix: translated language service 2017-08-05 23:49:55 +08:00
Zhicheng Wang 8d21900eb9 fix: minor improvement 2017-08-05 22:56:57 +08:00
Zhicheng Wang 2f17cb46c5 fix: missing break lines 2017-08-05 22:47:21 +08:00
Zhicheng Wang 2e97123611 fix: minor issue 2017-08-05 22:41:26 +08:00
Zhicheng Wang 36206ac2cf fix: minor issue 2017-08-05 22:40:17 +08:00
Zhicheng Wang 1de1da605b fix: translated http-client 2017-08-05 22:32:31 +08:00
Zhicheng Wang 5834211133 fix: a minor mistake (#235) 2017-08-05 18:02:40 +08:00
Zhicheng Wang a2cb8b052b fix: translated the rest of visual studio 2015 2017-08-05 13:41:29 +08:00
Zhicheng Wang ab47b12f52 fix: translated the rest of i18n 2017-08-05 13:23:14 +08:00
Zhicheng Wang 160306833c fix: translated the rest of template-syntax 2017-08-05 12:47:14 +08:00
Zhicheng Wang b0d988c38f fix: translated the rest of router and structural-directives 2017-08-05 09:41:33 +08:00
Zhicheng Wang 87bc1f6c7a fix: minor improvement 2017-08-05 08:15:43 +08:00
Zhicheng Wang 003cf81d33 fix: minor improvement 2017-08-05 08:04:16 +08:00
Peter Bacon Darwin 10897d6473 ci(aio): compute AIO deployment mode
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.

If the TRAVIS_BRANCH is master we deploy as "next".
If the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` we deploy as "stable".

Otherwise if the branch has a major version lower than the stable version
and its minor version is highest of similar branches we deploy as "archive".

For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.

As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.

See #18287
Closes #18297
2017-08-04 09:14:18 -07:00
Peter Bacon Darwin 340837aa46 feat(aio): add "archive" and "next" color themes 2017-08-04 09:13:34 -07:00
Peter Bacon Darwin 42ef1be75c feat(aio): redirect marketing pages to `docs` if deploy mode is `archive`
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin a5801b6020 feat(aio): add deploy mode to version picker
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin 70b62949de feat(aio): enable deployment mode to be set via URL query
The deployment mode set from the environment provided at build time;
or overridden by the `mode` query parameter: e.g. `...?mode=archive`

See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin 36161d99f6 feat(aio): update UI based on deployment mode
* Add a banner if the mode is "archive"
* Add a `mode-...` class to the `aio-shell` element to enable
mode based theming.

See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin 0714139e37 ci(aio): include extra files in AIO deployment based on mode
Any files that are inside the `extra-files/{mode}` folder
will be copied over to the `dist` folder before deployment
to Firebase.

See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin bcb36d9b6d ci(aio): compute AIO deployment mode
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.

If the TRAVIS_BRANCH is master we deploy as "next".
Otherwise if the branch is the highest of its minor versions
we deploy as "stable" if the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` or
else "archive".

For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.

As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.

See #18287
2017-08-04 09:13:34 -07:00
Zhicheng Wang 0ddf72745e fix: translate all pure english titles 2017-08-04 14:06:15 +08:00
Zhicheng Wang 41c73556e6 fix: minor improvement 2017-08-04 13:27:54 +08:00
Zhicheng Wang d4e2492441 fix: minor improvement 2017-08-04 09:52:10 +08:00
Zhicheng Wang bb2082d016 fix: add line break before all figure 2017-08-04 09:27:48 +08:00
Zhicheng Wang cfcd532b2f fix: a back to top link 2017-08-04 09:10:22 +08:00
Zhicheng Wang 96f0fcaf49 fix: missed quick start in navigation 2017-08-04 09:09:01 +08:00
Zhicheng Wang cc33798597 fix: same examples 2017-08-04 08:58:13 +08:00