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.

Sync changes from upstream repository#926

Merged
hubot merged 1 commit intomasterfromupdate-1449790735
Dec 10, 2015
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletionRules
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,7 +26,6 @@ compile '/v3{.*,/**/*}' do
filter :erb
filter :html_pipeline, @config[:pipeline_config]
filter :enterprise_only_filter
filter :not_enterprise_filter
layout(item[:layout] ? "/#{item[:layout]}.*" : '/api.*')
end

Expand Down
4 changes: 2 additions & 2 deletionscontent/v3/orgs/teams.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -192,7 +192,7 @@ authenticated user.

## Add team member

{{#not-enterprise}}
{% if page.version == 'dotcom' %}

### Deprecation notice

Expand All@@ -208,7 +208,7 @@ instead. It allows you to invite new organization members to your teams.

{{/tip}}

{{/not-enterprise}}
{% endif %}

In order to add a user to a team, the authenticated user must have
'admin' permissions to the team or be an owner of the organization that the team
Expand Down
2 changes: 1 addition & 1 deletioncontent/v3/pulls.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -234,4 +234,4 @@ use of media types in the API [here](/v3/media/).

<a id="diff-error">

If a diff is corrupt,<span class='not-enterprise'>pleasecontact[GitHub Support](https://www.github.com/contact)</span><span class='enterprise-only'>contact your site administrator</span> to receive help. Be sure to include the repository name and pull request ID.
If a diff is corrupt, contact{{ site.data.variables.contact.contact_support }} to receive help. Be sure to include the repository name and pull request ID.
4 changes: 2 additions & 2 deletionscontent/v3/repos/releases.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -155,8 +155,8 @@ Users with push access to the repository can delete a release.

This endpoint makes use of [a Hypermedia relation](/v3/#hypermedia) to determine which URL to access.
This endpoint is provided by a URI template in [the release's API response](#get-a-single-release).
<span class="not-enterprise">You need to use an HTTP client which supports
<a href="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</a> to make calls to this endpoint.</span>
{% if page.version == 'dotcom' %}You need to use an HTTP client which supports
<a href="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</a> to make calls to this endpoint.{% endif %}

The asset data is expected in its raw binary form, rather than JSON.
Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.
Expand Down
4 changes: 3 additions & 1 deletioncontent/v3/search.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -135,7 +135,9 @@ Due to the complexity of searching code, there are a few restrictions on how sea
<ul>
<li>Only the <em>default branch</em> is considered. In most cases, this will be the <code>master</code> branch.</li>
<li>Only files smaller than 384 KB are searchable.</li>
<li class='not-enterprise'> You must always include at least one search term when searching source code. For example, searching for <a href="https://github.com/search?utf8=✓&q=language%3Ago&type=Code"><code>language:go</code></a> is not valid, while <a href="https://github.com/search?utf8=✓&q=amazing+language%3Ago&type=Code"><code>amazing language:go</code></a> is.</li>
{% if page.version == 'dotcom' %}
<li>You must always include at least one search term when searching source code. For example, searching for <a href="https://github.com/search?utf8=✓&q=language%3Ago&type=Code"><code>language:go</code></a> is not valid, while <a href="https://github.com/search?utf8=✓&q=amazing+language%3Ago&type=Code"><code>amazing language:go</code></a> is.</li>
{% endif %}
</ul>

### Parameters
Expand Down
6 changes: 6 additions & 0 deletionsdata/variables/contact.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
contact_support:
{% if page.version == 'dotcom' %}
'[GitHub support](https://github.com/contact)'
{% else %}
'your GitHub Enterprise site administrator'
{% endif %}
4 changes: 3 additions & 1 deletionlayouts/sidebar.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,7 +64,9 @@ <h3><a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></
<h3><a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></a><a href="/v3/orgs/">Organizations</a></h3>
<ul class="js-guides">
<li><a href="/v3/orgs/members/">Members</a></li>
<li class='not-enterprise'><a href="/v3/orgs/migrations/">Migrations</a></li>
{% if page.version == 'dotcom' %}
<li><a href="/v3/orgs/migrations/">Migrations</a></li>
{% endif %}
<li><a href="/v3/orgs/teams/">Teams</a></li>
<li><a href="/v3/orgs/hooks/">Webhooks</a></li>
</ul>
Expand Down
19 changes: 0 additions & 19 deletionslib/not-enterprise.rb
View file
Open in desktop

This file was deleted.

7 changes: 7 additions & 0 deletionsnanoc.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,6 +19,13 @@ versions:
- 2.1
- 2.0

data_variables:
-
scope:
path: ""
values:
version: "dotcom"

page_variables:
-
scope:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp