FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Changes to examples · processing/processing-docs@df0baa6 · GitHub

Repository navigation

Commit df0baa6

Browse files
committed
Changes to examples
1 parent 494e376 commit df0baa6

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎content/api_en/triangle.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<example>
1212
<image>triangle_.gif</image>
1313
<code>
14-
triangle(30, 75, 58, 20, 86, 75);
14+
triangle(30, 75, 58, 20, 86, 75)
1515
</code>
1616
</example>
1717

‎content/examples.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<ex file="Arctangent.html">Arctangent</ex>
5151
<ex file="Graphing2DEquation.html">Graphing 2D Equation</ex>
5252
<ex file="Koch.html">Koch </ex>
53-
<ex file="Mandelbrot.html">Madelbrot</ex>
53+
<ex file="Mandelbrot.html">Mandelbrot</ex>
5454
<ex file="Random.html">Random</ex>
5555
<ex file="Noise1D.html">Noise 1D</ex>
5656
<ex file="Noise2D.html">Noise 2D</ex>

‎generate/examples.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
}
2626

27-
$page = new Page('Learning', 'Basic Examples');
27+
$page = new Page('Learning', 'Basics');
2828
$page->subtemplate('template.examples.html');
2929

3030
$html = "<div class=\"ref-col\">\n";
@@ -70,7 +70,7 @@
7070
}
7171
}
7272

73-
$page = new Page('Learning', '3D Examples');
73+
$page = new Page('Learning', '3D & OpenGL');
7474
$page->subtemplate('template.examples.html');
7575

7676
$html = "<div class=\"ref-col\">\n";
@@ -116,7 +116,7 @@
116116
}
117117
}
118118

119-
$page = new Page('Learning', 'Library Examples');
119+
$page = new Page('Learning', 'Libraries');
120120
$page->subtemplate('template.examples.html');
121121

122122
$html = "<div class=\"ref-col\">\n";

‎templates/template.example.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--*-->examples_nav<!--*-->
22

3-
<p class="ref-notice"><strong>Examples for Processing (BETA) version 122+. If you have a previous version, use the examples included with your software.</strong> If you see any errors or have comments, please <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=WebsiteBugs">let us know</a>.</p>
3+
<p class="ref-notice"><strong>Examples for Processing (BETA) version 124+. If you have a previous version, use the examples included with your software.</strong> If you see any errors or have comments, please <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=WebsiteBugs">let us know</a>.</p>
44

55
<!--*-->content<!--*-->

‎templates/template.nav.php‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
'Learning' => array('/learning/index.html', 1),
88
#'Examples' => array('/learning/index.html', 2),
99
#'Tutorials' => array('/learning/tutorials/index.html', 2),
10-
'Books' => array('/learning/index.html', 2),
11-
'Basic Examples' => array('/learning/basics/index.html', 2),
12-
'3D Examples' => array('/learning/3d/index.html', 2),
13-
'Library Examples' => array('/learning/libraries/index.html', 2),
10+
'' => array('/learning/index.html', 2),
11+
'Basics' => array('/learning/basics/index.html', 2),
12+
'3D & OpenGL' => array('/learning/3d/index.html', 2),
13+
'Libraries' => array('/learning/libraries/index.html', 2),
1414

1515
'Reference' => array('/reference/index.html', 1),
1616
'Download' => array('/download/index.html', 1),
@@ -29,7 +29,7 @@ function navigation($section = '')
2929
{
3030
$ref = array('Reference', 'Language', 'Environment', 'Libraries', 'Comparison', 'Troubleshooting');
3131
#$learn = array('Learning', 'Examples', 'Tutorials');
32-
$learn = array('Learning', 'Books', 'Basic Examples', '3D Examples', 'Library Examples');
32+
$learn = array('Learning', 'Publications', 'Basics', '3D & OpenGL', 'Libraries');
3333

3434
$html = "\t\t\t".'<div id="navigation">'."\n";
3535

@@ -61,10 +61,10 @@ function navigation($section = '')
6161
} else if (in_array($section, $learn)) {
6262
$html .= "\t\t\t\t" . '<div class="navBar learning" id="subNav">' . "\n";
6363

64-
$html .= "\t\t\t\t\t" . l('Books', $section == 'Books') . " \\\n";;
65-
$html .= "\t\t\t\t\t" . l('Basic Examples', $section == 'Basic Examples') . " \\\n";;
66-
$html .= "\t\t\t\t\t" . l('3D Examples', $section == '3D Examples') . " \\\n";;
67-
$html .= "\t\t\t\t\t" . l('Library Examples', $section == 'Library Examples') . "\n";
64+
$html .= "\t\t\t\t\t" . l('Publications', $section == 'Publications') . " \\\n";;
65+
$html .= "\t\t\t\t\t" . l('Basics', $section == 'Basics') . " \\\n";;
66+
$html .= "\t\t\t\t\t" . l('3D & OpenGL', $section == '3D & OpenGL') . " \\\n";;
67+
$html .= "\t\t\t\t\t" . l('Libraries', $section == 'Libraries') . "\n";
6868
$html .= "\t\t\t\t</div>\n";
6969
}
7070

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL