George Kalpakas
67a41d8bff
fix(docs-infra): align property names to the top ( #28104 )
...
This looks better when the property descriptions span multiple lines;
especially when scrolling to a specific property (e.g.
[AbstractControl#status][1]).
[1]: https://next.angular.io/api/forms/AbstractControl#status
PR Close #28104
2019-01-24 10:24:03 -08:00
George Kalpakas
e50c5293fc
refactor(docs-infra): remove unused CSS style rule ( #28104 )
...
The `.properties-table` selector does not match any element and the
styles don't look relevant for the similarly named `.property-table`
class.
PR Close #28104
2019-01-24 10:24:03 -08:00
WilliamKoza
50cf2ac6d8
fix(docs-infra): improve a11y ( #28086 )
...
Issue #27723
PR Close #28086
2019-01-16 17:37:45 -08:00
WilliamKoza
4c0104c846
fix(docs-infra): Add crossed through styling ( #28111 )
...
PR Close #28111
2019-01-14 10:45:46 -08:00
WilliamKoza
d577b8df75
fix(docs-infra): render deprecated
markers for CLI command options ( #28111 )
...
fixes #27563
fixes #27423
PR Close #28111
2019-01-14 10:45:46 -08:00
Pete Bacon Darwin
cd51775390
build(docs-infra): render @see
information in members ( #28069 )
...
Previously `@see` tags were only rendered for top level class-like
docs. Now these tags are rendered for methods and properties too.
PR Close #28069
2019-01-11 14:35:23 -08:00
Esteban Marin
e3a2ca5ad9
fix(docs-infra): fix top menu item clickable area ( #27633 )
...
the clickable region of the top menu item is expanded beyond the focused area, so the clickable area is spans the entire height of the navigation
fixes #27618
PR Close #27633
2018-12-13 11:00:34 -08:00
Esteban Marin
fc6dc78fe9
fix(docs-infra): fix top menu item clickable area ( #27620 )
...
the clickable region of the top menu item is reduced to the focused area, so no cursor pointer is shown outside the clickable area
fixes #27618
PR Close #27620
2018-12-12 10:55:28 -08:00
George Kalpakas
dfdc2adbc6
fix(docs-infra): fix sidenav positioning when notification is shown ( #27250 )
...
_Before:_

_After:_

PR Close #27250
2018-12-05 13:26:27 -08:00
George Kalpakas
fa0c65efe5
build(docs-infra): remove dependency on FontAwesome ( #27250 )
...
We were only using two FontAwesome icons (`link` and `twitter`). The
twitter icon is already available as an SVG (used in the topbar) and a
similar link icon is available via 'Material Icons', which we are
already brining in.
This commit removes the dependency on FontAwesome and uses the available
icons instead.
_Before:_

_After:_

PR Close #27250
2018-12-05 13:26:27 -08:00
George Kalpakas
271fcb0f3e
fix(docs-infra): correctly cache footer image by the SW ( #27250 )
...
When using relative paths for CSS resources (such as background images),
`@angular/cli` will move them to the root `dist/` directory (and update
the paths in CSS accordingly). This results in the SW being unable to
cache the resource, because it is not where it expects it to be.
This commit fixes this issue for the footer background image, by using
an absolute path for the URL. (It also removes an unused style that
would have been affected by the same issue.)
PR Close #27250
2018-12-05 13:26:27 -08:00
Jonathan Sharpe
edb50a2f51
docs: override code formatting for CLI commands ( #26619 )
...
Closes 26614
PR Close #26619
2018-11-09 09:43:00 -08:00
Pete Bacon Darwin
18b6d580c5
fix(docs-infra): update overload rendering ( #24976 )
...
Based on the review here:
https://github.com/angular/angular/pull/24976#issuecomment-415535125
PR Close #24976
2018-11-01 14:17:11 -07:00
Pete Bacon Darwin
61cd5f7c0f
build(docs-infra): fix individual API overload templates ( #24976 )
...
* Make individual overloads collapsible
* Show only the first overload expanded, rest collapsed
* Text changes to 'collapse all' once 'show all' is clicked
* Fix chevron/carrot rotation animation when overloads / overload item is expanded or collapsed
PR Close #24976
2018-11-01 14:17:11 -07:00
Stefanie Fluin
6902977665
build(docs-infra): improve API overload templates ( #24976 )
...
PR Close #24976
2018-11-01 14:17:10 -07:00
Pete Bacon Darwin
3f89aeb80a
build(docs-infra): update CLI option rendering ( #26272 )
...
PR Close #26272
2018-10-19 11:07:30 -07:00
Pete Bacon Darwin
ecd473bbce
fix(docs-infra): don't hide contributor links on devices that cannot hover ( #26410 )
...
Fixes #16690
PR Close #26410
2018-10-17 11:04:35 -07:00
Vladimir Erygin
3fa876c5e7
fix(docs-infra): fix top menu logo position ( #26473 )
...
Fixes #26468
PR Close #26473
2018-10-17 11:03:23 -07:00
George Kalpakas
bab5b68910
fix(docs-infra): prevent unnecessary SideNav scrollbar ( #26416 )
...
Fixes #21508
PR Close #26416
2018-10-12 14:09:09 -07:00
Pete Bacon Darwin
a2878b0b1d
fix(docs-infra): remove unnecessary margin on short descriptions ( #25768 )
...
(This was added in 405d97431fa374afdd5cddc6780f8949ee76a2c6 but it is
not clear the reasoning. It looks better to remove it now.)
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
7373da9b11
build(docs-infra): simplify property syntax rendering ( #25768 )
...
PR Close #25768
2018-10-01 09:36:34 -07:00
Pete Bacon Darwin
935ef13096
build(docs-infra): improve directive selector rendering ( #25768 )
...
`:not(...)` blocks are now rendered as italic, while the
rest of the selector is bold.
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
ce06a75ebf
build(docs-infra): display inherited members on directives ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
9889276b15
build(docs-infra): directive inputs and outputs ( #25768 )
...
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
46729c76a0
build(docs-infra): improve directive selector rendering ( #25768 )
...
If the documentation contains a `@selectors` tag then the content of that
is used to describe the selectors of a directive.
Otherwise the selector string is split and each selector is listed as
a list item in an unordered list.
PR Close #25768
2018-10-01 09:36:33 -07:00
Pete Bacon Darwin
f22deb2e2d
build(docs-infra): improve directive API doc templates ( #25768 )
...
Closes #22790
Closes #25530
PR Close #25768
2018-10-01 09:36:32 -07:00
Pete Bacon Darwin
f29b218060
feat(docs-infra): generate Angular CLI command reference ( #25363 )
...
PR Close #25363
2018-09-26 11:24:02 -07:00
Pete Bacon Darwin
026b60cd70
build(docs-infra): expose deprecated status on items more clearly ( #25750 )
...
PR Close #25750
2018-09-21 10:26:48 -07:00
Pete Bacon Darwin
cea2e0477c
fix(docs-infra): render security risk labels ( #25750 )
...
PR Close #25750
2018-09-21 10:26:48 -07:00
Pete Bacon Darwin
b94436d86c
build(docs-infra): process and render ngmodule exports ( #25734 )
...
All directives and pipes must now be tagged with one ore more
public NgModule, from which they are exported.
If an item is exported transitively via a re-exported internal NgModule
then it may be that the item appears to be exported from more than
one public NgModule. For example, there are shared directives that
are exported in this way from `FormsModule` and `ReactiveFormsModule`.
The doc-gen will error and fail if a directive or pipe is not tagged correctly.
NgModule pages now list all the directives and pipes that are exported from it.
Directive and Pipe pages now list any NgModule from which they are exported.
Packages also now list any NgModules that are contained - previously they were
missed.
PR Close #25734
2018-09-19 16:18:24 -07:00
Pete Bacon Darwin
bc5cb8153e
build(docs-infra): separate NgModules from Classes in API docs ( #25734 )
...
PR Close #25734
2018-09-19 16:18:24 -07:00
Pete Bacon Darwin
234661b3d6
feat(docs-infra): disable "status" selector in API list when displaying only packages ( #25718 )
...
Closes #25708
PR Close #25718
2018-09-05 09:28:28 -07:00
Stefanie Fluin
4ee9db959a
docs(docs-infra): fix topnav layout for smaller screens ( #25181 )
...
PR Close #25181
2018-07-31 11:41:22 -07:00
Pete Bacon Darwin
e8d4211d5c
feat(docs-infra): allow notification bar to show arbitrary content ( #25020 )
...
This change generalises the notification bar rendering to allow
more complex content to be displayed.
Now you must provide the full HTML of the notification message
when using `<aio-notification>`.
Also you can control whether clicking the content triggers the
notification to close or not.
This will support the new notification specified in "Other Items : 3" of
[#24140 ](https://github.com/angular/angular/issues/24140#issuecomment-397480410 )
PR Close #25020
2018-07-27 09:29:40 -07:00
Stefanie Fluin
d523630ea2
docs(aio): cleanup aalert, callout, subsection use and author style ( #24986 )
...
PR Close #24986
2018-07-24 08:22:14 -07:00
George Kalpakas
3cd9645daa
fix(docs-infra): fix table header layout in API pages ( #24919 )
...
PR Close #24919
2018-07-20 10:48:42 -07:00
Pete Bacon Darwin
d8c828c9b1
build(docs-infra): implement the 'package' API template ( #24631 )
...
PR Close #24631
2018-07-13 19:45:54 -04:00
Pete Bacon Darwin
8c51ce6f3b
build(docs-infra): move overload short description above syntax ( #24526 )
...
PR Close #24526
2018-06-25 07:56:36 -07:00
Stefanie Fluin
a26965812b
feat(docs-infra): Add GitHub and Twitter external icon links to topnav toolbar ( #24542 )
...
PR Close #24542
2018-06-20 16:50:15 -07:00
Pete Bacon Darwin
39af314e29
build(aio): add github links to API doc members ( #24000 )
...
This change adds Github edit and view links to methods
and decorator options.
It is possible to add these to properties also but the
UI is rather tight as these are displayed in a table.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
66f6a48210
fix(aio): tidy up API doc styles ( #24000 )
...
* Code anchors should inherit the font size from their container
* Table headings should align with content
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
e371b226fa
build(aio): rearrange decorator API doc template ( #24000 )
...
The overview of the decorator options is now a table.
The detailed description of each option is now a full section.
PR Close #24000
2018-06-13 16:47:40 -07:00
George Kalpakas
255463ed48
fix(aio): remove unnecessary scrollbar in code-tabs
( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
George Kalpakas
b4bbdb4ce2
fix(aio): add right-margin to .home
link ( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
Pete Bacon Darwin
ddd6124802
feat(aio): display code-tabs in a Material Design "card" ( #24027 )
...
This helps to connect the "content" of the tab to its label.
Closes #23985
PR Close #24027
2018-05-29 16:52:06 -04:00
Pete Bacon Darwin
96a0e131bf
feat(aio): render hover status on code-tabs ( #24027 )
...
The Material Design spec states that there should be a change
of background when hovering over a tab label.
See https://material.io/design/components/tabs.html#states
Related to #23985
PR Close #24027
2018-05-29 16:52:06 -04:00
Stefanie Fluin
b7c417f618
feat(aio): add brand and concept icons, img style class more flexible ( #23589 )
...
PR Close #23589
2018-05-15 15:36:06 -07:00
George Kalpakas
3b067c8579
fix(aio): remove main background color when printing ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
57cf5509e6
fix(aio): fix code-example
print styles when printing backgrounds ( #23538 )
...
Fixes #23431
PR Close #23538
2018-05-04 15:21:13 -07:00
George Kalpakas
3f20a5c7c8
refactor(aio): use the same selectors for screen and print styles ( #23538 )
...
PR Close #23538
2018-05-04 15:21:13 -07:00