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
Zhicheng Wang
19088b76f8
fix: translate more
2017-08-04 08:47:51 +08:00
Zhicheng Wang
75ac1cd5ce
fix: add line break before <code-example...
2017-08-04 07:39:15 +08:00
Kapunahele Wong
9b015a95eb
docs(aio): tech edits to form validation
...
closes #18495
2017-08-03 13:57:31 -07:00
Kara Erickson
939dc44391
docs(forms): update and re-organize validation guide
2017-08-03 13:56:53 -07:00
Zhicheng Wang
ed873203b5
fix: missing links
2017-08-03 15:53:45 +08:00
Zhicheng Wang
9f7ff05165
fix: merge the cli-quickstart from history
2017-08-03 15:47:54 +08:00
Zhicheng Wang
8f950c26f2
fix: change v2's link to v2.angular.cn
2017-08-03 15:30:35 +08:00
George Kalpakas
44ae6e94e3
fix(aio): fix layout of the webpack guide ( #18493 )
...
This is possibly a temporary fix for the layout, until we decide whether we want
to remove the guide or properly add it to the SideNav menu.
Fixes #17912
2017-08-02 16:00:36 -07:00
tinayuangao
1635a06bda
ci(aio): Add commit message to payload data ( #18137 )
2017-08-02 15:59:20 -07:00
David Brooks
3923c30df0
docs(aio): fix missing anchor-open in i18n documentation ( #18476 )
...
The Internationalisation documentation, "Translate text nodes" section, has an incomplete
markdown anchor, and leaks markdown into the page. Fix the anchor by adding the opening bracket.
2017-08-02 15:56:01 -07:00
George Kalpakas
99017bf3ff
fix(aio): correctly redirect cookbook/a1-a2-quick-reference.html
( #18418 )
...
Fixes #18415
2017-08-02 15:54:22 -07:00
Øystein Lygre
5cc9913ded
docs(aio): replace old blog link in footer ( #18448 )
...
Fixes #18233
2017-08-02 15:45:54 -07:00
Filipe Silva
9adf40aa77
build(aio): use cli 1.3.0-rc ( #18290 )
2017-08-02 15:37:03 -07:00
Zhicheng Wang
2a0c436347
fix: translate more
...
fix: a NPE
2017-08-01 13:05:28 +08:00
Georgios Kalpakas
cc2a4c41f9
build(aio): fix warning about missing <h1>
...
Fixes #17549
2017-07-31 13:40:07 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Zhicheng Wang
92a739099d
fix: a NPE
2017-07-31 09:29:32 +08:00
Zhicheng Wang
b17f64b14d
fix: a missing anchor link
2017-07-31 08:48:00 +08:00
Zhicheng Wang
6d88fa2342
fix: all "back to top" links
2017-07-30 22:18:19 +08:00
Zhicheng Wang
bbe6ac9014
clean: remove unused files
2017-07-30 17:49:45 +08:00
Zhicheng Wang
1ec5c6a82f
fix: minor improvements
2017-07-30 17:40:53 +08:00
Zhicheng Wang
4a4b009662
fix: typo
2017-07-30 17:13:46 +08:00
Zhicheng Wang
02b79f900f
fix: minor improvement
2017-07-30 17:04:14 +08:00
Zhicheng Wang
f2a9db82c0
fix: translate more content
2017-07-30 16:52:20 +08:00
Zhicheng Wang
855dc19bdd
fix: replace gaId with angular.cn's
2017-07-30 16:23:40 +08:00
Zhicheng Wang
f7b656443d
fix: limit tagName to whole world
2017-07-30 16:23:26 +08:00
Zhicheng Wang
2c9e783817
fix: translate homepage.
2017-07-30 14:29:26 +08:00
Zhicheng Wang
3fe722490a
fix: don't hide translation-origin if there is not translation-result
...
fix: translate more.
2017-07-30 14:10:08 +08:00
Zhicheng Wang
747ea2a287
fix: retranslate navigation
2017-07-30 13:35:27 +08:00
Zhicheng Wang
828528dade
fix: "覆盖" -> "涵盖"
2017-07-30 12:43:20 +08:00
Zhicheng Wang
c002fddabe
fix: many of broken links
2017-07-30 12:32:56 +08:00
Zhicheng Wang
f2059b445c
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cb-index.md
# aio/content/guide/change-log.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/cli-quickstart.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/dynamic-form.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/i18n.md
# aio/content/guide/index.md
# aio/content/guide/learning-angular.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/npm-packages.md
# aio/content/guide/pipes.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/security.md
# aio/content/guide/server-communication.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/ts-to-js.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/guide/webpack.md
# aio/content/navigation.json
# aio/content/tutorial/index.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/styles/main.scss
# aio/transforms/angular.io-package/index.js
2017-07-30 00:09:50 +08:00
Zhicheng Wang
9db14beb5d
feat: add documents of "About Chinese version"
2017-07-29 13:42:14 +08:00