Permalink
Browse files

git hash + h1

  • Loading branch information...
1 parent 7af8c54 commit 064100c9a195b1dd149572a16f87e1fd5a3ec51c @arturoc arturoc committed Dec 22, 2011
@@ -11,6 +11,7 @@
${self.header()}
<div id="body-wrap">
<div class="page-wide">
+ <h1>community</h1>
<div class="page-left-split">
<p>This community page is auto generated from the most active members on the OF forum. Please see <a href="https://github.com/openframeworks/ofSite/wiki/community"> this guide</a> for info about how to update your profile. If you'd like to get added to this page, we will add a forum thread in the near future where you can let us know and we'll manually add you.</p>
</div>
@@ -13,6 +13,7 @@
<div class="page-wide">
+ <h1>documentation</h1>
<div class="page-left-split">
<p>This page is the reference for the openFrameworks core and included addons. There are also <a href="http://ofxaddons.com/">contributed addons</a>. The openFrameworks API is constantly evolving: any corrections, additions or comments are very welcome!</p>
<p>You can contribute to this documentation from GitHub by following these <a href="https://github.com/openframeworks/openFrameworks/wiki/Contributing-documentation">instructions.</a>
View
@@ -1,6 +1,6 @@
<p id="credits">
-Last updated ${self.getTime()}
+Last updated ${self.getTime()}&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/openframeworks/ofSite/commit/${self.getLastCommitHash()}">${self.getLastCommitHash()}</a>
<!--br/>RSS feeds for <a href="${bf.util.site_path_helper(bf.config.blog.path,'feed')}">Entries</a-->
@@ -36,5 +36,15 @@ href="http://${bf.config.blog.disqus.name}.disqus.com/latest.rss">Comments</a>.
from time import gmtime, strftime
currentTime = strftime("%A, %d %B %Y %H:%M:%S UTC", gmtime())
%>
- ${currentTime}
+${currentTime}
+</%def>
+
+<%def name="getLastCommitHash()">
+<%
+ import subprocess
+ p1 = subprocess.Popen(["git", "log", "-1"], stdout=subprocess.PIPE)
+ out = p1.communicate()
+ hash = out[0][len("commit "):out[0].find('\n')].strip()
+%>
+${hash}
</%def>
View
@@ -187,7 +187,7 @@ def getclass(clazz):
var.linenum = linenum
var.file = os.path.join(root,name)
- elif state == 'class' and line.find('##Description')==-1:
+ elif state == 'class' and line.find('##Description')==-1 and line!='\n':
documentation_clazz.reference = documentation_clazz.reference + line
linenum = linenum + 1
if state == 'vardescription':
View
@@ -1,5 +1,6 @@
<%inherit file="/_templates/slideshow.mako" />
+<h1>about</h1>
<div id="myslides">
<img src="0.jpg" />
<img src="1.jpg" />
View
@@ -986,7 +986,13 @@ div#github .github_avatar img {
color: #666;
font-size: .8em;
}
+#footer a{
+ color: #666;
+}
+#footer a:hover{
+ color: #fff;
+}
.github_time {
font-size: .8em;
margin-left: 5px;
-}
+}
View
@@ -1,5 +1,6 @@
<%inherit file="/_templates/slideshow.mako" />
+<h1>download</h1>
<div id="download-latest-header">
<h2>007</h2>
<p><strong>is the most recent release. It has a lot of new features, new interfaces, and probably some new bugs too. 007 is not 100% compatible with 0062 projects. Please see the <a href="https://github.com/openframeworks/openFrameworks/blob/develop/changes.txt">changelog</a> to get an overview of the differences between versions.</strong></p>
View
@@ -14,6 +14,7 @@
${self.header()}
<div id="body-wrap">
<div class="page-wide">
+ <h1>gallery</h1>
<h3>Curated by <a href="http://creativeapplications.net">creativeapplications.net</a></h3>
<br/><br/>
<div id="gallery"></div>

0 comments on commit 064100c

Please sign in to comment.