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
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit8807e5f

Browse files
committed
Merge origin/master into internal/master
Fixeshttps://github.com/github/internal-developer.github.com/issues/516
2 parentscaa8ba8 +99fb24e commit8807e5f

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

‎content/v3/issues/comments.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Name | Type | Description
4141
###Response
4242

4343
<%= headers 200 %>
44-
<%= json(:pull_comment) { |h|[h] } %>
44+
<%= json(:issue_comment) { |h|[h] } %>
4545

4646
##Get a single comment
4747

‎content/v3/licenses.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ title: Licenses | GitHub API
1313

1414
The Licenses API is currently available for developers to preview.
1515
During the preview period, the API may change without advance notice.
16-
Please see the[blog post][https://github.com/blog/1964-open-source-license-usage-on-github-com] for full details.
16+
Please see the[blog post](https://github.com/blog/1964-open-source-license-usage-on-github-com) for full details.
1717

1818
To access the API during the preview period, you must provide a custom[media type](/v3/media) in the`Accept` header:
1919

‎content/v3/repos/contents.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Directories and submodules do _not_ support custom media types.
4343
**Note**:
4444

4545
- To get a repository's contents recursively, you can[recursively get the tree](/v3/git/trees/).
46-
- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the[Git Trees API](/v3/git/trees/#get-a-tree)
46+
- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the[Git Trees API](/v3/git/trees/#get-a-tree).
4747
- This API supports files up to 1 megabyte in size.
4848

4949
{{/tip}}

‎script/enterprise-backport‎

100644100755
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66

77
require'tmpdir'
88

9-
VERSION=ARGV[0].dup# like, 11.10.340
10-
11-
BRANCH_NAME="backport-docs-for-#{VERSION}"
12-
13-
Dir.glob('tasks/*.rake').each{ |r|loadr}
14-
159
ifARGV.length !=1
1610
error='''Error: Run the script like this: bundle exec script/enterprise-backport [VERSION]
1711
e.g. bundle exec script/enterprise-cutter 2.0
1812
'''
1913
aborterror
2014
end
2115

16+
VERSION=ARGV[0].dup# like, 11.10.340
17+
18+
BRANCH_NAME="backport-docs-for-#{VERSION}"
19+
20+
Dir.glob('tasks/*.rake').each{ |r|loadr}
21+
2222
setup
2323

2424
temp_dir=Dir.mktmpdir
@@ -31,4 +31,6 @@ begin
3131
`git commit -m "Added enterprise-#{VERSION} backported files"`
3232
ensure
3333
FileUtils.remove_entry_securetemp_dir
34-
end
34+
end
35+
36+
puts"\n\nOkay! Feel free to `git push#{BRANCH_NAME}` if you like."

‎script/enterprise-cutter‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ begin
4141
rewrite_content("enterprise/#{VERSION}")
4242

4343
`rm -rf enterprise/#{VERSION}/enterprise`
44+
`rm -rf enterprise/#{VERSION}/output`
4445
`git add enterprise`
4546
`git commit -m "Added enterprise-#{VERSION} files"`
4647
ensure

‎static/search-index.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@
160160
"title":"Issue Milestones",
161161
"section":"API/Issues"
162162
},
163+
{
164+
"url":"/v3/licenses/",
165+
"title":"Licenses",
166+
"section":"API/"
167+
},
163168
{
164169
"url":"/v3/markdown/",
165170
"title":"Markdown",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp