Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit331fd2b

Browse files
committed
Merge branch 'toc'
2 parents7b79e9f +4f85d16 commit331fd2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+125
-34
lines changed

‎Rules‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ end
1818

1919
compile'/feed/'do
2020
filter:erb
21-
filter:kramdown
21+
filter:kramdown,:toc_levels=>[2]
2222
filter:colorize_syntax,
2323
:colorizers=>{:javascript=>:pygmentsrb}
2424
end
2525

2626
%w(v3*/).eachdo |version|
2727
compile"/changes/#{version}"do
2828
filter:erb
29-
filter:kramdown
29+
filter:kramdown,:toc_levels=>[2]
3030
filter:colorize_syntax,
3131
:colorizers=>{:javascript=>:pygmentsrb}
3232
layout'changes'ifversion[0] =='*'
@@ -36,7 +36,7 @@ end
3636

3737
compile'*'do
3838
filter:erb
39-
filter:kramdown
39+
filter:kramdown,:toc_levels=>[2]
4040
filter:colorize_syntax,
4141
:colorizers=>{:javascript=>:pygmentsrb}
4242
layout'default'

‎content/v3.md‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,8 @@ This describes the resources that make up the official GitHub API v3. If
88
you have any problems or requests please contact
99
[support](mailto:support@github.com?subject=APIv3).
1010

11-
* <ahref="#schema">Schema</a>
12-
* <ahref="#client-errors">Client Errors</a>
13-
* <ahref="#http-verbs">HTTP Verbs</a>
14-
* <ahref="#authentication">Authentication</a>
15-
* <ahref="#pagination">Pagination</a>
16-
* <ahref="#rate-limiting">Rate Limiting</a>
17-
* <ahref="#conditional-requests">Conditional Requests</a>
18-
* <ahref="#cross-origin-resource-sharing">Cross Origin Resource Sharing</a>
19-
* <ahref="#json-p-callbacks">JSON-P Callbacks</a>
11+
* TOC
12+
{:toc}
2013

2114
##Schema
2215

‎content/v3/events.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ title: Events | GitHub API
77
This is a read-only API to the GitHub events. These events power the
88
various activity streams on the site.
99

10+
* TOC
11+
{:toc}
12+
1013
Events support[pagination](/v3/#pagination),
1114
however the`per_page` option is unsupported. The fixed page size is 30 items.
1215
Fetching up to ten pages is supported, for a total of 300 events.

‎content/v3/events/types.md‎

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,8 @@ organization (if applicable).
1414
Note that some of these events may not be rendered in timelines.
1515
They're only created for various internal and repository hooks.
1616

17-
* <ahref="#commitcommentevent">CommitCommentEvent</a>
18-
* <ahref="#createevent">CreateEvent</a>
19-
* <ahref="#deleteevent">DeleteEvent</a>
20-
* <ahref="#downloadevent">DownloadEvent</a>
21-
* <ahref="#followevent">FollowEvent</a>
22-
* <ahref="#forkevent">ForkEvent</a>
23-
* <ahref="#forkapplyevent">ForkApplyEvent</a>
24-
* <ahref="#gistevent">GistEvent</a>
25-
* <ahref="#gollumevent">GollumEvent</a>
26-
* <ahref="#issuecommentevent">IssueCommentEvent</a>
27-
* <ahref="#issuesevent">IssuesEvent</a>
28-
* <ahref="#memberevent">MemberEvent</a>
29-
* <ahref="#publicevent">PublicEvent</a>
30-
* <ahref="#pullrequestevent">PullRequestEvent</a>
31-
* <ahref="#pullrequestreviewcommentevent">PullRequestReviewCommentEvent</a>
32-
* <ahref="#pushevent">PushEvent</a>
33-
* <ahref="#teamaddevent">TeamAddEvent</a>
34-
* <ahref="#watchevent">WatchEvent</a>
17+
* TOC
18+
{:toc}
3519

3620
##CommitCommentEvent
3721

‎content/v3/gists.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Gists | GitHub API
44

55
#Gists API
66

7+
* TOC
8+
{:toc}
9+
710
##Authentication
811

912
You can read public gists and create them for anonymous users without a token; however, to read or write gists on a user's behalf the**gist**[oAuth scope][1] is required.

‎content/v3/gists/comments.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Gist Comments | GitHub API
44

55
#Gist Comments API
66

7+
* TOC
8+
{:toc}
9+
710
Gist Comments leverage[these](#custom-mime-types) custom mime types.
811
You can read more about the use of mime types in the API
912
[here](/v3/mime/).

‎content/v3/git/blobs.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Git Blobs | GitHub API
44

55
#Blobs API
66

7+
* TOC
8+
{:toc}
9+
710
Since blobs can be any arbitrary binary data, the input and responses
811
for the blob API takes an encoding parameter that can be either`utf-8`
912
or`base64`. If your data cannot be losslessly sent as a UTF-8 string,

‎content/v3/git/commits.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Git Commits | GitHub API
44

55
#Commits API
66

7+
* TOC
8+
{:toc}
9+
710
##Get a Commit
811

912
GET /repos/:user/:repo/git/commits/:sha

‎content/v3/git/refs.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Git Refs | GitHub API
44

55
#References API
66

7+
* TOC
8+
{:toc}
9+
710
##Get a Reference
811

912
GET /repos/:user/:repo/git/refs/:ref

‎content/v3/git/tags.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ title: Git Tags | GitHub API
44

55
#Tags API
66

7+
* TOC
8+
{:toc}
9+
710
This tags API only deals with tag objects - so only annotated tags, not
811
lightweight tags.
912

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp