Flesh out downloads page (fixes #450)
authorDan Vanderkam <danvdk@gmail.com>
Wed, 19 Nov 2014 04:18:46 +0000 (23:18 -0500)
committerDan Vanderkam <danvdk@gmail.com>
Wed, 19 Nov 2014 04:18:46 +0000 (23:18 -0500)
generate-download.py

index a6157d6..75108fa 100755 (executable)
@@ -49,6 +49,20 @@ print '''
 %(current_html)s
 </div>
 
+<p>You can also source a hosted version of dygraphs from <a href="https://cdnjs.com/libraries/dygraph">cdnjs.com</a>:</p>
+
+<pre>&lt;script src="//cdnjs.cloudflare.com/ajax/libs/dygraph/%(version)s/dygraph-combined.js"&gt;&lt;/script&gt;</pre>
+
+<p>You can also find dygraphs on <a href="https://www.npmjs.org/package/dygraphs">NPM</a> and <a href="http://bower.io/search/?q=dygraphs">Bower</a>.</p>
+
+<p>To install using NPM:</p>
+<pre>$ npm install dygraphs
+# dygraphs is now in node_modules/dygraphs/dygraph-combined.js</pre>
+
+<p>To install using bower:</p>
+<pre>$ bower install dygraphs
+# dygraphs is now in bower_components/dygraphs/dygraph-combined.js</pre>
+
 <p>For dev (non-minified) JS, see <a href="https://github.com/danvk/dygraphs/blob/master/dygraph-dev.js">dygraph-dev.js</a> on <a href="https://github.com/danvk/dygraphs/">github</a>.</a>
 
 <p>To generate your own minified JS, run:</p>