Peter Bacon Darwin
46b0c7a18c
docs(aio): fix links to quickstart on homepage
2017-04-15 13:37:38 +01:00
Georgios Kalpakas
b6a0098aa3
ci(aio): make `deploy-staging.sh` executable
2017-04-15 13:33:48 +01:00
Stefanie Fluin
7d986ae5dc
feat(aio): smaller typography, code header pad
2017-04-15 10:39:16 +01:00
Stefanie Fluin
a2bdcc9ba8
feat(aio): callout, code ex header styles
...
lighten up code ex background
2017-04-15 10:34:13 +01:00
Stefanie Fluin
624b5a5f83
feat(aio): filetree and top bar hover styles
2017-04-15 10:30:23 +01:00
Stefanie Fluin
b57c9605ce
feat(aio): pwa bg color and name
2017-04-15 10:27:16 +01:00
Stefanie Fluin
49dfc9fe2d
feat(aio): scroll bar styling
2017-04-15 10:25:24 +01:00
Stefanie Fluin
8f9ba62dc3
feat(aio): positioning UX for nav and search
2017-04-15 10:25:24 +01:00
Peter Bacon Darwin
16673fa38b
build(aio): remove unused config code
2017-04-15 10:24:21 +01:00
Georgios Kalpakas
49d97e1216
ci(aio): verify that the Lighthouse PWA score remains above a threshold
2017-04-15 10:23:45 +01:00
Georgios Kalpakas
a73050de48
ci(aio): convert `deploy-staging` to a shell script
2017-04-15 10:23:45 +01:00
Georgios Kalpakas
2535769a65
feat(aio): allow reloading page from ServiceWorker update notification
2017-04-15 10:23:45 +01:00
Georgios Kalpakas
b1a3c47766
fix(aio): add better message for disabled JavaScript
2017-04-15 10:23:45 +01:00
Stefanie Fluin
8479e9e6d7
feat(aio): high res screen spacing
2017-04-15 10:23:16 +01:00
Georgios Kalpakas
c0b1bbea3e
feat(aio): add log rotation in preview server
2017-04-15 10:22:40 +01:00
Ward Bell
092f0df7a6
test(aio): remove dross from NavMenuComponent spec
2017-04-15 10:22:01 +01:00
Ward Bell
dfc81c3dab
feat(aio): sort search results by area/title
...
Display area names in all caps
Exclude results with no title because they don’t show & can’t be clicked.
Should find these and give their docs a title.
2017-04-15 10:19:32 +01:00
George Kalpakas
14b7dfa007
fix(aio): create a proper commit link on preview comments ( #15941 )
...
Previously, only a few characters of the SHA would appear on the preview link
comment posted on the PR. This was usually enough for GitHub to create a link to
the corresponding commit, but it was possible to have collisions with other
commits with the same first characters (which prevented GitHub from identifying
the correct commit and create a link.)
This commit fixes this issue by including the full SHA on the commentso GitHub
can identify the correct commit and create the link. GitHub will automatically
truncate the link text (by default to 7 chars unless more are necessary to
uniquely identify the commit).
2017-04-13 11:55:33 -07:00
Georgios Kalpakas
d263595c63
ci(aio): do not fail when re-deploying preview for the same PR/SHA
...
Previously, when trying to upload the build artifacts for a PR/SHA that was
already successfully deployed (e.g. when re-running a Travis job), the preview
server would return a 403 and the build would fail.
Since we have other mechanisms to verify that the PR author is trusted and the
artifacts do indeed come from the specified PR and since the new artifacts
should be the same with the already deployed ones (same SHA), there is no reason
to fail the build. The preview server will reject the request with a special
HTTP status code (409 - Conflict), which the `deploy-preview` script will
recognize and exit with 0.
2017-04-13 11:26:21 +01:00
Ward Bell
f09fd6ec16
test(aio): add sidenav tests and refactor related tests
2017-04-12 14:17:14 -07:00
Ward Bell
8cfa58715c
feat(aio): hide side nav in mobile mode
...
Don’t show the side nav in mobile (not side-by-side) view when arriving or navigating.
Only show it by request.
The side nav should continue to appear in wide mode (side-by-side) when navigating from a marketing page to a guide page.
2017-04-12 14:17:14 -07:00
Stefanie Fluin
909264feb5
hr update
2017-04-12 21:10:05 +01:00
Stefanie Fluin
cc1ed77dd8
consolidated and moved api-list scss
2017-04-12 21:10:05 +01:00
Stefanie Fluin
7d69a91bfe
table updates, live example add, shield logo res
2017-04-12 21:10:05 +01:00
Stefanie Fluin
a6545ddd4d
filetree and subsection edits
2017-04-12 21:10:05 +01:00
Stefanie Fluin
498bd64d9c
code style updates
2017-04-12 21:10:05 +01:00
Stefanie Fluin
ad9a3a2d3b
features page and code/table fixes
2017-04-12 21:10:05 +01:00
Stefanie Fluin
2da0f1639f
feat(aio): filtree updates
2017-04-12 21:10:05 +01:00
Stefanie Fluin
3ec58ecea0
feat(aio): hr styling
2017-04-12 21:10:05 +01:00
Jesus Rodriguez
061475402c
docs(aio): final migration from old site
2017-04-12 21:01:55 +01:00
Ward Bell
8f1359d25f
docs(aio): make events.html current ( #15913 )
...
docs(aio): make events.html current
2017-04-12 12:36:45 -07:00
Ward Bell
8659bd2c4b
docs(aio): template -> ng-template ( #15912 )
2017-04-12 12:28:09 -07:00
Igor Minar
4a052cd343
build(aio): upgrade to @angular/material#2.0.0-beta.3 ( #15606 )
2017-04-12 12:25:11 -07:00
Peter Bacon Darwin
28c2a71cfc
docs(aio): revert file-trees back to original structure
...
This is an auto-migration from angular.io
2017-04-12 12:24:02 -07:00
Peter Bacon Darwin
69b37fff26
build(aio): remove unused Rho package
2017-04-12 12:24:02 -07:00
Peter Bacon Darwin
df619adc76
docs(aio): update to remark syntax
2017-04-12 12:24:02 -07:00
Peter Bacon Darwin
374bf1ed98
build(aio): implement the remark renderer
...
The implementation adds three plugins to the remark processor:
* remove support for code blocks triggered by indented
text - only gfm triple backticks are supported; and also adds support for
dgeni inline tags.
* ignore content within `code-example` and `code-tabs` elements. This prevents
the content being accidentally treated as markdown
* ignore dgeni inline tags, e.g. `{@link ... }` to prevent the content of
the links from being accidentally treated as markdown
2017-04-12 12:24:02 -07:00
Stefanie Fluin
075f3f8c9f
feat(aio): search results layer fix and responsive table
2017-04-12 14:46:31 +01:00
Stefanie Fluin
2798c1bbec
feat(aio): code block styles with header
2017-04-12 14:29:03 +01:00
Peter Bacon Darwin
04fb29b589
test(aio): add test for escaped newline in CodeComponent
2017-04-11 16:03:21 -07:00
Peter Bacon Darwin
9037593ab8
fix(aio): left align code in aio-code components
2017-04-11 16:03:21 -07:00
Jesus Rodriguez
3ced940b5a
build(aio): ability to generate plunkers
2017-04-11 16:00:37 -07:00
Ward Bell
0799f184dc
fix(aio): v2 - when browser lacks service worker, disable sw feature
2017-04-11 14:26:22 -07:00
Ward Bell
c530c5d317
fix(aio): when browser lacks service worker, disable sw feature
2017-04-11 14:26:22 -07:00
Stefanie Fluin
4c566dbfbb
fix(aio): api search input fix and style
2017-04-10 13:47:24 +01:00
Jesus Rodriguez
c6917d9d4f
build(aio): update boilerplate to new folder structure
2017-04-04 04:19:49 -06:00
Stefanie Fluin
25132bff86
feat(aio): marketing page styles
2017-04-03 15:48:52 -07:00
Jesus Rodriguez
0e38bf9de0
build(aio): new migration
2017-04-03 15:41:05 -07:00
Ward Bell
309bae0a0b
feat(aio): display “code sample missing” message when no code sample
...
Not having code in a `<code-example>` or `<code-tabs>` is presumed to be an error.
Hides the copy button as well.
2017-04-02 22:37:16 +01:00
Ward Bell
ae70293df3
feat(aio): add DtComponent to view/change the raw contents
2017-04-02 22:15:57 +01:00
Ward Bell
1e623a3710
feat(aio): add original style for feature page
...
fixes link to quick start; moves $unit to constants
2017-04-02 22:10:39 +01:00
Peter Bacon Darwin
928e2543cd
fix(aio): currentNode url should not contain hash or search
2017-04-02 11:41:35 +01:00
Peter Bacon Darwin
92e14a36f9
test(aio): ensure AppComponent.pageId has no search or hash
2017-04-02 11:41:35 +01:00
Peter Bacon Darwin
34a1990c57
fix(aio): trim code blocks before rendering
2017-04-02 11:40:40 +01:00
Ward Bell
e4c3882a81
fix(aio): fix presskit.html typos
2017-04-02 10:20:25 +01:00
Georgios Kalpakas
62f9738a9a
test(aio): enable linting of `transforms/` and add rules for jasmine
2017-04-01 20:56:16 +01:00
Georgios Kalpakas
a562c64ed6
test(aio): enable tslint rule for focused jasmine tests/suites
2017-04-01 20:56:16 +01:00
Georgios Kalpakas
8c726ea87e
fix(aio): preserve space after anchor elements
...
Sometimes, depending on the length of lines, anchor elements would be formatted
incorrectly by `html.prettyPrint` and the space right after the element was
removed.
This was apparently caused by a bug in `html.prettyPrint` in combination with
its default behavior of wrapping lines at a specific limit (70 chars). Since the
output is only meant to be used as JSON string data, wrapping the lines makes it
less readable by adding unnecessary `\n`.
This commit disables the line wrapping, which effectively avoids the bug that
was responsible for incorrectly formatting anchor elements and surrounding
space.
Related to #15681 .
2017-04-01 18:23:01 +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
Ward Bell
ad639d783f
feat(aio): add contribute marketing page
2017-04-01 07:45:42 +01:00
Peter Bacon Darwin
e1c2e50d92
docs(aio): move bio images into content folder
2017-04-01 07:17:24 +01:00
Peter Bacon Darwin
dd4e3f8704
build(aio): copy content image assets
2017-04-01 07:17:24 +01:00
Peter Bacon Darwin
08941aa0c7
build(aio): process marketing docs that have .md extension
...
See #15661
2017-03-31 17:32:16 -07:00
Stefanie Fluin
03fb766428
feat(aio): shell code styling
2017-03-31 17:13:36 -07:00
Peter Bacon Darwin
2454a3b641
build(aio): process contributor.json file
2017-03-31 17:13:25 -07:00
Peter Bacon Darwin
3e793f079d
build(aio): fix empty docplaster processing
2017-03-31 17:13:06 -07:00
Ward Bell
5c38012980
fix(aio): contributor.html typos
2017-03-31 11:37:09 -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
Peter Bacon Darwin
46f8a6dd85
docs(aio): remove unnecessary blank lines
2017-03-31 16:22:08 +01:00
Ward Bell
0aa90c6be4
feat(aio): add presskit and correct "/logos/angular2/"
2017-03-31 11:24:46 +01:00
Jesus Rodriguez
c05a8cf7bb
build(aio): copy examples boilerplate
2017-03-31 09:57:43 +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
Peter Bacon Darwin
8c925bca71
build(aio): update rho to new version
...
This version changes the expected syntax for emphasis.
The original Rho renderer uses `*` for strong an `_` for em.
But it is more standard in markdown to use `**` or `__` for bold
and `*` or `_` for em.
2017-03-31 08:08:08 +01:00
Peter Bacon Darwin
330a8c90e4
docs(aio): quickstarts are now in the guide folder
2017-03-31 08:05:33 +01:00
Peter Bacon Darwin
d8c35c893b
docs(aio): move quickstarts and glossary into guide
2017-03-31 08:05:33 +01:00
Peter Bacon Darwin
0fe308c0ef
docs(aio): remove docs that are unwanted or in the wrong place
2017-03-31 08:05:33 +01:00
Peter Bacon Darwin
2d14c3b17a
docs(aio): ensure blank lines before HTML blocks in markdown
2017-03-31 08:05:33 +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
Pete Bacon Darwin
eac99c1b16
build(aio): do not HTML format code-example contents ( #15554 )
...
The markdown renderer passes its output through an HTML pretty printer.
While this is good in most cases, it makes a mess of elements that expect
their content to be left untouched.
The pretty printer already ignores `pre` tags (and other built-ins) by
default. This fix allows us to specify other tags that should be left
alone.
Further it actually specifies this option for `code-example` and `code-pane`
tags, which expect to contain preformatted content.
2017-03-28 08:22:44 -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
9e0d7be014
build(aio): fix angular-cli config typo
2017-03-28 10:49:52 +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
Peter Bacon Darwin
d28243d5fc
test(aio): the tutorial link no longer ends with a slash
...
And since the navigation opens to the initial page, we don't need
to click the link.
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
447e534350
build(aio): render ALL code-examples, not just the first
2017-03-28 10:21:46 +01:00