Skip to content
Browse files

Add API rules link and revamp the docs introduction.

  • Loading branch information...
1 parent 1462cd3 commit b391fd5dd59354da4f705c3d708cdc72162b1a9d @chromakode chromakode committed Mar 26, 2012
Showing with 11 additions and 3 deletions.
  1. +9 −1 r2/r2/public/static/css/reddit.css
  2. +2 −2 r2/r2/templates/apihelp.html
View
10 r2/r2/public/static/css/reddit.css
@@ -5190,10 +5190,18 @@ tr.gold-accent + tr > td {
position: relative;
border: 2px solid #ccc;
border-radius: 12px;
- padding: 14px;
margin-bottom: -1em;
}
+.api-help .contents .introduction p {
+ margin: 1em 14px;
+}
+
+.api-help .contents .introduction strong {
+ color: #222;
+ font-weight: bold;
+}
+
.api-help .introduction:before,
.api-help .introduction:after {
position: absolute;
View
4 r2/r2/templates/apihelp.html
@@ -41,9 +41,9 @@
<div class="contents">
<div class="section introduction">
- <p>This is automatically-generated documentation for the reddit API. It's gathered from docstrings and annotations in the code.</p>
- <br/>
+ <p>This is automatically-generated documentation for the reddit API.</p>
<p>The reddit API and code are&#32;<a href="/code">open source</a>. Found a mistake or interested in helping us improve? Have a gander at&#32;<a href="${thing.api_source_url}">api.py</a>&#32;and send us a pull request.</p>
+ <p><strong>Please take care to respect our&#32;<a href="https://github.com/reddit/reddit/wiki/API">API access rules</a>.</strong></p>
</div>
<div class="section methods">

0 comments on commit b391fd5

Please sign in to comment.
Something went wrong with that request. Please try again.