diff --git a/docs/index.md b/docs/index.md index b148cee8e..aca1cc9bc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -16,7 +16,9 @@ SuperAgent is light-weight progressive ajax API crafted for flexibility, readabi ## Test documentation -[**中文文档**](docs/zh_CN/index.html) +[**中文文档**](./zh_CN/index.md) + +[**한국어**](./ko_KR/index.md) The following [test documentation](docs/test.html) was generated with [Mocha's](https://mochajs.org/) "doc" reporter, and directly reflects the test suite. This provides an additional source of documentation. diff --git a/docs/ko_KR/index.html b/docs/ko_KR/index.html index 13b9262c8..8573ab276 100644 --- a/docs/ko_KR/index.html +++ b/docs/ko_KR/index.html @@ -1,4 +1,4 @@ - + @@ -29,7 +29,8 @@

SuperAgent

테스트 문서

- English + English + 中文文档

다음의 테스트 문서는 diff --git a/docs/ko_KR/index.md b/docs/ko_KR/index.md index 8ecb8befc..cbe31ad67 100644 --- a/docs/ko_KR/index.md +++ b/docs/ko_KR/index.md @@ -15,7 +15,9 @@ request ## 테스트 문서 -[**English**](/superagent/) +[**English**](./../index.md) + +[**中文文档**](./../zh_CN/index.md) 다음의 [테스트 문서](../test.html)는 [Mocha](https://mochajs.org/)의 "doc" 리포터를 사용해 생성되었으며, 실제 테스트 스위트를 직접 반영합니다. 이 문서는 추가적인 참고 자료로 활용할 수 있습니다. diff --git a/docs/zh_CN/index.html b/docs/zh_CN/index.html index fa0704db4..7974282e0 100644 --- a/docs/zh_CN/index.html +++ b/docs/zh_CN/index.html @@ -21,7 +21,7 @@

SuperAgent

});

测试文档

-

English

+

English 한국어

下面的测试文档是用Mocha的"文档"报告器生成的,并直接反映了测试套件。 这提供了额外的文档来源。

基本请求

可以通过调用 request 对象上的适当方法来发起请求,然后调用 .then() ( 或 .end()await )发送请求。例如一个简单的 GET 请求:

diff --git a/docs/zh_CN/index.md b/docs/zh_CN/index.md index efe1a7732..d0109ee46 100644 --- a/docs/zh_CN/index.md +++ b/docs/zh_CN/index.md @@ -13,7 +13,9 @@ SuperAgent是轻量级的渐进式ajax API,具有灵活性、可读性和较 ## 测试文档 -[**English**](/superagent/) +[**English**](./../../docs/index.md) + +[**한국어**](./../ko_KR/index.md) 下面的[测试文档](../test.html)是用[Mocha](https://mochajs.org/)的"文档"报告器生成的,并直接反映了测试套件。 这提供了额外的文档来源。 diff --git a/index.html b/index.html index 42d3f3eb3..81f556fdf 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@

SuperAgent

});

Test documentation

-

中文文档

+

中文文档 한국어

The following test documentation was generated with Mocha's "doc" reporter, and directly reflects the test suite. This provides an additional source of documentation.

Request basics

A request can be initiated by invoking the appropriate method on the request object, then calling .then() (or .end() or await) to send the request. For example a simple GET request: