Skip to content

Commit 0e4a630

Browse files
committed
Major update, new styles, added user api docs.
- Styles redone through-out - User api documented - A few new deprecation warnings - Add issue comments into nav - Lots of other misc cleanup and fixes
1 parent 75e41c7 commit 0e4a630

43 files changed

Lines changed: 6332 additions & 1426 deletions

Some content is hidden

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

css/styles.css

Lines changed: 414 additions & 46 deletions
Large diffs are not rendered by default.

images/background-v2.png

199 Bytes
Loading

images/background-white.png

1.73 KB
Loading

images/logo.png

-549 Bytes
Loading

images/nav-rule.png

120 Bytes
Loading

index.html

Lines changed: 76 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,32 @@
88
<title>developer.github.com</title>
99
<link href="/css/reset.css" rel="stylesheet" type="text/css" />
1010
<link href="/css/960.css" rel="stylesheet" type="text/css" />
11-
<link href="/css/styles.css" rel="stylesheet" type="text/css" />
12-
<link href="/css/pygments.css" rel="stylesheet" type="text/css" />
1311
<link href="/css/uv_active4d.css" rel="stylesheet" type="text/css" />
12+
<link href="/shared/css/documentation.css" media="screen" rel="stylesheet" type="text/css">
13+
<link href="/shared/css/pygments.css" media="screen" rel="stylesheet" type="text/css">
14+
<script src="/shared/js/jquery.js" type="text/javascript"></script>
15+
<script src="/shared/js/documentation.js" type="text/javascript"></script>
1416
</head>
1517
<body>
18+
<div id="not-footer">
1619

17-
<div id="header-wrapper">
18-
<div class="container_12" id="header">
19-
<div class="grid_12">
20-
<div class="logo">
21-
<a href="/"><img src="/images/logo.png" /></a>
22-
</div>
23-
<ul class="nav">
24-
<li><a href="/v3/">API v3</a></li>
25-
<li><a href="http://develop.github.com">API v2</a></li>
26-
<li><a
27-
href="http://support.github.com/discussions/api">Support</a></li>
28-
</ul>
29-
</div><!-- .grid_12 -->
30-
</div><!-- #header -->
31-
</div><!-- #header-wrapper -->
20+
<div id="header-wrapper">
21+
<div id="header">
22+
<div>
23+
<a class="logo" href="/"><img src="/images/logo.png" /></a>
24+
<ul class="nav">
25+
<li><a href="/v3/">API v3</a></li>
26+
<li><a href="http://develop.github.com">API v2</a></li>
27+
<li><a
28+
href="http://support.github.com/discussions/api">Support</a></li>
29+
</ul>
30+
</div>
31+
</div><!-- #header -->
32+
</div><!-- #header-wrapper -->
3233

33-
<div class="container_12" id="wrapper">
34-
<div class="grid_9 suffix_1" id="content">
35-
<h1 id="developergithubcom">developer.github.com</h1>
34+
<div id="wrapper">
35+
<div class="content">
36+
<h1 id="developergithubcom">developer.github.com</h1>
3637

3738
<p>This describes the Resources that make up the official GitHub API v3.
3839
You can look at the <a href="http://develop.github.com/">API v2</a> to access
@@ -48,8 +49,10 @@ <h1 id="developergithubcom">developer.github.com</h1>
4849
<h2 id="breaking-beta-changes">Breaking BETA Changes</h2>
4950

5051
<p>We’re making some small tweaks to the API during the BETA phase. Old
51-
behavior is still supported, but due to be removed by June 1. Please be
52-
sure to update your app in time.</p>
52+
behavior will be supported until the dates listed below. Please be sure
53+
to update your app in time.</p>
54+
55+
<h3 id="behavior-due-to-be-remove-by-june-1st">Behavior due to be remove by June 1st:</h3>
5356

5457
<ul>
5558
<li>Update requests used to accept the PUT verb. Now POST or PATCH should
@@ -59,36 +62,63 @@ <h2 id="breaking-beta-changes">Breaking BETA Changes</h2>
5962
<li>Pagination info is returned in the Link header. Stop using the X-Next
6063
or X-Last headers.</li>
6164
<li>JSON-P response has completely changed to a more consistent format.</li>
62-
</ul>
63-
</div>
64-
65-
<div class="grid_2" id="sidebar">
65+
<li>Starring gists now uses PUT verb (instead of POST) and returns 204.</li>
66+
</ul><h3 id="behavior-due-to-be-removed-by-june-15th">Behavior due to be removed by June 15th:</h3>
6667

6768
<ul>
68-
<li><a href="/v3/">Summary</a></li>
69-
<li>
70-
<a href="/v3/issues/">Issues</a>
71-
<ul>
72-
<li><a href="/v3/issues/comments/">Comments</a></li>
73-
<li><a href="/v3/issues/labels/">Labels</a></li>
74-
<li><a href="/v3/issues/milestones/">Milestones</a></li>
75-
<li><a href="/v3/issues/events/">Events</a></li>
76-
</ul>
77-
</li>
78-
<li>
79-
<a href="/v3/gists/">Gists</a>
80-
<ul>
81-
<li><a href="/v3/gists/comments/">Comments</a></li>
82-
</ul>
83-
</li>
69+
<li>gravatar_url is being deprecated in favor of avatar_url for all
70+
responses that include users or orgs. A default size is no longer
71+
included in the url.</li>
72+
<li>creating new gists (both anonymously and with an authenticated user)
73+
should use <code>POST /gists</code> from now on. <code>POST /users/:user/gists</code> will
74+
be deprecated.</li>
8475
</ul>
76+
</div>
77+
78+
<div class="sidebar-shell">
79+
<div class="sidebar-module">
80+
<ul>
81+
<li>
82+
<h3><a href="/v3/">Summary</a></h3>
83+
<span class="spacer"></span>
84+
</li>
85+
<li>
86+
<h3><a href="/v3/issues/">Issues</a></h3>
87+
<ul>
88+
<li><a href="/v3/issues/comments/">Comments</a></li>
89+
<li><a href="/v3/issues/events/">Events</a></li>
90+
<li><a href="/v3/issues/labels/">Labels</a></li>
91+
<li><a href="/v3/issues/milestones/">Milestones</a></li>
92+
</ul>
93+
</li>
94+
<li>
95+
<h3><a href="/v3/gists/">Gists</a></h3>
96+
<ul>
97+
<li><a href="/v3/gists/comments/">Comments</a></li>
98+
</ul>
99+
</li>
100+
<li>
101+
<h3><a href="/v3/users/">Users</a></h3>
102+
<ul>
103+
<li><a href="/v3/users/emails/">Emails</a></li>
104+
<li><a href="/v3/users/followers/">Followers</a></li>
105+
<li><a href="/v3/users/keys/">Keys</a></li>
106+
</ul>
107+
</li>
108+
</ul>
109+
</div> <!-- /sidebar-module -->
110+
<div class="sidebar-module">
111+
<p>This website is <a href="http://github.com/github/developer.github.com" target="_blank">open source</a>. Please help us by forking the project and adding to it.</p>
112+
</div>
113+
</div><!-- /sidebar-shell -->
114+
115+
</div><!-- #wrapper -->
85116

86-
</div><!-- #sidebar -->
87-
</div><!-- #wrapper -->
117+
</div><!-- /not-footer -->
88118

89119
<div id="footer-wrapper">
90120
<div id="footer" class="container_12">
91-
<div class="grid_6 suffix_1" id="bottom-nav">
121+
<div id="bottom-nav">
92122
<ul class="nav">
93123
<li><a href="https://github.com/blog">Blog</a></li>
94124
<li><a href="http://support.github.com">Support</a></li>
@@ -104,7 +134,7 @@ <h2 id="breaking-beta-changes">Breaking BETA Changes</h2>
104134
<li><a href="http://help.github.com/privacy/">Privacy Policy</a></li>
105135
</ul>
106136
</div>
107-
<div class="grid_5" id="bottom-notice">
137+
<div id="bottom-notice">
108138
<p class="rackspace">Powered by the <a href="http://rackspace.com" target="_blank">Dedicated Servers</a> and <a href="http://rackspacecloud.com" target="_blank">Cloud Computing</a> of Rackspace Hosting&reg;</p>
109139
</div>
110140
</div><!-- #footer -->

0 commit comments

Comments
 (0)