303 Commits

Author SHA1 Message Date
Peter Bacon Darwin
34a1990c57 fix(aio): trim code blocks before rendering 2017-04-02 11:40:40 +01:00
Peter Bacon Darwin
c8be3960a0 style(aio): fix minor syntax error 2017-04-01 11:49:08 +01:00
Peter Bacon Darwin
759af8b56b feat(aio): add id to doc-viewer container based on current url
This enables page specific styling via CSS.
2017-04-01 11:49:08 +01:00
Ward Bell
97deb01b1f feat(aio): add about component and data 2017-04-01 07:49:45 +01:00
Peter Bacon Darwin
e1c2e50d92 docs(aio): move bio images into content folder 2017-04-01 07:17:24 +01:00
Stefanie Fluin
03fb766428 feat(aio): shell code styling 2017-03-31 17:13:36 -07:00
Stefanie Fluin
7c2ce296d3 feat(aio): add footer background 2017-03-31 11:36:56 -07:00
Stefanie Fluin
9d37d86223 feat(aio): docs landing page with styles, logo res fix 2017-03-31 11:36:56 -07:00
Stefanie Fluin
21ef5a1961 feat(aio): docs landing page with styles, logo res fix 2017-03-31 11:36:56 -07:00
Ward Bell
0aa90c6be4 feat(aio): add presskit and correct "/logos/angular2/" 2017-03-31 11:24:46 +01:00
Ward Bell
4c21114087 feat(aio): remove google feedback 2017-03-31 09:37:57 +01:00
Ward Bell
65bb2373ae fix(aio): remove "v.2" from index.html "title" 2017-03-31 08:24:44 +01:00
Ward Bell
28bf222a6a feat(aio): add footer links with GoogleFeedbackService (#15605) 2017-03-30 14:46:25 -07:00
George Kalpakas
9e883f5873 feat(aio): improve ProgressiveWepApp-ability (#15628)
Previous Lighthouse score: 52/100
New Lighthouse score: 95+/100

Fixes #15588
2017-03-30 12:35:15 -07:00
Stefanie Fluin
43a9619e57 feat(aio): overall margin, code, alert styles 2017-03-29 23:55:43 -07:00
Stefanie Fluin
f518e3a75f feat(aio): code cpy btn temp fix and footer ext 2017-03-29 23:55:43 -07:00
Stefanie Fluin
146b30796e feat(aio): code blocks, copy bttn, a tag hover 2017-03-29 23:55:43 -07:00
Stefanie Fluin
5942b2b27c feat(aio): footer repeat background 2017-03-29 23:55:43 -07:00
Stefanie Fluin
330b1090f4 refactor(aio): move media queries to mixin 2017-03-29 23:55:43 -07:00
George Kalpakas
3ccbe28d9f feat(aio): enable activating available ServiceWorker updates (#15561) 2017-03-29 23:55:03 -07:00
Ward Bell
9f2acf54bc feat(aio): refactors AppComponent and its kids + sidenav hiding (#15570)
-hides sidenav when current doc is not in sidenav menu
-displays top menu on the side as nodes instead of mini top menu
2017-03-29 14:13:40 -07:00
Ward Bell
861953c95c feat(aio): add LiveExampleComponent (#15544) 2017-03-28 14:41:50 -07:00
Peter Bacon Darwin
b7a89cec59 feat(aio): show top-nav with same styling as side-nav when window is narrow
Fixes #15490
2017-03-28 11:48:28 +01:00
Peter Bacon Darwin
99951911d5 fix(aio): selectedNodes should work for URLs ending with a slash
The mapping was not accounting for the fact that URLs with or without
a trailing slash are actually the same node.
2017-03-28 10:48:51 +01:00
Peter Bacon Darwin
fd72fad8fd docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
ff82756415 fix(aio): ensure DocumentService doesn't crash on bad JSON 2017-03-28 10:21:46 +01:00
Georgios Kalpakas
15662efec4 build(aio): update project config for @angular/cli v1.0.0
This is a follow-up to 487a0e1. The changes are based on [this wiki entry][1].

[1]: https://github.com/angular/angular-cli/wiki/stories-1.0-update.
2017-03-27 11:55:26 -07:00
Ward Bell
837ed788f4 feat(aio): add code-example and code-tabs
* move embedded components to EmbeddedModule
* add PrettyPrint service; load pretty print js dynamically
* make code-example to syntax highlighting w/ `prettyPrintOne`
* add code-tabs
* Implement copy code button
2017-03-27 12:25:34 +01:00
Peter Bacon Darwin
228238e602 refactor(aio): move SearchService initialisation into SearchBoxComponent
The AppComponent really doesn't need to know about the search service.
2017-03-27 09:24:38 +01:00
Stefanie Fluin
c9e51d9911 feat(aio): add new classes, table and images styling (#15478) 2017-03-25 14:21:40 +00:00
Stefanie Fluin
afb17a5b6e feat(aio): block code examples style fix 2017-03-25 06:55:59 +00:00
Stefanie Fluin
b8f3533d53 feat(aio): search input animation 2017-03-25 06:55:59 +00:00
Stefanie Fluin
4918cd241f feat(aio): search results and code margins styling 2017-03-25 06:55:59 +00:00
Stefanie Fluin
45983301d5 feat(aio): footer styling 2017-03-25 06:55:59 +00:00
Stefanie Fluin
acf57def13 feat(aio): marketing responsive items and footer 2017-03-25 06:55:59 +00:00
Stefanie Fluin
800591db00 feat(aio): add a and ol to standard typo styles 2017-03-25 06:55:59 +00:00
Stefanie Fluin
159c98c202 feat(aio): search result stying, add footer 2017-03-25 06:55:59 +00:00
Stefanie Fluin
c837b3dfb9 feat(aio): terminal code styling and code mixin 2017-03-25 06:55:59 +00:00
Igor Minar
9e5d4781cb refactor(aio): cleanup polyfill imports and realign them with the latest cli blueprint
This shouldn't change anything. But it's interesting that we used to have this  import
that seemed bogus, but there were no compilation or rutime errors.
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
fc1f6efe0d build(aio): fix paths to "index" pages
Content pages like `tutorial/index.md` were being mapped to `tutorial.index.json`,
which meant that they could only be rendered if you browsed to `/tutorial/index`.

This didn't sit well so now these pages are mapped to `tutorial.json`, which
means that you browser to them via `/tutorial/` or just `/tutorial`.

Fixed #15335
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
a9e91115bf build(aio): add version into navigation.json
The navigation.json is now passed through the dgeni pipeline.
The source file has been moved to `aio/content/navigation.json`
but the generated file will now appear where the original source file
was found, `aio/src/content/navigation.json`.

Everything inside `aio/src/content` is now generated and ignored by git.

The `processNavigationMap` processor in this commit adds the current version
information to the navigation.json file and verifies the relative urls in
the file map to real documents.

The navigationService exposes the versionInfo as an observable, which the
AppComponent renders at the top of the sidenav.
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
20aab64c65 test(aio): use MockLogger in AppComponent tests
This component sends a lot of messages to the console, which makes the
test run less easy to follow.
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
4e10faf1eb build(aio): add version into navigation.json
The navigation.json is now passed through the dgeni pipeline.
The source file has been moved to `aio/content/navigation.json`
but the generated file will now appear where the original source file
was found, `aio/src/content/navigation.json`.

Everything inside `aio/src/content` is now generated and ignored by git.

The `processNavigationMap` processor in this commit adds the current version
information to the navigation.json file and verifies the relative urls in
the file map to real documents.

The navigationService exposes the versionInfo as an observable, which the
AppComponent renders at the top of the sidenav.
2017-03-21 15:20:28 -05:00
Stefanie Fluin
45e2126273 refactor(aio): removed dead code 2017-03-21 15:20:28 -05:00
Stefanie Fluin
41497b052d feat(aio): font change and toolbar shadow 2017-03-21 15:20:28 -05:00
Ward Bell
a13ddf2e8a feat(aio): expand nav menu branch of select item on page load 2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
6772c913c7 fix(aio): scroll to hash fragment element on URL change 2017-03-15 16:11:30 -07:00
Stefanie Fluin
b11d0119ac feat(aio): top bar typography, sidenav size 2017-03-15 16:11:30 -07:00
Stefanie Fluin
637a489996 refactor(aio): indent and org cleanup 2017-03-15 16:11:30 -07:00
Stefanie Fluin
c2bd357825 feat(aio): initial design commit
Implemented style guide elements to top header bar, side hamburger nav menu, content and search. Consolidated SCSS files to styles folder. Fixed PWA test.
2017-03-15 16:11:30 -07:00