Peter Bacon Darwin
07bd459baa
feat(aio): add deploy mode to version picker
...
See #18287
2017-08-04 09:15:38 -07:00
Peter Bacon Darwin
302adf1081
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:15:38 -07:00
Peter Bacon Darwin
1a6a13425b
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:15:38 -07:00
Peter Bacon Darwin
072a772ca6
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:15:38 -07:00
Peter Bacon Darwin
5f0e0a46fd
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:15:38 -07:00
Kapunahele Wong
c7b72aa575
docs(aio): tech edits to form validation (PR #18495 )
2017-08-03 13:58:22 -07:00
Kara Erickson
732eb61957
docs(forms): update and re-organize validation guide
2017-08-03 13:57:58 -07:00
George Kalpakas
65d0888708
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:01:02 -07:00
tinayuangao
adfd2373b8
ci(aio): Add commit message to payload data ( #18137 )
2017-08-02 15:59:54 -07:00
David Brooks
3a82af3bde
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:25 -07:00
George Kalpakas
3af62306b4
fix(aio): correctly redirect cookbook/a1-a2-quick-reference.html
( #18418 )
...
Fixes #18415
2017-08-02 15:54:49 -07:00
Øystein Lygre
c4b51bf689
docs(aio): replace old blog link in footer ( #18448 )
...
Fixes #18233
2017-08-02 15:46:25 -07:00
Filipe Silva
116ee334fb
build(aio): use cli 1.3.0-rc ( #18290 )
2017-08-02 15:37:39 -07:00
chumtoadafuq
da8bb1b45b
docs(aio): fixed list format in FormArray section
2017-07-31 11:40:27 -07:00
Georgios Kalpakas
cbc1986c6f
fix(aio): fix links to source for paths with symlinks
...
Fixes #18353
2017-07-31 11:39:47 -07:00
Peter Bacon Darwin
a5a29b0591
docs(aio): delay ngUpgrade e2e test to avoid flakes
2017-07-31 11:39:36 -07:00
Peter Bacon Darwin
e6f37120fe
docs(aio): fix deprecated protractor API usage
...
`browser.getLocationAbsUrl()` is deprecated.
We should use `browser.getCurrentUrl()` instead.
2017-07-31 11:39:25 -07:00
Peter Bacon Darwin
6840b7bda9
ci(aio): test the example e2e files using local build of Angular
2017-07-31 11:39:21 -07:00
Peter Bacon Darwin
68f458909a
build(aio): ignore generated aot files
...
Assets such as images and data which are generated
by the aot build were not being ignored.
2017-07-31 11:39:14 -07:00
Peter Bacon Darwin
12acecf756
docs(aio): remove generated styles.css file
...
This file should have been ignored as it is created
during the build of the example
2017-07-31 11:39:10 -07:00
Peter Bacon Darwin
cfbed40ab6
build(aio): support overriding the Angular packages in examples with locally built ones
2017-07-31 11:39:03 -07:00
Peter Bacon Darwin
fe1a6b8e42
build(aio): refactor and test the example-boilerplate tool
2017-07-31 11:38:59 -07:00
Peter Bacon Darwin
fd52b178ed
ci(aio): support sharding of example e2e tests
2017-07-31 11:38:48 -07:00
Georgios Kalpakas
ca1f071b2e
build(aio): upgrade @angular/material
to 2.0.0-meta.8
2017-07-31 11:38:43 -07:00
Georgios Kalpakas
296adbbb72
build(aio): upgrade @angular/*
to 4.3.1
2017-07-31 11:38:37 -07:00
Antoine Mary
c795ee1176
docs(aio): fix URLSearchParams interface link to MDN
...
Fixes #18367
2017-07-31 11:38:33 -07:00
Georgios Kalpakas
b550618afd
refactor(aio): move content-specific images to content/images/
...
Fixes #17053
2017-07-31 11:38:28 -07:00
Georgios Kalpakas
d08d6eebff
refactor(aio): rename unused
directories to _unused
2017-07-31 11:38:23 -07:00
Georgios Kalpakas
e9789abd05
fix(aio): fix link to logo in example
2017-07-31 11:38:17 -07:00
Georgios Kalpakas
f2ec2cbb99
refactor(aio): move unused images to unused
directories
...
This prevents the ServiceWorker from prefetching unnecessary files.
2017-07-31 11:38:09 -07:00
Gerard Sans
bf95655a1a
docs(aio): add my details as a contributor ( #18315 )
...
PR Close #18315
2017-07-26 16:49:50 -05:00
Georgios Kalpakas
6bf5b84fa4
fix(aio): correctly process markdown link in "Browser Support" ( #18349 )
...
The markdown processor expects an empty line between an opening tag and the
markdown content. (If there is no empty line, the content is interpreted as
plain HTML.)
Previously, the line between the opening `<td>` and the content contained
whitespace, which caused the content to be interpreted as HTML and not markdown.
Fixes #18312
PR Close #18349
2017-07-26 16:11:11 -05:00
Jesus Rodriguez
4836565ca7
docs(aio): update examples to 4.3
2017-07-26 12:08:29 -05:00
Gabriel Nicolas Avellaneda
750e4e8156
docs(aio) - Fixed link to the glossary dash-case term ( #18311 )
...
PR Close #18311
2017-07-26 12:08:29 -05:00
Filipe Silva
b4be96c65d
ci: use chrome stable ( #18307 )
2017-07-26 12:08:29 -05:00
Jeremy Elbourn
0330fa6b82
docs(aio): pngcrush all pngs ( #18243 )
...
PR Close #18243
2017-07-26 12:04:47 -05:00
Yuan Gao
9ecd377a51
ci(aio): fix aio payload script
2017-07-26 12:04:47 -05:00
Pete Bacon Darwin
a4fae8c405
aio: debounce search and delay index building ( #18134 )
...
* feat(aio): debounce search requests
* feat(aio): delay loading search worker and index
2017-07-26 12:04:46 -05:00
Kevin Cooper
33c07b3394
fix(aio): invalid formatting in architecure.md ( #18159 )
...
Introduced in e110a80caf (diff-9ac9c6a9277eea9856d75249a7c0a40aL127)
2017-07-26 12:00:01 -05:00
daydr3am
c9d06e676f
docs(aio): replace old blog link ( #18252 )
...
Fixes #18233
* Docs(aio): Replaced old blog link Now with the Link to the new Angular.io Blog
* Removed double braces
2017-07-26 12:00:01 -05:00
matt24ray
c7c0a1688e
docs(aio): Fixed typo with closing div
2017-07-26 12:00:00 -05:00
Stepan Suvorov
7e95e2b0ba
docs(aio): Fix http guide
2017-07-26 12:00:00 -05:00
Thanesh Rajandran
61d253f5fd
docs(aio): fix typo in NgModule FAQs ( #18211 )
...
Fix #18133 . Fix typo 'added' to 'add' in the 'Why does lazy loading create a child injector' section.
2017-07-26 12:00:00 -05:00
Nicola Sanitate
d4679a0bc2
docs(aio): fix typo in Router documentation
...
Fix title and link to RouteConfigLoadEnd documentation
2017-07-19 15:02:14 +01:00
Scotty Waggoner
f19bd5f4f3
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:54:42 -07:00
Jesse Palmer
d8c8b13bb8
docs: fix typo
2017-07-18 10:54:26 -07:00
Alexey Toksarov
4dd6863bc2
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:53:58 -07:00
Peter Bacon Darwin
37c626e673
fix(aio): remove title attribute from CodeExampleComponent
...
This was causing browser to add an unwanted tooltip that appeared
when the user hovers over the code.
See #17524
2017-07-18 17:55:54 +01:00
WilliamKoza
f0a110928b
fix(aio): add quote to module
2017-07-18 17:54:51 +01:00
Georgios Kalpakas
c39e7d1eb2
fix(aio): do not wrap <code-tabs>
tab labels
...
Fixes #17751
2017-07-18 17:45:20 +01:00