Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit d8b41c1

Browse files
committed
deprecate v2 api
1 parent 13c433c commit d8b41c1

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

_layouts/default.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333

3434
<div id="wrapper">
3535
<div class="content">
36+
<div class="deprecated">
37+
This API is deprecated. Check out <a href="http://developer.github.com/v3/">API v3</a> for the latest documentation.
38+
</div>
3639
{{ content }}
3740
</div>
3841

shared/css/documentation.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ h1 {
2424
font-size: 20px;
2525
border-bottom: 1px solid #cccccc;
2626
padding: .5em 0;
27-
margin: 2em 0 1em;
27+
margin: 1em 0 1em;
2828
}
2929

3030
h1:first-child {
@@ -497,6 +497,11 @@ div.sidebar-module ul ul li span {
497497
box-shadow: 1px 1px 3px #ddd;
498498
}
499499

500+
.content .deprecated {
501+
border: 1px solid #dfdfdf;
502+
font-weight: bold;
503+
padding: 10px;
504+
}
500505

501506
.content .description {
502507
margin-left: 20px;

0 commit comments

Comments
 (0)