| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3f97603 commit 9462678
9 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,7 +26,6 @@ compile '/v3{.*,/**/*}' do | |||
| 26 | 26 | filter :erb | |
| 27 | 27 | filter :html_pipeline, @config[:pipeline_config] | |
| 28 | 28 | filter :enterprise_only_filter | |
| 29 | - filter :not_enterprise_filter | ||
| 30 | 29 | layout(item[:layout] ? "/#{item[:layout]}.*" : '/api.*') | |
| 31 | 30 | end | |
| 32 | 31 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -192,7 +192,7 @@ authenticated user. | |||
| 192 | 192 | ||
| 193 | 193 | ## Add team member | |
| 194 | 194 | ||
| 195 | - {{#not-enterprise}} | ||
| 195 | + {% if page.version == 'dotcom' %} | ||
| 196 | 196 | ||
| 197 | 197 | ### Deprecation notice | |
| 198 | 198 | ||
@@ -208,7 +208,7 @@ instead. It allows you to invite new organization members to your teams. | |||
| 208 | 208 | ||
| 209 | 209 | {{/tip}} | |
| 210 | 210 | ||
| 211 | - {{/not-enterprise}} | ||
| 211 | + {% endif %} | ||
| 212 | 212 | ||
| 213 | 213 | In order to add a user to a team, the authenticated user must have | |
| 214 | 214 | 'admin' permissions to the team or be an owner of the organization that the team | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -234,4 +234,4 @@ use of media types in the API [here](/v3/media/). | |||
| 234 | 234 | ||
| 235 | 235 | <a id="diff-error"> | |
| 236 | 236 | ||
| 237 | - If a diff is corrupt, <span class='not-enterprise'>please contact [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. | ||
| 237 | + 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. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -155,8 +155,8 @@ Users with push access to the repository can delete a release. | |||
| 155 | 155 | ||
| 156 | 156 | This endpoint makes use of [a Hypermedia relation](/v3/#hypermedia) to determine which URL to access. | |
| 157 | 157 | This endpoint is provided by a URI template in [the release's API response](#get-a-single-release). | |
| 158 | - <span class="not-enterprise">You need to use an HTTP client which supports | ||
| 159 | - <a href="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</a> to make calls to this endpoint.</span> | ||
| 158 | + {% if page.version == 'dotcom' %}You need to use an HTTP client which supports | ||
| 159 | + <a href="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</a> to make calls to this endpoint.{% endif %} | ||
| 160 | 160 | ||
| 161 | 161 | The asset data is expected in its raw binary form, rather than JSON. | |
| 162 | 162 | 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. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -135,7 +135,9 @@ Due to the complexity of searching code, there are a few restrictions on how sea | |||
| 135 | 135 | <ul> | |
| 136 | 136 | <li>Only the <em>default branch</em> is considered. In most cases, this will be the <code>master</code> branch.</li> | |
| 137 | 137 | <li>Only files smaller than 384 KB are searchable.</li> | |
| 138 | - <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> | ||
| 138 | + {% if page.version == 'dotcom' %} | ||
| 139 | + <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> | ||
| 140 | + {% endif %} | ||
| 139 | 141 | </ul> | |
| 140 | 142 | ||
| 141 | 143 | ### Parameters | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + contact_support: | ||
| 2 | + {% if page.version == 'dotcom' %} | ||
| 3 | + '[GitHub support](https://github.com/contact)' | ||
| 4 | + {% else %} | ||
| 5 | + 'your GitHub Enterprise site administrator' | ||
| 6 | + {% endif %} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -64,7 +64,9 @@ <h3><a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></ | |||
| 64 | 64 | <h3><a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></a><a href="/v3/orgs/">Organizations</a></h3> | |
| 65 | 65 | <ul class="js-guides"> | |
| 66 | 66 | <li><a href="/v3/orgs/members/">Members</a></li> | |
| 67 | - <li class='not-enterprise'><a href="/v3/orgs/migrations/">Migrations</a></li> | ||
| 67 | + {% if page.version == 'dotcom' %} | ||
| 68 | + <li><a href="/v3/orgs/migrations/">Migrations</a></li> | ||
| 69 | + {% endif %} | ||
| 68 | 70 | <li><a href="/v3/orgs/teams/">Teams</a></li> | |
| 69 | 71 | <li><a href="/v3/orgs/hooks/">Webhooks</a></li> | |
| 70 | 72 | </ul> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,13 @@ versions: | |||
| 19 | 19 | - 2.1 | |
| 20 | 20 | - 2.0 | |
| 21 | 21 | ||
| 22 | + data_variables: | ||
| 23 | + - | ||
| 24 | + scope: | ||
| 25 | + path: "" | ||
| 26 | + values: | ||
| 27 | + version: "dotcom" | ||
| 28 | + | ||
| 22 | 29 | page_variables: | |
| 23 | 30 | - | |
| 24 | 31 | scope: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments