Commits

Sean Wilkinson committed 99b9ef5

Updated the README and project page

Comments (0)

Files changed (3)

 
 [Quanah](http://wilkinson.github.com/quanah) is a JavaScript library for
 writing concurrent programs in JavaScript that still run correctly in serial
-execution environments. [QMachine](http://qmachine.org), for example, uses
+execution environments. [QMachine](http://qmachine.org/), for example, uses
 Quanah to implement a web service that acts as a "supercomputer" for running
 scientific computations using only web browsers and
 [CouchDB](http://couchdb.apache.org/). I am currently writing several papers
 about Quanah and applications that use it, but I promise I will write more
 documentation soon!
 
+A [Node.js](http://nodejs.org/) module can be installed via
+[NPM](https://npmjs.org/package/quanah).
+
 There are several "mirrors" available on
 [Bitbucket](https://bitbucket.org/wilkinson/quanah),
 [GitHub](https://github.com/wilkinson/quanah), and
 <!DOCTYPE html>
 <!--
     index.html ~~
-                                                        ~~ (c) SRW, 28 Jul 2012
+                                                        ~~ (c) SRW, 18 Aug 2012
 -->
 <html lang="en">
   <head>
     <meta charset="utf-8"/>
     <meta name="author" content="Sean Wilkinson"/>
-    <title>Quanah: Description</title>
-    <base href="http://wilkinson.github.com/quanah/" target="_blank">
+    <title>Project Description: Quanah</title>
     <link rel="stylesheet" href="./print.css" media="print"/>
     <link rel="stylesheet" href="./screen.css" media="screen"/>
     <link rel="shortcut icon" href="./favicon.ico"/>
   </head>
   <body>
     <noscript>This page requires JavaScript.</noscript>
-    <h1>Quanah</h1>
     <a id="github_ribbon" href="https://github.com/wilkinson/quanah">
       <span>Fork me on GitHub!</span>
     </a>
-    <div>
-      Quanah is a JavaScript library for writing concurrent programs in
-      JavaScript that still run correctly in serial execution environments.
-      <a href="http://qmachine.org">Q Machine</a>, for example, uses Quanah
-      to implement a web service that acts as a "supercomputer" for running
-      scientific computations using only web browsers and
-      <a href="http://couchdb.apache.org/">CouchDB</a>. I am currently writing
-      several papers about Quanah and some applications that use it, but I
-      promise I will write more documentation soon!
-    </div>
-    <div>
-      There are several mirrors available on
-        <a href="https://bitbucket.org/wilkinson/quanah/">Bitbucket</a>,
-        <a href="https://github.com/wilkinson/quanah">GitHub</a>, and
-        <a href="https://quanah.googlecode.com">Google Code</a>.
-    </div>
-    <script defer src="//quanah.googlecode.com/git/src/quanah.js"></script>
+    <h1>Quanah</h1>
+
+<p><a href="http://wilkinson.github.com/quanah">Quanah</a> is a JavaScript library for
+writing concurrent programs in JavaScript that still run correctly in serial
+execution environments. <a href="http://qmachine.org/">QMachine</a>, for example, uses
+Quanah to implement a web service that acts as a &quot;supercomputer&quot; for running
+scientific computations using only web browsers and
+<a href="http://couchdb.apache.org/">CouchDB</a>. I am currently writing several papers
+about Quanah and applications that use it, but I promise I will write more
+documentation soon!</p>
+
+<p>A <a href="http://nodejs.org/">Node.js</a> module can be installed via
+<a href="https://npmjs.org/package/quanah">NPM</a>.</p>
+
+<p>There are several &quot;mirrors&quot; available on
+<a href="https://bitbucket.org/wilkinson/quanah">Bitbucket</a>,
+<a href="https://github.com/wilkinson/quanah">GitHub</a>, and
+<a href="https://quanah.googlecode.com">Google Code</a>.</p> 
   </body>
-</html>
+</html>
+#-  Ruby source code
+
+#-  render.rb ~~
+#                                                       ~~ (c) SRW, 18 Aug 2012
+
+require "date"
+require "redcarpet"
+
+filename = "index.html"
+
+markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML,
+    :autolink => true, :space_after_headers => true)
+
+today = "%02d %s %4d" % [
+    Time.now.day,
+    Date::ABBR_MONTHNAMES[Time.now.month],
+    Time.now.year
+]
+
+File::open(filename, "w") do |f|
+    content = <<-EOF
+<!DOCTYPE html>
+<!--
+    #{filename} ~~
+                                                        ~~ (c) SRW, #{today}
+-->
+<html lang="en">
+  <head>
+    <meta charset="utf-8"/>
+    <meta name="author" content="Sean Wilkinson"/>
+    <title>Project Description: Quanah</title>
+    <link rel="stylesheet" href="./print.css" media="print"/>
+    <link rel="stylesheet" href="./screen.css" media="screen"/>
+    <link rel="shortcut icon" href="./favicon.ico"/>
+  </head>
+  <body>
+    <noscript>This page requires JavaScript.</noscript>
+    <a id="github_ribbon" href="https://github.com/wilkinson/quanah">
+      <span>Fork me on GitHub!</span>
+    </a>
+    #{markdown.render(IO.read("README.md")).chomp} 
+  </body>
+</html>
+EOF
+f.write(content.chomp)
+end
+
+#-  vim:set syntax=ruby: