You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/07/06 16:41:00 UTC

svn commit: r1689414 - in /qpid/site: docs/proton/development.html docs/proton/go/index.html input/proton/development.md input/proton/go/index.md python/transom.py

Author: aconway
Date: Mon Jul  6 14:40:59 2015
New Revision: 1689414

URL: http://svn.apache.org/r1689414
Log:
Add Go/C++ binding to development page, fix transom bug (copying .md.head files)

Modified:
    qpid/site/docs/proton/development.html
    qpid/site/docs/proton/go/index.html
    qpid/site/input/proton/development.md
    qpid/site/input/proton/go/index.md
    qpid/site/python/transom.py

Modified: qpid/site/docs/proton/development.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/proton/development.html?rev=1689414&r1=1689413&r2=1689414&view=diff
==============================================================================
--- qpid/site/docs/proton/development.html (original)
+++ qpid/site/docs/proton/development.html Mon Jul  6 14:40:59 2015
@@ -126,6 +126,11 @@
 </ul></li>
 <li>Improved installs for bindings (pypi, gems, etc.)</li>
 <li>Web sockets</li>
+<li>New language bindings
+<ul>
+<li>C++</li>
+<li>Go <a href="https://github.com/apache/qpid-proton/blob/go1/proton-c/bindings/go/README.md">(see development page)</a></li>
+</ul></li>
 </ul>
 
 

Modified: qpid/site/docs/proton/go/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/proton/go/index.html?rev=1689414&r1=1689413&r2=1689414&view=diff
==============================================================================
--- qpid/site/docs/proton/go/index.html (original)
+++ qpid/site/docs/proton/go/index.html Mon Jul  6 14:40:59 2015
@@ -21,7 +21,7 @@
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
   <head>
-    <title>Go away - Apache Qpid&#8482;</title>
+    <title>Go binding for proton - Apache Qpid&#8482;</title>
     <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
     <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
     <link rel="stylesheet" href="/site.css" type="text/css" async="async"/>
@@ -108,10 +108,10 @@
       </div>
 
       <div id="-middle" class="panel">
-        <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/proton/index.html">Qpid Proton</a></li><li>Go away</li></ul>
-        <h1 id="go-away">Go away</h1>
+        <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/proton/index.html">Qpid Proton</a></li><li>Go binding for proton</li></ul>
+        <h1 id="go-binding-for-proton">Go binding for proton</h1>
 
-<p>This is not a web page, it is a package stub for the <code>go get</code> command.</p>
+<p>There is a Go language binding for Proton under development, <a href="https://github.com/apache/qpid-proton/blob/go1/proton-c/bindings/go/README.md">find out more</a>.</p>
 
 
         <hr/>

Modified: qpid/site/input/proton/development.md
URL: http://svn.apache.org/viewvc/qpid/site/input/proton/development.md?rev=1689414&r1=1689413&r2=1689414&view=diff
==============================================================================
--- qpid/site/input/proton/development.md (original)
+++ qpid/site/input/proton/development.md Mon Jul  6 14:40:59 2015
@@ -33,3 +33,7 @@
    + embedded platform improvements
  - Improved installs for bindings (pypi, gems, etc.)
  - Web sockets
+ - New language bindings
+   + C++
+   + Go [(see development page)](https://github.com/apache/qpid-proton/blob/go1/proton-c/bindings/go/README.md)
+

Modified: qpid/site/input/proton/go/index.md
URL: http://svn.apache.org/viewvc/qpid/site/input/proton/go/index.md?rev=1689414&r1=1689413&r2=1689414&view=diff
==============================================================================
--- qpid/site/input/proton/go/index.md (original)
+++ qpid/site/input/proton/go/index.md Mon Jul  6 14:40:59 2015
@@ -1,3 +1,5 @@
-# Go away
+# Go binding for proton
+
+There is a Go language binding for Proton under development, [find out more](https://github.com/apache/qpid-proton/blob/go1/proton-c/bindings/go/README.md).
+
 
-This is not a web page, it is a package stub for the `go get` command.

Modified: qpid/site/python/transom.py
URL: http://svn.apache.org/viewvc/qpid/site/python/transom.py?rev=1689414&r1=1689413&r2=1689414&view=diff
==============================================================================
--- qpid/site/python/transom.py (original)
+++ qpid/site/python/transom.py Mon Jul  6 14:40:59 2015
@@ -53,6 +53,8 @@ except:
 _title_regex = _re.compile(r"<([hH][12]).*?>(.*?)</\1>")
 _tag_regex = _re.compile(r"<.+?>")
 _page_extensions = ".md", ".html.in", ".html", ".css", ".jss"
+# Extensions for files that are neither pages nor resources and should be skipped.
+_skip_extensions = ".md.head"   # <head> section tags for markdown pages.
 _buffer_size = 128 * 1024
 
 class Site(object):
@@ -265,7 +267,8 @@ class Site(object):
         for name in sorted(names):
             path = _os.path.join(dir, name)
 
-            if path in (self.config_path, self.template_path):
+            if path in (self.config_path, self.template_path) or \
+               filter(lambda ext: path.endswith(ext), _skip_extensions):
                 continue
 
             if _os.path.isfile(path):



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org