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

Commitdaa2208

Browse files
committed
Proper regeneration of 2.1 menu item
1 parentbf916b4 commitdaa2208

File tree

72 files changed

+272
-148
lines changed

Some content is hidden

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

72 files changed

+272
-148
lines changed

‎enterprise/2.1/css/documentation.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ h1 {
2121
font-weight: normal;
2222
}
2323

24+
body:not(.enterprise) .enterprise-only {
25+
display: none;
26+
}
27+
2428
.contenth1 {
2529
font-weight:300;
2630
-webkit-backface-visibility: hidden;

‎enterprise/2.1/guides/building-a-ci-server/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h2 id="writing-your-server">Writing your server</h2>
143143
HTTP header. We’ll only care about the PR events for now. From there, we’ll
144144
take the payload of information, and return the title field. In an ideal scenario,
145145
our server would be concerned with every time a pull request is updated, not just
146-
when it’supdated. That would make sure that every new push passes the CI tests.
146+
when it’sopened. That would make sure that every new push passes the CI tests.
147147
But for this demo, we’ll just worry about when it’s opened.</p>
148148

149149
<p>To test out this proof-of-concept, make some changes in a branch in your test

‎enterprise/2.1/guides/getting-started/index.html‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ <h3 id="oauth">OAuth</h3>
259259
to create an OAuth token. Try pasting and running the following command:</p>
260260

261261
<preclass="terminal">
262-
$ curl -i -u &lt;your_username&gt; -d '{"scopes": ["repo"], "note": "getting-started"}' \
262+
$ curl -i -u &lt;your_username&gt; -d '{"scopes": ["repo", "user"], "note": "getting-started"}' \
263263
https://api.github.com/authorizations
264264

265265
HTTP/1.1 201 Created
@@ -268,7 +268,8 @@ <h3 id="oauth">OAuth</h3>
268268

269269
{
270270
"scopes": [
271-
"repo"
271+
"repo",
272+
"user"
272273
],
273274
"token": "5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4",
274275
"updated_at": "2012-11-14T14:04:24Z",
@@ -293,7 +294,9 @@ <h3 id="oauth">OAuth</h3>
293294
a new token, we include an optional array of<ahref="/enterprise/2.1/v3/oauth/#scopes"><em>scopes</em></a>, or access
294295
levels, that indicate what information this token can access. In this case,
295296
we’re setting up the token with<em>repo</em> access, which grants access to read and
296-
write to private repositories. See<ahref="/enterprise/2.1/v3/oauth/#scopes">the scopes docs</a> for a full list of
297+
write to public and private repositories, and<em>user</em> scope, which grants read
298+
and write access to public and private user profile data. See
299+
<ahref="/enterprise/2.1/v3/oauth/#scopes">the scopes docs</a> for a full list of
297300
scopes. You should<strong>only</strong> request scopes that your application actually needs,
298301
in order to not frighten users with potentially invasive actions. The<code>201</code>
299302
status code tells us that the call was successful, and the JSON returned
@@ -306,7 +309,7 @@ <h3 id="oauth">OAuth</h3>
306309

307310
<preclass="terminal">
308311
$ curl -i -u &lt;your_username&gt; -H "X-GitHub-OTP: &lt;your_2fa_OTP_code&gt;" \
309-
-d '{"scopes": ["repo"], "note": "getting-started"}' \
312+
-d '{"scopes": ["repo", "user"], "note": "getting-started"}' \
310313
https://api.github.com/authorizations
311314
</pre>
312315

‎enterprise/2.1/v3/activity/events/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,14 @@ <h3>
337337
</li>
338338
<liclass="js-topic">
339339
<h3>
340-
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise</a>
340+
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
341341
</h3>
342342
<ulclass="js-guides">
343343
<li><ahref="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
344344
<li><ahref="/enterprise/2.1/v3/enterprise/license/">License</a></li>
345345
<li><ahref="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
346346
<li><ahref="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
347+
<li><ahref="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
347348
</ul>
348349
</li>
349350
</ul>

‎enterprise/2.1/v3/activity/events/types/index.html‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ <h3 id="payload-4">Payload</h3>
797797
</tr>
798798
<tr>
799799
<td><code>deployment</code></td>
800-
<td><code>hash</code></td>
800+
<td><code>object</code></td>
801801
<td>The deployment that this status is associated with.</td>
802802
</tr>
803803
<tr>
@@ -2178,7 +2178,7 @@ <h3 id="payload-14">Payload</h3>
21782178
<span class="s2">"received_events_url"</span><span class="p">:</span> <span class="s2">"https://api.github.com/users/baxterthehacker/received_events"</span><span class="p">,</span>
21792179
<span class="s2">"type"</span><span class="p">:</span> <span class="s2">"User"</span><span class="p">,</span>
21802180
<span class="s2">"site_admin"</span><span class="p">:</span> <span class="kc">false</span>
2181-
<span class="p">}</span>
2181+
<span class="p">},</span>
21822182
<span class="s2">"team"</span><span class="p">:</span> <span class="p">{</span>
21832183
<span class="s2">"name"</span><span class="p">:</span> <span class="s2">"Contractors"</span><span class="p">,</span>
21842184
<span class="s2">"id"</span><span class="p">:</span> <span class="mi">123456</span><span class="p">,</span>
@@ -2197,7 +2197,7 @@ <h3 id="payload-14">Payload</h3>
21972197
<span class="s2">"members_url"</span><span class="p">:</span> <span class="s2">"https://api.github.com/orgs/baxterandthehackers/members{/member}"</span><span class="p">,</span>
21982198
<span class="s2">"public_members_url"</span><span class="p">:</span> <span class="s2">"https://api.github.com/orgs/baxterandthehackers/public_members{/member}"</span><span class="p">,</span>
21992199
<span class="s2">"avatar_url"</span><span class="p">:</span> <span class="s2">"https://avatars.githubusercontent.com/u/7649605?v=2"</span>
2200-
<span class="p">},</span>
2200+
<span class="p">}</span>
22012201
<span class="p">}</span></code></pre>
22022202

22032203
<h2 id="pagebuildevent">PageBuildEvent</h2>
@@ -4698,13 +4698,14 @@ <h3>
46984698
</li>
46994699
<li class="js-topic">
47004700
<h3>
4701-
<a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></a><a href="/enterprise/2.1/v3/enterprise/">Enterprise</a>
4701+
<a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></a><a href="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
47024702
</h3>
47034703
<ul class="js-guides">
47044704
<li><a href="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
47054705
<li><a href="/enterprise/2.1/v3/enterprise/license/">License</a></li>
47064706
<li><a href="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
47074707
<li><a href="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
4708+
<li><a href="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
47084709
</ul>
47094710
</li>
47104711
</ul>

‎enterprise/2.1/v3/activity/feeds/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,14 @@ <h3>
277277
</li>
278278
<liclass="js-topic">
279279
<h3>
280-
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise</a>
280+
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
281281
</h3>
282282
<ulclass="js-guides">
283283
<li><ahref="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
284284
<li><ahref="/enterprise/2.1/v3/enterprise/license/">License</a></li>
285285
<li><ahref="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
286286
<li><ahref="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
287+
<li><ahref="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
287288
</ul>
288289
</li>
289290
</ul>

‎enterprise/2.1/v3/activity/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,14 @@ <h3>
223223
</li>
224224
<liclass="js-topic">
225225
<h3>
226-
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise</a>
226+
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
227227
</h3>
228228
<ulclass="js-guides">
229229
<li><ahref="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
230230
<li><ahref="/enterprise/2.1/v3/enterprise/license/">License</a></li>
231231
<li><ahref="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
232232
<li><ahref="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
233+
<li><ahref="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
233234
</ul>
234235
</li>
235236
</ul>

‎enterprise/2.1/v3/activity/notifications/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,13 +711,14 @@ <h3>
711711
</li>
712712
<liclass="js-topic">
713713
<h3>
714-
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise</a>
714+
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
715715
</h3>
716716
<ulclass="js-guides">
717717
<li><ahref="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
718718
<li><ahref="/enterprise/2.1/v3/enterprise/license/">License</a></li>
719719
<li><ahref="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
720720
<li><ahref="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
721+
<li><ahref="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
721722
</ul>
722723
</li>
723724
</ul>

‎enterprise/2.1/v3/activity/starring/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,13 +476,14 @@ <h3>
476476
</li>
477477
<liclass="js-topic">
478478
<h3>
479-
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise</a>
479+
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
480480
</h3>
481481
<ulclass="js-guides">
482482
<li><ahref="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
483483
<li><ahref="/enterprise/2.1/v3/enterprise/license/">License</a></li>
484484
<li><ahref="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
485485
<li><ahref="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
486+
<li><ahref="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
486487
</ul>
487488
</li>
488489
</ul>

‎enterprise/2.1/v3/activity/watching/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,13 +461,14 @@ <h3>
461461
</li>
462462
<liclass="js-topic">
463463
<h3>
464-
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise</a>
464+
<ahref="#"class="js-expand-btn collapsed arrow-btn"data-proofer-ignore></a><ahref="/enterprise/2.1/v3/enterprise/">Enterprise 2.1</a>
465465
</h3>
466466
<ulclass="js-guides">
467467
<li><ahref="/enterprise/2.1/v3/enterprise/admin_stats/">Admin Stats</a></li>
468468
<li><ahref="/enterprise/2.1/v3/enterprise/license/">License</a></li>
469469
<li><ahref="/enterprise/2.1/v3/enterprise/search_indexing/">Search Indexing</a></li>
470470
<li><ahref="/enterprise/2.1/v3/enterprise/management_console/">Management Console</a></li>
471+
<li><ahref="/enterprise/2.1/v3/enterprise/ldap/">LDAP</a></li>
471472
</ul>
472473
</li>
473474
</ul>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp