-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): update requirements and docs content with new sphinx exte…
…nsions and translations
- Loading branch information
1 parent
e614fd9
commit 4c8caa6
Showing
12 changed files
with
127 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
文档变更日志 | ||
============ | ||
|
||
文档正在不断完善中。在之后的版本中,本文档将包含所有第一个 release 版本之后的有效变更,包括对类参考手册的更新。 | ||
|
||
.. note:: | ||
|
||
本文档仅包含新页面,因此并未反映所有更改,许多页面已经大幅更新,但未反映在本文档中。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ | |
complying_with_licenses | ||
release_policy | ||
changelog | ||
|
||
docs_changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
顶层业务 | ||
-------- | ||
|
||
|
||
规则包机制 | ||
---------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Restful API 参考手册 | ||
==================== | ||
|
||
users | ||
----- | ||
|
||
|
||
.. http:get:: /users/(int:user_id)/posts/(tag) | ||
The posts tagged with `tag` that the user (`user_id`) wrote. | ||
|
||
**Example request**: | ||
|
||
.. sourcecode:: http | ||
|
||
GET /users/123/posts/web HTTP/1.1 | ||
Host: example.com | ||
Accept: application/json, text/javascript | ||
|
||
**Example response**: | ||
|
||
.. sourcecode:: http | ||
|
||
HTTP/1.1 200 OK | ||
Vary: Accept | ||
Content-Type: text/javascript | ||
|
||
[ | ||
{ | ||
"post_id": 12345, | ||
"author_id": 123, | ||
"tags": ["server", "web"], | ||
"subject": "I tried Nginx" | ||
}, | ||
{ | ||
"post_id": 12346, | ||
"author_id": 123, | ||
"tags": ["html5", "standards", "web"], | ||
"subject": "We go to HTML 5" | ||
} | ||
] | ||
|
||
:query sort: one of ``hit``, ``created-at`` | ||
:query offset: offset number. default is 0 | ||
:query limit: limit number. default is 30 | ||
:reqheader Accept: the response content type depends on | ||
:mailheader:`Accept` header | ||
:reqheader Authorization: optional OAuth token to authenticate | ||
:resheader Content-Type: this depends on :mailheader:`Accept` | ||
header of request | ||
:statuscode 200: no error | ||
:statuscode 404: there's no user |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters