Skip to content
Browse files

generalized version by adding currentVersion to config.py

  • Loading branch information...
1 parent 53a2168 commit fc507f0b598d10bd789b4b99a745e2f930c77752 @kylemcdonald kylemcdonald committed
Showing with 19 additions and 21 deletions.
  1. +1 −1 _config.py
  2. +17 −19 download/index.html.mako
  3. +1 −1 index.html.mako
View
2 _config.py
@@ -58,4 +58,4 @@
tutorials = controllers.documentation
tutorials.path = 'tutorials'
-
+currentVersion = '0071'
View
36 download/index.html.mako
@@ -2,15 +2,15 @@
<h1>download</h1>
<div id="download-latest-header">
- <h2>0071</h2>
- <p><strong>is the most recent release. It has a lot of new features, new interfaces, and probably some new bugs too. 0071 is not 100% compatible with older 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>
+ <h2>${bf.config.currentVersion}</h2>
+ <p><strong>is the most recent release. It has a lot of new features, new interfaces, and probably some new bugs too. ${bf.config.currentVersion} is not 100% compatible with older 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>
<p>To use openFrameworks you will need an IDE, and the setup guide for your platform can walk you through this. Please post any bugs on the <a href="http://github.com/openframeworks/openFrameworks/issues">issues</a> page, and post to the <a href="http://forum.openframeworks.cc">forum</a> if you have any other questions. openFrameworks is distributed under the <a href="../about/license.html">MIT License</a>.</p>
</div>
<div id="download-latest-platform">
<h2>osx</h2>
<h3>download</h3>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_0071_osx_release.zip">xcode</a></p><br/>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_${bf.config.currentVersion}_osx_release.zip">xcode</a></p><br/>
<h3>setup guide</h3>
<p><a href="../setup/xcode">xcode</a></p>
</div>
@@ -18,8 +18,8 @@
<div id="download-latest-platform">
<h2>linux</h2>
<h3>download</h3>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_v0071_linux_release.tar.gz">code::blocks</a></p>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_v0071_linux64_release.tar.gz">code::blocks (64 bit)</a></p><br/>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_linux_release.tar.gz">code::blocks</a></p>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_linux64_release.tar.gz">code::blocks (64 bit)</a></p><br/>
<h3>setup guide</h3>
<p><a href="../setup/linux-codeblocks">code::blocks</a></p>
</div>
@@ -27,8 +27,8 @@
<div id="download-latest-platform">
<h2>windows</h2>
<h3>download</h3>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_v0071_win_cb_release.zip">code::blocks</a></p>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_v0071_vs2010_release.zip">visual studio 2010</a></p><br/>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_win_cb_release.zip">code::blocks</a></p>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_vs2010_release.zip">visual studio 2010</a></p><br/>
<h3>setup guides</h3>
<p><a href="../setup/codeblocks">code::blocks</a></p>
<!--<p><a href="../setup/vs-2008">visual studio 2008</a></p>-->
@@ -39,7 +39,7 @@
<h2>ios</h2>
<p><em>osx only</em></p><br/>
<h3>download</h3>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_0071_iOS_release.zip">ios</a></p><br/>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_${bf.config.currentVersion}_iOS_release.zip">ios</a></p><br/>
<h3>setup guide</h3>
<p><a href="../setup/iphone">ios</a></p>
</div>
@@ -48,21 +48,19 @@
<h2>android</h2>
<p><em>linux + osx only</em></p><br/>
<h3>download</h3>
- <p><a href="http://www.openframeworks.cc/versions/v0.071/of_v0071_android_release.tar.gz">eclipse</a></p><br/>
+ <p><a href="http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_android_release.tar.gz">eclipse</a></p><br/>
<h3>setup guide</h3>
<p><a href="../setup/android-eclipse">eclipse</a></p>
</div>
<br class="clearboth"/>
-We release openFrameworks as an uncompiled library. This means that when you download and unzip openFrameworks, you will see the following folders: `addons/`, `apps/`, `libs/`, and a few more. These folders contain openFrameworks completely, so if you want to keep multiple versions of openFrameworks on your computer you should just create multiple folders. For example, one `openFrameworks007/` folder and one `openFrameworks0071/` folder, each with their own `apps/` folder. Even when new versions of openFrameworks are released, your old apps will still compile with old versions of openFrameworks.
+We release openFrameworks as an uncompiled library. This means that when you download and unzip openFrameworks, you will see the following folders: `addons/`, `apps/`, `libs/`, and a few more. These folders contain openFrameworks completely, so if you want to keep multiple versions of openFrameworks on your computer you should just create multiple folders. For example, one `openFrameworks007/` folder and one `openFrameworks${bf.config.currentVersion}/` folder, each with their own `apps/` folder. Even when new versions of openFrameworks are released, your old apps will still compile with old versions of openFrameworks.
`apps/examples/` is a great place to start. Inside `apps/examples/` you'll find a variety of examples that show what is possible with openFrameworks. They demonstrate font loading, graphics, audio input and output, sound file playback and FFT analysis, video grabbing, movie playing, image loading and saving, event handling and serial communication. For more examples, see `apps/addonsExamples/`.
<br />
-*Some new examples with the 0071 release: point picker, game events, quaternion placement, points as textures:*
-
<div id="myslides">
<img src="0071_0.png" />
<img src="0071_1.png" />
@@ -86,12 +84,12 @@ Older releases of openFrameworks are archived [here](older.html). For the absolu
[0]: http://forum.openframeworks.cc
[1]: http://github.com/openframeworks/openFrameworks/issues
-[2]: http://www.openframeworks.cc/versions/v0.071/of_v0071_win_cb_release.zip
-[3]: http://www.openframeworks.cc/versions/v0.071/of_v0071_vs2010_release.zip
-[4]: http://www.openframeworks.cc/versions/v0.071/of_0071_osx_release.zip
-[5]: http://www.openframeworks.cc/versions/v0.071/of_v0071_linux_release.tar.gz
-[6]: http://www.openframeworks.cc/versions/v0.071/of_v0071_linux64_release.tar.gz
-[7]: http://www.openframeworks.cc/versions/v0.071/of_0071_iOS_release.zip
-[8]: http://www.openframeworks.cc/versions/v0.071/of_v0071_android_release.tar.gz
+[2]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_win_cb_release.zip
+[3]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_vs2010_release.zip
+[4]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_${bf.config.currentVersion}_osx_release.zip
+[5]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_linux_release.tar.gz
+[6]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_linux64_release.tar.gz
+[7]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_${bf.config.currentVersion}_iOS_release.zip
+[8]: http://www.openframeworks.cc/versions/v${bf.config.currentVersion}/of_v${bf.config.currentVersion}_android_release.tar.gz
[9]: ../license
[10]: http://openframeworks.cc/setup
View
2 index.html.mako
@@ -12,7 +12,7 @@
<h2>openFrameworks is an open source C++ toolkit for creative coding.</h2>
<h3><a href="download/">download</a></h3>
- <p>Grab the most recent release (0071) and follow the setup guide to get openFrameworks running.</p>
+ <p>Grab the most recent release (${bf.config.currentVersion}) and follow the setup guide to get openFrameworks running.</p>
<h3><a href="documentation/">documentation</a></h3>
<p>Reference for openFrameworks classes, functions and addons. For guides and tutorials, see the <a href="http://wiki.openframeworks.cc/">wiki</a>.</p>

0 comments on commit fc507f0

Please sign in to comment.
Something went wrong with that request. Please try again.