Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added api blurb to home page.

  • Loading branch information...
commit 8bae00dc87e6d4e342cec2473eebc24ab591ca50 1 parent 4de2fcc
Zachary Kim authored October 19, 2010
13  app/views/main/index.html.erb
@@ -66,6 +66,19 @@
66 66
 					</li>
67 67
 				</ul>
68 68
 			</div>
  69
+			<div class="api_integration">
  70
+			<h2>API Integration</h2>
  71
+			<p>ClojureDocs provides a simple <a href="http://api.clojuredocs.org">API</a> for you to use to develop applications and tools that integrate with the ClojureDocs backend:</p>
  72
+			<ul>
  73
+			  <li>Look up <a href="http://api.clojuredocs.org/examples/clojure.core/map">examples</a>,
  74
+			  <a href="http://api.clojuredocs.org/comments/clojure.contrib.json/read-json">comments</a>, 
  75
+			  and
  76
+			  <a href="http://api.clojuredocs.org/see-also/clojure.test/are">see-alsos</a> by function name.</li>
  77
+			  <li>Search for functions by <a href="http://api.clojuredocs.org/search/clojure.core/map">name</a> (namespace optional)</li>
  78
+			  <li>See a <a href="http://api.clojuredocs.org/versions/clojure.core/map">list of the versions</a> that ClojureDocs knows about.</li> 
  79
+			</ul>
  80
+			<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>
  81
+			</div>
69 82
 			<div class="third_party_libs">
70 83
 			<h2>3rd Party Libraries</h2>
71 84
 			<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="http://groups.google.com/group/clojuredocsorg/browse_thread/thread/af7edbf85a6607c4">this mailing list post</a> for more information on where 3rd party library support fits into the overall ClojureDocs plan.</p>
12  public/stylesheets/main.css
@@ -607,7 +607,7 @@ fieldset {
607 607
 }
608 608
 
609 609
 
610  
-.welcome_message, .contribute {
  610
+.welcome_message, .contribute, .api_integration {
611 611
 	margin-bottom: 40px;
612 612
 }
613 613
 
@@ -618,12 +618,18 @@ fieldset {
618 618
 	margin-bottom: 6px;
619 619
 }
620 620
 
621  
-.welcome_message ul, .contribute ul {
  621
+.welcome_message ul, .contribute ul, .api_integration ul {
622 622
 	font-size: 12pt;
623 623
 	margin-bottom: 20px;
624 624
 }
625 625
 
626  
-.welcome_message p, .contribute p {
  626
+.api_integration ul li{
  627
+	list-style-type: disc;
  628
+	margin-bottom: 10px;
  629
+	margin-left: 30px;
  630
+}
  631
+
  632
+.welcome_message p, .contribute p, .api_integration p {
627 633
 	font-size: 11pt;
628 634
 	margin-bottom: 10px;
629 635
 }

0 notes on commit 8bae00d

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