Skip to content

Commit b79941e

Browse files
committed
tutorials author names jdf#58
1 parent cf845a2 commit b79941e

10 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎Tutorials/2dlists/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,4 @@ <h1>Two-Dimensional Lists</h1>
228228
</tr>
229229
</table>
230230
</body>
231-
</html>
231+
</html>

‎Tutorials/2dlists/tutorial.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
<p>How to store data in a matrix using a two-dimensional list.</p>
77
<p>Level: Intermediate</p>
88
</blurb>
9-
</root>
9+
</root>

‎Tutorials/color/tutorial.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<root>
33
<image>color.jpg</image>
44
<title>Color</title>
5+
<author>Daniel Shiffman</author>
56
<blurb>
67
<p>An introduction to digital color.</p>
78
<p>Level: Beginner</p>

‎Tutorials/drawing/tutorial.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<root>
33
<image>basics.jpg</image>
44
<title>Coordinate System and Shapes</title>
5+
<author>Daniel Shiffman</author>
56
<blurb>
67
<p>Drawing simple shapes and using the coordinate system.</p>
78
<p>Level: Beginner</p>

‎Tutorials/gettingstarted/tutorial.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<root>
33
<image>gettingstarted.gif</image>
44
<title>Getting Started</title>
5+
<author> Casey Reas and Ben Fry</author>
56
<blurb>
67
<p>Welcome to Processing! This tutorial covers the basics of writing Python code.</p>
78
<p>Level: Beginner</p>

‎Tutorials/objects/tutorial.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<root>
33
<image>objects.jpg</image>
44
<title>Objects</title>
5+
<author>Daniel Shiffman</author>
56
<blurb>
67
<p>The basics of object-oriented programming.</p>
78
<p>Level: Beginner</p>

‎Tutorials/overview/tutorial.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<root>
33
<image>overview.jpg</image>
44
<title>Processing Overview</title>
5+
<author>Ben Fry and Casey Reas</author>
56
<blurb>
67
<p>A more detailed introduction to the different features of Processing.</p>
78
<p>Level: Beginner</p>

‎content/css/style.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,4 +1260,4 @@ ul.nostyle { margin: 0; padding: 0; list-style: none outside; }
12601260
-webkit-border-radius: 4px;
12611261
-moz-border-radius: 4px;
12621262
border-radius: 4px;
1263-
}
1263+
}

‎generator.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ def build_tutorials(env):
542542
tutorial_data = etree.parse(os.path.join(tutorials_dir, tutorial['folder'], 'tutorial.xml'))
543543
tutorial['image'] = os.path.join(tutorial['folder'], 'imgs', tutorial_data.find('image').text)
544544
tutorial['title'] = tutorial_data.find('title').text
545+
tutorial['author']=tutorial_data.find('author').text
545546
tutorial['blurb'] = tutorial_data.find('blurb')
546547
# I want to use convert_hypertext on the examples so they can use things like 'ref';
547548
# we can use lxml.html to parse the html into an element-tree!

‎template/page_template.jinja‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<a href="/reference/">Reference</a><br/>
2929
<a href="/tutorials/">Tutorials</a><br/>
3030
<a href="/examples/">Examples</a><br/>
31-
<a href="https://github.com/jdf/Processing.py-Bugs/issues"
32-
class="bug">Bugs</a>
31+
<a href="https://github.com/jdf/Processing.py-Bugs/issues">Bugs</a>
3332
</div>
3433
</div>
3534
{% endblock %}

0 commit comments

Comments
 (0)