Skip to content

Commit fc7012a

Browse files
committed
Add Shader tutorial to XML for generator
1 parent d1f212f commit fc7012a

3 files changed

Lines changed: 8 additions & 18 deletions

File tree

content/static/people.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1><img src="../../img/about/people-header.gif" width="675" height="55" alt="Pe
6262
<p>
6363
<strong>Developer Alumni</strong><br />
6464
Martin Leopold, Debug Mode (Summer 2012)<br />
65-
Patrick Hebron, Video Library<br />
65+
Patrick Hebron, Video Library (Summer 2011)<br />
6666
Peter Kalauskas, Library/Tool/Mode Install Utility (Summer, Fall 2011)<br />
6767
Andreas Schlegel, Libraries (Winter 2008 - Summer 2011)<br />
6868
Harshani Nawarathna, Processing Development Environment (Summer 2011)<br />

content/static/tutorials/tutorials.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,12 @@
132132
<imgs>true</imgs>
133133
<code>false</code>
134134
</tutorial>
135+
136+
<tutorial>
137+
<title>Shaders</title>
138+
<directory>pshader</directory>
139+
<imgs>true</imgs>
140+
<code>false</code>
141+
</tutorial>
135142

136143
</tutorials>

generate/tutorials.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,12 @@
44

55
$benchmark_start = microtime_float();
66

7-
8-
// make troubleshooting page
97
$source = CONTENTDIR."static/tutorials/";
108
$path = BASEDIR;
119

12-
// update the files on the server via SVN
13-
14-
// look for the .subversion folder somewhere else
15-
// otherwise will go looking for /home/root/.subversion or some other user
1610
$where = CONTENTDIR . 'static/tutorials';
1711
putenv('HOME=' . CONTENTDIR);
1812

19-
// From: http://code.google.com/p/processing/source/checkout
20-
// # Non-members may check out a read-only working copy anonymously over HTTP.
21-
// svn checkout http://processing.googlecode.com/svn/trunk/ processing-read-only
22-
// do the initial checkout
23-
//`cd /var/www/processing && /usr/bin/svn checkout http://processing.googlecode.com/svn/trunk/web/content/`;
24-
25-
//`cd $where && /usr/bin/svn update`;
26-
2713
// Switch from SVN to GIT, 14 FEB 2013
2814
`cd $path && /usr/bin/git pull https://github.com/processing/processing-web/`;
2915

@@ -43,9 +29,6 @@
4329

4430
// Start making the individual tutorial pages
4531

46-
// NOW WE WILL HAVE A LOOP TO DO INDIVIDUAL TUTORIALS
47-
// BASED ON AN XML FILE TO READ
48-
4932
if( ! $xml = simplexml_load_file($source.'tutorials.xml') )
5033
{
5134
echo 'XML file missing';

0 commit comments

Comments
 (0)