From 7f65ef408f4c25bd8bdb0232983e0a4ff0cfe865 Mon Sep 17 00:00:00 2001 From: blob8108 Date: Fri, 2 May 2014 15:38:00 +0100 Subject: Update docs slightly --- doc/tutorial.rst | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/tutorial.rst b/doc/tutorial.rst index fb0e09e..8aa463e 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1,7 +1,8 @@ Tutorial ======== - WARNING: this documentation is a work-in-progress. Apologies. + WARNING: this documentation is a work-in-progress, as is the library. So + this document is incomplete and things will change. Sorry! This tutorial shows you how to write extensions that are compatible with both `Scratch 2.0`_ and `Snap!`_. @@ -81,8 +82,8 @@ Here's the first line:: from blockext import * -This is just importing the entire contents of the ``blockext`` module. If -you've done any Python, you should be familiar with this. Next:: +This is just importing the entire contents of the ``blockext`` module. +If you've done any Python, you might have seen this before. Next:: light = False @@ -123,20 +124,16 @@ I skipped over this line:: menu("city", ["Barcelona", "Boston", "Brighton"]) -This defines the options for the menu - +This defines the options for the menu. Now, the final line:: run("Tutorial Example", "example", 5000) - +* TODO: finish. +* TODO: rewrite for the new v0.2 interface. * TODO: Doesn't crash if you throw an exception. -
-    when green flag clicked
-  
- .. _Scratch 2.0: http://scratch.mit.edu/ .. _Snap!: http://snap.berkeley.edu/ -- cgit v1.3.1