Browse files

Added api blurb to home page.

  • Loading branch information...
1 parent 4de2fcc commit 8bae00dc87e6d4e342cec2473eebc24ab591ca50 @zk zk committed Oct 20, 2010
Showing with 22 additions and 3 deletions.
  1. +13 −0 app/views/main/index.html.erb
  2. +9 −3 public/stylesheets/main.css
@@ -66,6 +66,19 @@
+ <div class="api_integration">
+ <h2>API Integration</h2>
+ <p>ClojureDocs provides a simple <a href="">API</a> for you to use to develop applications and tools that integrate with the ClojureDocs backend:</p>
+ <ul>
+ <li>Look up <a href="">examples</a>,
+ <a href="">comments</a>,
+ and
+ <a href="">see-alsos</a> by function name.</li>
+ <li>Search for functions by <a href="">name</a> (namespace optional)</li>
+ <li>See a <a href="">list of the versions</a> that ClojureDocs knows about.</li>
+ </ul>
+ <p>The API, as with the rest of the site, is currently in beta. We&apos;ll make every effort to keep these services up and bug-free, but no promises.</p>
+ </div>
<div class="third_party_libs">
<h2>3rd Party Libraries</h2>
<p class="callout">The following libraries were imported as part of alpha work done to explore 3rd party library support for ClojureDocs, and as a result may not be up to date. Take a look at <a href="">this mailing list post</a> for more information on where 3rd party library support fits into the overall ClojureDocs plan.</p>
@@ -607,7 +607,7 @@ fieldset {
-.welcome_message, .contribute {
+.welcome_message, .contribute, .api_integration {
margin-bottom: 40px;
@@ -618,12 +618,18 @@ fieldset {
margin-bottom: 6px;
-.welcome_message ul, .contribute ul {
+.welcome_message ul, .contribute ul, .api_integration ul {
font-size: 12pt;
margin-bottom: 20px;
-.welcome_message p, .contribute p {
+.api_integration ul li{
+ list-style-type: disc;
+ margin-bottom: 10px;
+ margin-left: 30px;
+.welcome_message p, .contribute p, .api_integration p {
font-size: 11pt;
margin-bottom: 10px;

0 comments on commit 8bae00d

Please sign in to comment.