mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Add API rules link and revamp the docs introduction.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 <a href="/code">open source</a>. Found a mistake or interested in helping us improve? Have a gander at <a href="${thing.api_source_url}">api.py</a> and send us a pull request.</p>
|
||||
<p><strong>Please take care to respect our <a href="https://github.com/reddit/reddit/wiki/API">API access rules</a>.</strong></p>
|
||||
</div>
|
||||
|
||||
<div class="section methods">
|
||||
|
||||
Reference in New Issue
Block a user