From bc7b0972910e84722ce04a4e0d0871bd0fdd0196 Mon Sep 17 00:00:00 2001 From: thso Date: Mon, 18 Apr 2016 21:20:11 +0100 Subject: [PATCH 1/7] samples(dart): add a `docsync` file to the architecture example. closes #1112 --- public/docs/_examples/architecture/dart/.docsync.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 public/docs/_examples/architecture/dart/.docsync.json diff --git a/public/docs/_examples/architecture/dart/.docsync.json b/public/docs/_examples/architecture/dart/.docsync.json new file mode 100644 index 0000000000..f47a6645ce --- /dev/null +++ b/public/docs/_examples/architecture/dart/.docsync.json @@ -0,0 +1,4 @@ +{ + "name": "Architecture overview", + "docHref": "https://angular.io/docs/dart/latest/guide/architecture.html" +} From 0d362e196b83d6cf0796727507817f5eb317dd81 Mon Sep 17 00:00:00 2001 From: thso Date: Mon, 18 Apr 2016 21:44:48 +0100 Subject: [PATCH 2/7] Add a `docsync` file to the dependency-injection example. (#1116) --- public/docs/_examples/dependency-injection/dart/.docsync.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 public/docs/_examples/dependency-injection/dart/.docsync.json diff --git a/public/docs/_examples/dependency-injection/dart/.docsync.json b/public/docs/_examples/dependency-injection/dart/.docsync.json new file mode 100644 index 0000000000..3695627e50 --- /dev/null +++ b/public/docs/_examples/dependency-injection/dart/.docsync.json @@ -0,0 +1,4 @@ +{ + "name": "Dependency injection", + "docHref": "https://angular.io/docs/dart/latest/guide/dependency-injection.html" +} From bea2ba7a6dcab33941ecbd4753fc320d21587991 Mon Sep 17 00:00:00 2001 From: thso Date: Mon, 18 Apr 2016 21:45:32 +0100 Subject: [PATCH 3/7] Add a `docsync` file to the forms example. (#1115) --- public/docs/_examples/forms/dart/.docsync.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 public/docs/_examples/forms/dart/.docsync.json diff --git a/public/docs/_examples/forms/dart/.docsync.json b/public/docs/_examples/forms/dart/.docsync.json new file mode 100644 index 0000000000..066f6e56e9 --- /dev/null +++ b/public/docs/_examples/forms/dart/.docsync.json @@ -0,0 +1,4 @@ +{ + "name": "Forms", + "docHref": "https://angular.io/docs/dart/latest/guide/forms.html" +} From 2a078d08f48de8e1dda8004ad3665c042322f1a8 Mon Sep 17 00:00:00 2001 From: thso Date: Mon, 18 Apr 2016 21:33:44 +0100 Subject: [PATCH 4/7] samples(dart): add a `docsync` file to the user-input example closes #1114 --- public/docs/_examples/user-input/dart/.docsync.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 public/docs/_examples/user-input/dart/.docsync.json diff --git a/public/docs/_examples/user-input/dart/.docsync.json b/public/docs/_examples/user-input/dart/.docsync.json new file mode 100644 index 0000000000..7538cfa2a0 --- /dev/null +++ b/public/docs/_examples/user-input/dart/.docsync.json @@ -0,0 +1,4 @@ +{ + "name": "User input", + "docHref": "https://angular.io/docs/dart/latest/guide/user-input.html" +} From 42ba93d6ec165c60088a8ad0e1063cf1823e48c5 Mon Sep 17 00:00:00 2001 From: thso Date: Mon, 18 Apr 2016 21:32:20 +0100 Subject: [PATCH 5/7] samples(dart): add a `docsync` file to the displaying-data example closes #1113 --- public/docs/_examples/displaying-data/dart/.docsync.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 public/docs/_examples/displaying-data/dart/.docsync.json diff --git a/public/docs/_examples/displaying-data/dart/.docsync.json b/public/docs/_examples/displaying-data/dart/.docsync.json new file mode 100644 index 0000000000..3d1d13a2df --- /dev/null +++ b/public/docs/_examples/displaying-data/dart/.docsync.json @@ -0,0 +1,4 @@ +{ + "name": "Displaying data", + "docHref": "https://angular.io/docs/dart/latest/guide/displaying-data.html" +} From cb0a4a7fe0beaf0e53646080233b2aef13da166a Mon Sep 17 00:00:00 2001 From: Eric Jimenez Date: Mon, 18 Apr 2016 13:19:28 -0400 Subject: [PATCH 6/7] remove only the last white space in class export, not all --- public/resources/css/module/_api.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/resources/css/module/_api.scss b/public/resources/css/module/_api.scss index 375196012f..55c9149cdc 100644 --- a/public/resources/css/module/_api.scss +++ b/public/resources/css/module/_api.scss @@ -159,9 +159,9 @@ input.api-filter { font-size: 14px; color: #1a2326; - // Override highlight.js + // the last .pln (white space) creates additional spacing between sections of the api doc. Remove it. &.no-pln { - .pln { + .pln:last-child { display: none; } } From 995229a44c462a77b9591cf635937d73791b4321 Mon Sep 17 00:00:00 2001 From: Eric Jimenez Date: Sat, 16 Apr 2016 14:22:22 -0400 Subject: [PATCH 7/7] override column layout in extra small screens, fixes issue with overlapping text in api docs with safari mobile. --- public/resources/css/module/_api.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/resources/css/module/_api.scss b/public/resources/css/module/_api.scss index 55c9149cdc..558dd70812 100644 --- a/public/resources/css/module/_api.scss +++ b/public/resources/css/module/_api.scss @@ -169,6 +169,15 @@ input.api-filter { } @media screen and (max-width: 600px) { + .docs-content { + // Overrides display flex from angular material. + // This was added because Safari doesn't play nice with layout="column". + // Look of API doc in Chrome and Firefox remains the same, and is fixed for Safari. + .layout-xs-column { + display: block !important; + } + } + code { font-size: 12px; }