Georgios Kalpakas
17b71ae382
docs(aio): move code snippet to appropriate location ( #18650 )
...
PR Close #18650
2017-08-18 13:23:09 -05:00
cexbrayat
5f5a8e1da6
docs(aio): typo in metadata guide ( #18730 )
...
PR Close #18730
2017-08-17 18:01:20 -05:00
ksvitkovsky
c65f18a2fa
docs(forms): fix reactive-forms guide typo
...
closes #17943
2017-08-15 16:42:58 -07:00
Ward Bell
697c6ed0fe
docs: remove TypeScript to JavaScript guide & sample
2017-08-15 16:31:31 -07:00
Kapunahele Wong
9320f34f19
docs(aio): add Metadata guide based on Chuck’s docs
...
Chuck’s gist
https://gist.github.com/chuckjaz/65dcc2fd5f4f5463e492ed0cb93bca60#file-Angular%20Metadata-md
Also chuck’s doc on metadata-related errors (link needed)
2017-08-15 12:14:57 -07:00
George Kalpakas
fd6ae571b8
fix(aio): add missing code snippet ( #18547 )
...
The snippet got lost some time during the migration from the old version (it is
[present in v2][1]).
[1]: https://v2.angular.io/docs/ts/latest/cookbook/aot-compiler.html#!#running-the-application
Fixes #18544
2017-08-09 14:20:25 -07:00
Kapunahele Wong
9b015a95eb
docs(aio): tech edits to form validation
...
closes #18495
2017-08-03 13:57:31 -07:00
Kara Erickson
939dc44391
docs(forms): update and re-organize validation guide
2017-08-03 13:56:53 -07:00
David Brooks
3923c30df0
docs(aio): fix missing anchor-open in i18n documentation ( #18476 )
...
The Internationalisation documentation, "Translate text nodes" section, has an incomplete
markdown anchor, and leaks markdown into the page. Fix the anchor by adding the opening bracket.
2017-08-02 15:56:01 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Antoine Mary
416ed691e5
docs(aio): fix URLSearchParams interface link to MDN
...
Fixes #18367
2017-07-28 15:26:04 -07:00
Georgios Kalpakas
67f7032321
fix(aio): correctly process markdown link in "Browser Support" ( #18349 )
...
The markdown processor expects an empty line between an opening tag and the
markdown content. (If there is no empty line, the content is interpreted as
plain HTML.)
Previously, the line between the opening `<td>` and the content contained
whitespace, which caused the content to be interpreted as HTML and not markdown.
Fixes #18312
PR Close #18349
2017-07-26 16:07:26 -05:00
Kevin Cooper
8d2819121b
fix(aio): invalid formatting in architecure.md ( #18159 )
...
Introduced in e110a80caf (diff-9ac9c6a9277eea9856d75249a7c0a40aL127)
2017-07-20 09:48:02 -07:00
Stepan Suvorov
31cb418370
docs(aio): Fix http guide
2017-07-20 09:35:27 -07:00
Thanesh Rajandran
410f21c75c
docs(aio): fix typo in NgModule FAQs ( #18211 )
...
Fix #18133 . Fix typo 'added' to 'add' in the 'Why does lazy loading create a child injector' section.
2017-07-20 09:07:30 -07:00
Nicola Sanitate
9208f0beea
docs(aio): fix typo in Router documentation
...
Fix title and link to RouteConfigLoadEnd documentation
2017-07-19 15:01:50 +01:00
Scotty Waggoner
256bc8acdd
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:35:56 -07:00
Jesse Palmer
3b588fe2b0
docs: fix typo
2017-07-18 10:11:55 -07:00
Alexey Toksarov
2a2fe11e8d
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:02:27 -07:00
Peter Bacon Darwin
cdb069ab0e
docs(aio): fix cheatsheet layout for narrow screens
...
* Tell the app that this will have no Table of Contents, since we have no
h2 headings anyway.
* Remove all the `nbsp;` from the code since that doesn't help with layout
* Remove side padding from sidenav-content when screen is narrow
* Restyle the cheatsheet table when the screen is narrow
2017-07-18 17:32:43 +01:00
Peter Bacon Darwin
f054c8360b
docs(aio): fix up broken links
2017-07-18 11:45:05 +01:00
Kapunahele Wong
375d598a9f
docs(aio): add George's fixes
2017-07-17 14:49:19 -07:00
Kapunahele Wong
cd67fced1c
docs(aio): add npm install to Sublime instructions
2017-07-17 14:49:19 -07:00
Kapunahele Wong
a77cf7ee37
docs(aio): add Chuck's comments
2017-07-17 14:49:19 -07:00
Kapunahele Wong
2150b45954
docs(aio): add language service doc
2017-07-17 14:49:19 -07:00
WilliamKoza
9f99f4fae2
docs: fix HttpClient sample
2017-07-17 14:03:32 -07:00
Kasidit Iamthong
c6ad212a98
docs(aio): fix HttpClient's interceptor sample
2017-07-17 14:03:16 -07:00
Don Denton
47b3ecd9a3
docs(http): fix "Expecting and answering requests" example mistake
...
Possibly overlooked testing documentation mistake fixed:
- `http.get('/data')` probably ought to be paired with `httpMock.expectOne('/data')` instead of `httpMock.expectOne('/data')`.
2017-07-17 14:01:44 -07:00
WilliamKoza
8c81c62d46
docs: fix HttpClient logging's sample
2017-07-17 14:01:24 -07:00
Daniel Bunte
7e72317059
docs(http): fixed syntax error in AuthInterceptor example
2017-07-17 14:00:59 -07:00
Stefanie Fluin
95698d93ad
fix(aio): remove title from callout
2017-07-15 15:35:15 +01:00
Alex Rickabaugh
e0fa727594
fix(aio): document XSRF protection in HttpClient
2017-07-14 12:42:37 -07:00
cexbrayat
8e56c3cb30
docs: fix type error in HttpClient sample
2017-07-14 09:35:25 -07:00
Alex Rickabaugh
bc1ea8c54b
docs: rewrite 'Server Communication' doc guide to use HttpClient ( #18079 )
2017-07-13 15:22:07 -07:00
Kapunahele Wong
e110a80caf
docs(aio): change Angular Module to NgModule ( #16964 )
2017-07-11 15:05:20 -07:00
Sarah
20127c1456
docs: fix typos and grammar ( #17818 )
2017-07-11 13:00:53 -07:00
Trotyl Yu
bbf2133fa9
docs: update ECMAScript info ( #17801 )
2017-07-11 12:44:56 -07:00
Peter Bacon Darwin
b30c5fc874
docs(aio): fix dangling links
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
0e71836cd5
docs(aio): fix potential invalid jsdoc tag
2017-07-11 11:44:05 +01:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Victor Berchet
0ede642cb9
docs(aio): Update `NgStyle` and `NgClass` to use quoted keys
2017-07-07 16:17:33 -07:00
Shefali Sinha
92d7ecf627
docs: shefali edits to Authors Style Guide ( #17853 )
2017-07-05 14:33:06 -07:00
Jesus Rodriguez
dc88e0a881
docs(aio): update quickstart to latest cli
2017-07-03 08:25:19 +01:00
Artem Petrosian
f54a901b8d
docs(aio): fix visual-studio-2015 typo
...
This fixes #17283
2017-07-03 08:12:28 +01:00
Artem Petrosian
154154dde2
docs(aio): fix quickstart-cli bad HTML escape chars
2017-06-30 12:23:11 +01:00
Brandon Roberts
8d01db4638
docs: Updated router guide content and examples for paramMap
...
and queryParamMap, tracing, and incidental improvements.
closes #16991 and #16259 which it also fixes.
2017-06-29 09:35:39 -07:00
Ward Bell
96b17034e1
feat(aio): cross reference readme and docs styleguide
2017-06-29 09:35:04 -07:00
David Herges
97bb374218
fix(aio): Typo in Setup Anatomy documentation page
...
Solves #17076
2017-06-26 11:04:46 -07:00
swseverance
233044e337
docs(aio): fix typo
2017-06-26 11:04:32 -07:00
Victor Berchet
b754e600e3
feat(compiler): add support `::ng-deep`
...
- /deep/ is deprecated and being removed from Chrome
- >>> is semantically invalid in a stylesheet
- sass will no longer support either in any version of sass
-> use ::ng-deep in emulated shadow DOM mode
Because the deep combinator is deprecated in the CSS spec,
`/deep/`, `>>>` and `::ng-deep` are also deprecated in emulated shadow DOM mode
and will be removed in the future.
see https://www.chromestatus.com/features/6750456638341120
2017-06-23 14:43:42 -07:00
Alex Xu
eacc36bbd5
docs(aio): update Bash for Windows info
...
As of the Creator's Update, Bash on Ubuntu on Windows supports all npm commands.
https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/
Update setup documentation accordingly.
2017-06-23 09:04:04 -07:00
Georgios Kalpakas
8b4acbbcbf
docs(aio): minor fixes for the upgrade guide
...
Fixes #17093
2017-06-23 09:03:28 -07:00
Kapunahele Wong
92bcfefc35
docs(aio): remove min, max & move built-in validators paragraph
2017-06-22 14:51:05 -07:00
Mark Amery
8c129d73b8
docs: Fix some non-code being formatted as code in the router docs
2017-06-22 14:38:55 -07:00
Ward Bell
37cdc4f759
docs(aio): ward's changes
2017-06-21 16:21:20 -07:00
Shefali Sinha
b1dab181e0
docs(aio): change to overall prose
2017-06-21 16:21:20 -07:00
Shefali Sinha
fd6c4e371b
docs(aio): create author style guide
2017-06-21 16:21:20 -07:00
Dan Lipsitt
d16852898f
docs(aio): fix numbered list in testing.md
...
This list renders OK in the github UI but not at https://angular.io/guide/testing#setup
2017-06-20 16:43:26 -07:00
Kapunahele Wong
2b1de07f02
docs(aio): incorporate Ward's comments
2017-06-15 07:46:44 +01:00
Kapunahele Wong
fb877696bf
docs(aio): add short section on built-in validators, copy edits
2017-06-15 07:46:44 +01:00
David Herges
06a0cf2e31
docs(aio): http guide shows how to import toPromise operator from rxjs
...
Solves #17454
2017-06-15 07:45:12 +01:00
Trotyl Yu
38fc2a0055
fix(aio): fix trackBy demo in template-syntax article
2017-06-14 12:04:59 +01:00
Ward Bell
541c9a94bf
docs(aio): i18n guide - updates for v4
2017-06-13 12:38:38 +01:00
Ward Bell
fc774a1871
docs: clarify when non-null-assertion-operator is needed in template-syntax
2017-06-13 08:02:30 +01:00
Kapunahele Wong
d56b7ed96d
docs(aio): reorganise the sidenav menu ( #16934 )
...
Reorganizes the items in the sidenav menu and consolidates the quickstart
and cli-quickstart guides into one.
2017-06-09 14:48:53 -07:00
Ward Bell
f370fd36e0
docs: "TypeScript to JavaScript" code tab renamed “ES6 + Decorators”
...
closes #17260
2017-06-08 14:00:06 -07:00
Chuck Jazdzewski
74673545c0
docs(aio): document the non-null assertion operator
2017-06-08 12:55:19 -07:00
Stefanie Fluin
4d2ee51bb0
fix(aio): remove glossary l-sub-section class ( #17305 )
2017-06-08 11:58:49 -07:00
Ward Bell
cba2b3c72d
docs(aio): add “nougat” to compat chart
...
closes #17262
2017-06-07 12:40:50 -07:00
Jesús Rodríguez
cd5bc64658
docs(aio): update headers for toc ( #16969 )
2017-05-26 13:28:06 -06:00
Peter Bacon Darwin
8a0e5659c0
docs(aio): tidy up docs that use float clearing
...
Closes #16681
2017-05-19 09:47:53 +01:00
Georgios Kalpakas
b836aca999
docs(aio): rework of the upgrade guide
...
This commit was worked on by a number of people including
@filipesilva, @gkalpak and @wardbell. It contains changes that:
* remove unused files,
* fix the bootstrap approach to ensure that bootstrap is in the correct Zone
* fix unclosed code-example tags
* replace use of "we" with "you"
* remove broken dual router example
Related to angular/angular.io#3541
2017-05-19 09:42:17 +01:00
Ward Bell
7ae0440cca
docs(aio): remove fundamentals/techniques intro pages
2017-05-16 09:45:48 +01:00
Jesus Rodriguez
b016984c04
docs(aio): resize images
2017-05-12 14:28:09 +01:00
Peter Bacon Darwin
56ccd5e6a1
docs(aio): remove excess h1s from guides
...
Only one h1 is allowed per document.
(Also took the opportunity to remove unnecessary blank lines from these
docs, and a bit of general tidying.)
Closes #16193
2017-05-11 08:15:19 +01:00
Jesus Rodriguez
56833a6171
docs(aio): more content fixes
2017-05-10 12:51:01 +01:00
Peter Bacon Darwin
954c08e97c
fix(aio): remove unwanted code styling from styleguide doc
...
Closes #16514
2017-05-10 07:49:03 +01:00
Pete Bacon Darwin
9e661e58d1
docs(aio): image sweep ( #16609 )
...
* fix(aio): allow code blocks to clear floated images
Previously the negative margin on the code headings were causing
floated images to overlay the start of a code block. Now all code block
successfully clear all floated elements.
* feat(aio): add a `.clear` class for clearing floating images
* fix(aio): tidy up image styles
The css rules for `img.right` and `img.left` allow authors easy
access to floating an image on the left or right, respectively.
The `.image-display` rule which was always found on a figure
has been simplified so that all figures have this styling. It is very
unlikely that a figure will be used outside the content area; and
at this time it seems like `figure` is as good an indicator that we
want this kind of styling as anything.
Now that images are all tagged with width and height values, we cannot
assume to modify these dimensions via CSS as it can cause the image to
lose its correct proportions. Until we find a better solition we must set
`height` to `auto` when the screen width is below 1300px to ensure that
these images maintain their proportions as they get shrunk to fit.
* docs(aio): general tidy up of image HTML in guides
Previously, the guides have a lot of inline image styling and unnecessary
use of the `image-display` css class.
Images over 700px are problematic for guide docs, so those have been given
specific widths and associated heights.
* docs(aio): use correct anchor for "back to the top" link
The `#toc` anchor does not work when the page is
wide enough that the TOC is floating to the side.
* build(aio): add `#top-of-page` to path variants for link checking
Since the `#top-of-page` is outside the rendered docs
the `checkAnchorLinks` processor doesn't find them
as valid targets for links.
Adding them as a `pathVariant` solves this problem
but will still catch links to docs that do not actually exist.
* fix(aio): ensure that headings clear floated images
* fix(aio): do not force live-example embedded image to 100% size
This made them look too big, generally. Leaving them with no size means
that they will look reasonable in large viewports and switch to 100% width
in narrow viewports.
2017-05-09 15:53:32 -07:00
Ward Bell
1af42aedfa
docs(aio): doc guide tweaks (GS thru Components)
...
Working through obvious non-image content defects, from top of menu (Getting Started) through Fundamentals/Components.
2017-05-09 14:27:27 +01:00
Jason Hodges
98dd609f89
docs(animations): remove duplicate word ( #16508 )
2017-05-08 10:47:13 -07:00
Ward Bell
2714644528
docs(aio): fix broken links discovered May 4th
2017-05-05 11:05:22 +01:00
Jesús Rodríguez
03610526e5
docs(aio): remove hardcoded TOC
2017-05-04 15:51:37 -07:00
Stefanie Fluin
919ff12377
fix(aio): cheatsheet table layout fix
2017-05-03 19:34:12 -07:00
Peter Bacon Darwin
f29c6bbc6f
docs(aio): fix missing title warnings
...
This commit provides missing titles for Press kit.
License appears not to want a title.
ngmodule and resources2 are no longer needed.
2017-05-03 13:42:10 -07:00
Peter Bacon Darwin
5b96fb9320
build(aio): rename `src/content` to `src/generated`
...
This commit will definitely require a clean up of your
working folder:
```
cd aio
git clean -xdf
yarn setup
```
2017-05-03 13:40:46 -07:00
Ward Bell
1cfb263ee3
docs(aio): hide the copy button for code in StyleGuide tables.
2017-05-03 13:38:25 -07:00
aravindfz
c8dc116951
docs(aio): fixing new url on glossary date pipe
2017-05-03 13:29:04 -07:00
Peter Bacon Darwin
5ba8c14893
docs(aio): remove unnecessary anchor links from styleguide
2017-05-03 09:21:18 +01:00
Souvik Basu
00dce1698a
docs(aio): grammatical fix. remove duplicate word 'our'
2017-05-03 08:03:03 +01:00
Ward Bell
1c8772a879
fix(aio): delete guide/index.md which is no longer used
2017-05-02 15:13:15 -07:00
Jesus Rodriguez
ff32c53099
docs(aio): fix lots of broken links
...
Closes #16317
2017-05-01 15:51:26 -07:00
Kapunahele Wong
b70b9606eb
docs(aio): apply guidelines to ts-to-js - adapt for aio site ( #16054 )
2017-04-28 15:34:00 -07:00
Will Howell
938406122e
docs(aio): add missing word ( #16328 )
2017-04-28 15:33:23 -07:00
Ward Bell
4be1966a21
feat(aio): revise Docs page; docs version selector in sidenav
2017-04-28 09:40:39 +01:00
Ward Bell
3f46645f5f
feat(aio): add Table of Contents (toc) component. ( #16078 )
2017-04-27 15:32:46 -07:00
Georgios Kalpakas
cd5b1f306a
refactor(aio): move `/guide/docs.md` to `/marketing/docs.md`
...
Because:
1. `docs` feels like a "top level" page, similar to `features`, `resources`, `events` etc.
2. This enables the ServiceWorker to pre-fetch/cache the document (similar to what happens with all
other direct children of `content/docs/`), without the need for special-casing it in
`ngsw-manifest.json`.
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
96648ba98a
fix(aio): fix incorrect image URLs in guides
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
6561d46349
refactor(aio): move content-related images to `content/images/`
2017-04-27 10:14:32 +01:00
Jesús Rodríguez
249cd8c2ec
docs(aio): remove _blank target ( #16205 )
2017-04-24 11:23:45 -07:00
Chris McKnight
feda017c50
docs(aio): Fix decorator JS feature explanation ( #16214 )
2017-04-24 09:54:36 -07:00
Ward Bell
4ac5096232
docs(aio): revised "Docs" page
2017-04-24 14:00:51 +01:00
Ward Bell
446153675f
docs(aio): revise info architecture in navigation.json
2017-04-24 14:00:51 +01:00
Ward Bell
bb1850a912
docs(aio): relocate images to match docs
2017-04-24 14:00:51 +01:00
Ward Bell
93516ea8a1
docs(aio): rename cb- files and a few others
2017-04-24 14:00:51 +01:00
Natalie Sidhom
7a8bd99ab1
docs(aio): correct some minor typos in the form validation cookbook ( #16068 )
2017-04-21 13:37:28 -07:00
Jesús Rodríguez
062fc4afee
docs(aio): change hardcoded links to the old site ( #16196 )
2017-04-21 10:10:19 -07:00
Jesus Rodriguez
87ec8d13ce
docs(aio): remove doble title from setup
2017-04-21 16:26:08 +01:00
Jesus Rodriguez
cbe5f78c1a
docs(aio): fix old jade on DI
2017-04-21 16:01:20 +01:00
Jesus Rodriguez
4598af23c0
docs(aio): adjust zips/plunker paths
2017-04-21 09:56:45 +01:00
Jesús Rodríguez
5461182e25
docs(aio): make glossary links work again ( #16201 )
2017-04-20 20:11:27 -07:00
Kapunahele Wong
134f542b36
docs(aio): fix spacing on l-sub-sections
2017-04-20 16:30:59 +01:00
Kapunahele Wong
c3727f330b
docs(aio): fix aot TOC list items
2017-04-20 16:30:59 +01:00
Jesus Rodriguez
ccb6c45466
docs(aio): rename http guide
2017-04-20 16:01:44 +01:00
Stefanie Fluin
e9db74f937
fix(aio): style mods and content udpates ( #16138 )
...
Fixed capitalization in sidenav menu items
Add min height property to sidenav-content for better viewing on short pages or high resolution screens
Add dividier between change log items as before to h2
Table adjustments to reduce off-screen items
Update home page banner text and icon change, and fix banner img and mobile alignment
Fix and add links in doc landing page and change card footer text to reflect correct name
Removed docs landing page to rebase with master
PR Close #16138
2017-04-19 22:35:12 -05:00
cameronbriar
05d1008a08
docs(aio): fix bad cookbook URL references for aot-compiler ( #16165 )
...
PR Close #16165
2017-04-19 22:34:21 -05:00
Jesus Rodriguez
e07b7ea114
docs(aio): fix broken regions
2017-04-19 15:52:55 +01:00
Santi
c9983e6440
docs(aio): Fix reference to the right example
...
Fix reference to the right example (it's the second route in the example the one showing the route parameter, not the first one)
2017-04-19 11:56:17 +01:00
Ward Bell
76269f4a1f
docs(aio): fix the broken docs guide
2017-04-19 11:49:32 +01:00
Jesus Rodriguez
9d40ab9e20
docs(aio): rename ToH to match the guide name
2017-04-19 10:28:31 +01:00
cameronbriar
691e86c9bf
docs(aio): fix minor typos in deployment guide
2017-04-19 10:21:53 +01:00
Andy
8fa4453aec
docs(aio): Testing Guide: Second matcher parameter
2017-04-19 10:19:57 +01:00
Peter Bacon Darwin
8b31178647
docs(aio): remove styling comments from cheatsheet
...
These comments were not designed to be rendered.
2017-04-19 10:14:41 +01:00
Jesus Rodriguez
061475402c
docs(aio): final migration from old site
2017-04-12 21:01:55 +01:00
Ward Bell
8659bd2c4b
docs(aio): template -> ng-template ( #15912 )
2017-04-12 12:28:09 -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
df619adc76
docs(aio): update to remark syntax
2017-04-12 12:24:02 -07:00
Jesus Rodriguez
0e38bf9de0
build(aio): new migration
2017-04-03 15:41:05 -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
Peter Bacon Darwin
d8c35c893b
docs(aio): move quickstarts and glossary into guide
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
Peter Bacon Darwin
fd72fad8fd
docs(aio): update migrated content from anguar.io
2017-03-28 10:21:46 +01:00
Adam
a6fd22c399
docs(aio): fix typo
2017-03-27 09:15:50 +01:00
Peter Bacon Darwin
ab40fcb068
docs(aio): fix relative links
...
The migrator was updated to automatically fix these links.
See fca5fb0280
and 3927b7a038
The result of this is that, going forward, we should ask
authors to include the path from the base href to the thing
being linked. E.g. guide/architecture#intro
2017-03-13 16:56:23 -07:00
Peter Bacon Darwin
1847550ad1
docs(aio): move cookbooks into guide
...
Also update all docs with migrated versions from latest angular.io
Fixes #14941
2017-03-13 16:56:23 -07:00
Peter Bacon Darwin
b70c881c00
docs(aio): fix paths to images
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
3e34ba01bd
docs(aio): migrate content docs from angular.io
...
This content was generated by a tool: https://github.com/petebacondarwin/aio-migrator
2017-02-23 23:23:58 -08:00