Zhicheng Wang
6c3d57aee9
fix: 合并了最新版本
2018-03-24 13:12:42 +08:00
Zhicheng Wang
d0292bbe82
fix: 把遗漏的 我们 替换成 你
2018-03-23 09:43:02 +08:00
Zhicheng Wang
f75baea397
fix: 把除了 upgrading 之外的 我们 都替换成了 你
...
fix: 翻译了一部分 AOT Compiler
2018-03-22 17:19:12 +08:00
Zhicheng Wang
545d4b6c69
feat: 自动在中英文之间添加空格,以改善排版
2018-03-20 17:09:18 +08:00
Zhicheng Wang
e0fc873240
fix: minor fix and auto translate based on previous result
2018-03-18 07:44:33 +08:00
Zhicheng Wang
62afb2124d
fix: 翻译《HttpClient》中遗漏的部分
2018-03-14 08:48:17 +08:00
Zhicheng Wang
b7ceb9e211
fix: 修正了死链接
2018-03-07 16:48:44 +08:00
Zhicheng Wang
fc58e0eee0
fix: 合并第二版的翻译
2018-03-07 14:54:27 +08:00
Zhicheng Wang
0e0ffa481e
fix: 修正自动翻译结果
2018-03-07 11:25:56 +08:00
Zhicheng Wang
206f6ecc4f
fix: 修正最后一版的全部翻译
2018-03-04 09:07:33 +08:00
Zhicheng Wang
e6ede6bded
fix: 自动翻译了 http.md
2018-03-03 12:34:00 +08:00
Zhicheng Wang
53a7a4cbf5
feat: add auto checker
...
fix: some translations found by auto checker
2018-03-01 22:19:59 +08:00
Zhicheng Wang
c08a3830df
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/change-log.md
# aio/content/guide/component-styles.md
# aio/content/guide/deployment.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/pipes.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/security.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade.md
# aio/content/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/marketing/resources.json
# aio/content/navigation.json
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
2018-02-28 13:13:29 +08:00
Zhicheng Wang
1531b0610d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/i18n.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/npm-packages.md
# aio/content/guide/pipes.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/structural-directives.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/marketing/index.html
# aio/content/navigation.json
# aio/content/tutorial/index.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/src/app/embedded/api/api-list.component.ts
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
# aio/src/app/layout/footer/footer.component.html
# aio/src/app/layout/toc/toc.component.html
# aio/src/app/search/search.service.ts
# aio/src/styles/1-layouts/_marketing-layout.scss
# aio/yarn.lock
2018-02-28 08:08:59 +08:00
Mikhail Burshteyn
c3484450b8
docs: fix typo in http.md ( #22058 )
...
PR Close #22058
2018-02-09 13:10:23 -08:00
Ward Bell
7a20691f13
docs: add http guide sample and adjust text ( #21326 )
...
PR Close #21326
2018-01-31 10:24:43 -08:00
George Kalpakas
bf248792eb
docs: minor fixes (anchor tags, redundant whitespace, consistent code-snippets lang) ( #21589 )
...
PR Close #21589
2018-01-18 18:22:20 -06:00
courtneypattison
03d16fcd24
docs(aio): add missing imports to interceptor example ( #21259 )
...
PR Close #21259
2018-01-04 17:40:34 -05:00
Dawid Winiarczyk
d365077dfa
docs(aio): HttpClientXsrfModule withConfig => withOptions ( #21185 )
...
Docummentation suggests use of HttpClientXsrfModule#withConfig but this method looks like it's renamed to #withConfig.
https://angular.io/guide/http#configuring-custom-cookieheader-names
PR Close #21185
2018-01-02 10:29:07 -06:00
Zhicheng Wang
d7fd581c37
Merge branch 'master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/browser-support.md
# aio/content/guide/form-validation.md
# aio/content/guide/i18n.md
# aio/content/guide/pipes.md
# aio/content/guide/router.md
# aio/content/guide/set-document-title.md
# aio/content/guide/structural-directives.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/marketing/resources.json
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
2017-10-01 13:22:33 +08:00
FerhatE
3dc4115c8b
docs(aio): fix "Error handling" section in "HttpClient" ( #18821 )
...
Removed additional curly brackets to fix blocks. Also replaced tab with 2 spaces.
PR Close #18821
2017-08-22 15:56:12 -05:00
Zhicheng Wang
1de1da605b
fix: translated http-client
2017-08-05 22:32:31 +08:00
Stepan Suvorov
31cb418370
docs(aio): Fix http guide
2017-07-20 09:35:27 -07:00
Scotty Waggoner
256bc8acdd
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:35:56 -07:00
Alexey Toksarov
2a2fe11e8d
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:02:27 -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
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
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
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
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
Jesús Rodríguez
03610526e5
docs(aio): remove hardcoded TOC
2017-05-04 15:51:37 -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
Jesus Rodriguez
ff32c53099
docs(aio): fix lots of broken links
...
Closes #16317
2017-05-01 15:51:26 -07: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
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
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
ccb6c45466
docs(aio): rename http guide
2017-04-20 16:01:44 +01:00