George Kalpakas
a086976d68
fix(docs-infra): improve heading styles ( #40427 )
...
This commit includes some general improvements to heading styles
(font-weight, margin/padding). It also adds a horizontal separator above
`<h2>` headings to segment important sections more easily.
(As a consequence, we can remove several `<hr />` elements right before
`<h2>` headings.)
Co-authored-by: Stefanie Fluin <sjtrimble@gmail.com>
PR Close #40427
2021-02-02 12:04:55 -08:00
Kapunahele Wong
5b31a0a294
docs: separate template syntax into multiple docs ( #36954 )
...
This is part of a re-factor of template syntax and
structure. The first phase breaks out template syntax
into multiple documents. The second phase will be
a rewrite of each doc.
Specifically, this PR does the following:
- Breaks sections of the current template syntax document each into their own page.
- Corrects the links to and from these new pages.
- Adds template syntax subsection to the left side NAV which contains all the new pages.
- Adds the new files to pullapprove.
PR Close #36954
2020-07-20 11:16:44 -07:00
rch850
3545520e81
docs: fix result of sanitization example ( #36059 )
...
This commit fixes sanitization example
in https://angular.io/guide/template-syntax#content-security .
* Escape < and > of interpolation result.
* Fix result of property binding result.
PR Close #36059
2020-06-11 19:11:23 -07:00
Ajit Singh
8f1d0c317e
docs: remove https://angular.io from internal links ( #37157 )
...
PR #36601 itroduces icons on all links if the link contains https:// or http:// but there were some internal links left which contained https://angular.io . Removed https://angular.io from all these links.
PR Close #37157
2020-05-19 10:11:41 -07:00
Sonu Kapoor
019835c721
docs: minor typos ( #36772 )
...
Closes #36771
PR Close #36772
2020-05-13 15:51:47 -07:00
Sonu Kapoor
9d415f9c3f
fix(docs-infra): change `app-list-item` to `app-item-list` ( #35601 )
...
The `app-list-item` component sounds like it is used for a single
item, however it renders a list of items. There were also
several changes in the documentation, where it was becoming
confusing if the `app-list-item` is using a single item or multiple
items. This commit fixes this issue. It renames the component and its
respective properties to make sure that the intention is very clear.
Closes #35598
PR Close #35601
2020-03-23 11:40:15 -07:00
Aristeidis Bampakos
e81ad3a1bc
docs: Add asterisk info in template syntax guide ( #36176 )
...
Add helpful alert for asterisk syntax in the `ngFor` section of template syntax guide
PR Close #36176
2020-03-23 11:36:09 -07:00
George Kalpakas
f6adc0c3f9
build(docs-infra): update project structure to cli@9 10/12 (`tsconfig.json`) ( #36015 )
...
Update `tsconfig[.*].json`.
Also, all make necessary changes to ensure the example apps can be
successfully built with the new, stricter type-checking options.
PR Close #36015
2020-03-18 10:00:01 -07:00
Aristeidis Bampakos
746e313a76
docs: Fix typo in template syntax ( #35767 )
...
Remove unnecessary article from styling precedence
PR Close #35767
2020-03-02 08:16:06 -08:00
Georgii Dolzhykov
6f68eae9dd
docs: more precise docs for template statement syntax ( #34348 )
...
PR Close #34348
2020-02-26 12:44:53 -08:00
Sonu Kapoor
be5e75c804
docs: change `item` to `items` to match the code ( #35433 )
...
Closes #35368
PR Close #35433
2020-02-14 11:15:07 -08:00
Kara Erickson
7526ef77b7
docs(ivy): add docs for styling priority order ( #35066 )
...
PR Close #35066
2020-02-06 09:33:28 -08:00
Kara Erickson
4e9d62ff81
docs(ivy): update style binding docs to v9 behavior ( #35066 )
...
PR Close #35066
2020-02-06 09:33:28 -08:00
Kara Erickson
a08f6d9795
docs(ivy): clean up class binding docs and update to v9 behavior ( #35066 )
...
PR Close #35066
2020-02-06 09:33:28 -08:00
Judy Bogart
efdf347f9c
docs: apply standard header case convention ( #34196 )
...
PR Close #34196
2020-01-10 08:38:53 -08:00
Pierre-Yves FARE
2e7a3e9ae6
docs: add html template for sizer component in template syntax guide ( #33776 )
...
fixes #33771
PR Close #33776
2019-11-18 09:12:45 -08:00
Stefanie Fluin
fe4447d568
feat(docs-infra): simplify image styles and remove figure references ( #33748 )
...
Reference #33259
Removes figures elements as AIO is not typically using captions or image groups where figures would be necessary or appropriate
PR Close #33748
2019-11-14 09:27:02 -08:00
Geoff Bass
5bc1b6f9ac
docs: remove redundant word from template syntax guide ( #33534 )
...
PR Close #33534
2019-11-05 00:54:47 +00:00
thanhpd
2f6c97e93c
docs: remove redundant whitespaces and fix minor typos ( #33422 )
...
PR Close #33422
2019-10-29 11:39:17 -07:00
Stefanie Fluin
ba29e4d953
feat(docs-infra): implement figure styles ( #33259 )
...
PR#28396 originally addressed an update via issue #23983 to make images more visible with a white background (implementation of gray "lightbox").
This PR implements those styles defined in PR#28396.
PR Close #33259
2019-10-23 12:59:34 -07:00
paulceli
3dc6490e72
docs: fix code-example displayed path ( #33228 )
...
PR Close #33228
2019-10-17 14:06:40 -04:00
Yulia Tsareva
877f9ad7b9
docs: add missing space between "Component" and "will" in guide ( #32885 )
...
Closes angular/angular#32873
PR Close #32885
2019-09-27 15:59:29 -07:00
Harinder Singh
278d634723
docs: correct spelling of HTMLTableCellElement in Template Syntax ( #32805 )
...
Spelling Correction in Docs
Corrected spelling; From `HTMLTableCellElment` to `HTMLTableCellElement`.
PR Close #32805
2019-09-27 10:03:52 -07:00
Phaneendra
2230dfaea7
docs: describe your change... ( #32552 )
...
Properly Closed Bracket for the header
PR Close #32552
2019-09-10 06:30:05 -04:00
Judy Bogart
ef2047555a
docs: clean up formats in template syntax guide ( #32197 )
...
PR Close #32197
2019-08-27 16:14:24 -07:00
George Kalpakas
1bcd58cee8
refactor(docs-infra): remove `linenums=false` since it is now the default ( #31674 )
...
PR Close #31674
2019-07-24 14:38:54 -07:00
Kapunahele Wong
fe1793844d
docs: fix typo in Template Syntax headers ( #31474 )
...
Fixes #31467
PR Close #31474
2019-07-11 11:40:40 -04:00
Kapunahele Wong
44c6534f3c
docs: fix typo in Template Syntax ( #31298 )
...
Fixes #31282
PR Close #31298
2019-07-02 11:30:50 -07:00
Michael Prentice
09970d52e8
docs(core): in template syntax guide, make SVG example more clear ( #31356 )
...
add e2e test for SVG template example
fix template syntax example app
- linting errors
- runtime exceptions
- template type errors
- deprecated type casting
- deprecated currency pipe example
Relates to #30559
PR Close #31356
2019-07-02 11:30:15 -07:00
Santosh Yadav
c6b29f4c6d
docs: added svg example ( #30559 )
...
Fixes #30441
PR Close #30559
2019-06-27 15:56:26 -07:00
Kapunahele Wong
83f0304cfc
docs: clarify wording in Template Syntax ( #31119 )
...
PR Close #31119
2019-06-21 10:23:38 -07:00
Kapunahele Wong
b5aa0473fc
docs: rewrite attribute binding section and add example ( #26004 )
...
PR Close #26004
2019-06-14 12:21:28 -07:00
Kapunahele Wong
6c4d91297e
docs: edit and add example for Template Expression Operators section of Template Syntax ( #28087 )
...
PR Close #28087
2019-06-14 11:53:50 -07:00
Kapunahele Wong
f41242f18e
docs: rewrite inputs/outputs section of Template Syntax ( #27685 )
...
PR Close #27685
2019-06-14 11:53:13 -07:00
Kapunahele Wong
e2fd628618
docs: edit template ref vars copy and example ( #27371 )
...
PR Close #27371
2019-06-14 11:52:33 -07:00
Kapunahele Wong
2c2135d331
docs: rewrite built-in directives section ( #27273 )
...
PR Close #27273
2019-06-14 11:51:47 -07:00
Kapunahele Wong
7e3a60ad31
docs: add example and edit two-way-binding section of Template Syntax ( #26278 )
...
PR Close #26278
2019-06-14 11:50:03 -07:00
Kapunahele Wong
85d38ae564
docs: rewrite property binding section and add example ( #25770 )
...
PR Close #25770
2019-06-14 11:47:34 -07:00
Kapunahele Wong
bb4e230eae
docs: rewrite binding-syntax section in template-syntax.md ( #25561 )
...
PR Close #25561
2019-06-14 10:25:06 -07:00
hateonion
b0eefc872e
docs: fix incorrect header on custom event docs ( #29784 )
...
PR Close #29784
2019-04-09 12:23:59 -07:00
Kapunahele Wong
c0ad9e104d
docs: edit $any() section and add example in Template Syntax ( #28157 )
...
PR Close #28157
2019-03-19 13:19:17 -04:00
George Kalpakas
ad9415af1d
docs: remove unused examples and images ( #28597 )
...
PR Close #28597
2019-03-07 13:24:01 -08:00
Kapunahele Wong
75074d009f
docs: rewrite event binding section and add example ( #26162 )
...
PR Close #26162
2019-01-22 11:31:41 -08:00
Kapunahele Wong
d505468fb7
docs: re-write interpolation section and add example ( #25170 )
...
PR Close #25170
2019-01-11 11:12:44 -08:00
William Marques
fc6dad40ac
fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips ( #26396 )
...
Closes #26174
PR Close #26396
2018-10-17 11:05:29 -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
Chuck Jazdzewski
2d44a2ab0d
docs(compiler): document the $any type cast function ( #20968 )
...
Closes #20966
PR Close #20968
2018-01-12 14:37:26 -08:00
Jesús Rodríguez
049c89645b
docs(aio): update ToH for CLI ( #19811 )
2017-11-06 10:02:17 -08:00
Trotyl Yu
0f432994b8
docs(aio): document the special treatment of undefined
2017-10-04 12:40:12 -07:00
Kapunahele Wong
334caf8e7c
docs(aio): add copy about NgForOf ( #18686 )
2017-09-27 15:25:41 -07:00