You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/23 01:02:29 UTC

svn commit: r1580383 - /thrift/cms-site/trunk/content/index.html

Author: joes
Date: Sun Mar 23 00:02:28 2014
New Revision: 1580383

URL: http://svn.apache.org/r1580383
Log:
this is really html and having markdown double-process it is causing issues

Added:
    thrift/cms-site/trunk/content/index.html
      - copied, changed from r1580380, thrift/cms-site/trunk/content/index.md

Copied: thrift/cms-site/trunk/content/index.html (from r1580380, thrift/cms-site/trunk/content/index.md)
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/content/index.html?p2=thrift/cms-site/trunk/content/index.html&p1=thrift/cms-site/trunk/content/index.md&r1=1580380&r2=1580383&rev=1580383&view=diff
==============================================================================
--- thrift/cms-site/trunk/content/index.md (original)
+++ thrift/cms-site/trunk/content/index.html Sun Mar 23 00:02:28 2014
@@ -1,6 +1,6 @@
----
-title: "Home"
----
+{% extends 'default' %}
+{% block title}Home{% endblock %}
+{% block content %}
 <div class="row">
   <div class="span8">
     <p>
@@ -56,11 +56,11 @@ title: "Home"
 </div>
 <hr />
 
-### Example ###
+<h3>Example</h3>
 
-Apache Thrift allows you to define data types and service interfaces in a simple definition file. Taking that file as input, the compiler generates code to be used to easily build RPC clients and servers that communicate seamlessly across programming languages. Instead of writing a load of boilerplate code to serialize and transport your objects and invoke remote methods, you can get right down to business.
+<p>Apache Thrift allows you to define data types and service interfaces in a simple definition file. Taking that file as input, the compiler generates code to be used to easily build RPC clients and servers that communicate seamlessly across programming languages. Instead of writing a load of boilerplate code to serialize and transport your objects and invoke remote methods, you can get right down to business.</p>
 
-The following example is a simple service to store user objects for a web front end.
+<p>The following example is a simple service to store user objects for a web front end.</p>
 
 <div class="tabbable">
   <ul class="nav nav-tabs">
@@ -69,18 +69,15 @@ The following example is a simple servic
     <li><a href="#3" data-toggle="tab">Java Server</a></li>
   </ul>
   <div class="tab-content">
-  <div class="tab-pane active" id="1">
+    <div class="tab-pane active" id="1">
 [snippet:path=tutorial/tutorial.thrift:lang=text:lines=123,145]
-  </div>
-  <div class="tab-pane" id="2">
+    </div>
+    <div class="tab-pane" id="2">
 [snippet:path=tutorial/py/PythonClient.py:lang=python:lines=36,55]
-  </div>
-
-  <div class="tab-pane" id="3">
-
+    </div>
+    <div class="tab-pane" id="3">
 [snippet:path=tutorial/java/src/JavaServer.java:lang=java:lines:65,76]
-
-  </div>
+    </div>
   </div>
 </div>
-
+{% endblock %}