Browse Source

version 0.1.0!

master
adam j hartz 2 years ago
parent
commit
1a252b6bed

+ 3
- 1
make_site.py View File

@@ -4,7 +4,7 @@ import os
4 4
 import re
5 5
 from collections import OrderedDict
6 6
 
7
-CURRENT_VERSION = '0.0.23'
7
+CURRENT_VERSION = '0.1.0'
8 8
 
9 9
 PAGES = OrderedDict()
10 10
 PAGES['index'] = {'toc': False, 'menu': 'Home', 'dotitle': False}
@@ -96,6 +96,7 @@ def do_page(name):
96 96
     p = PAGES[name]
97 97
     
98 98
     body = open(fname).read()
99
+    body = body % {'version': CURRENT_VERSION} 
99 100
     if p.get('toc', False):
100 101
         body = do_toc(body)
101 102
 
@@ -106,6 +107,7 @@ def do_page(name):
106 107
 
107 108
     menu = make_menu(name)
108 109
 
110
+
109 111
     return TEMPLATE % {'body': body, 'menu': menu, 'title': title}
110 112
 
111 113
 for i in PAGES:

BIN
releases/takoshell-0.1.0.tar.gz View File


BIN
releases/takoshell-0.1.0.zip View File


+ 3
- 3
source/documentation.html View File

@@ -398,7 +398,7 @@ Thus, <tt>@()</tt> allows us to create complex commands in Python-mode and then
398 398
 
399 399
 <pre>
400 400
 for i in range(20):
401
-    touch @('file%02d' % i)
401
+    touch @('file%%02d' %% i)
402 402
 </pre>
403 403
 
404 404
 <h3>String Literals in Subprocess Mode</h3>
@@ -795,7 +795,7 @@ test2.tako
795 795
 adding files
796 796
 file0.txt file1.txt file2.txt file3.txt file4.txt test2.tako
797 797
 
798
-~ $ echo @(' '.join($(cat @('file%d.txt' % i)) for i in range(5)))
798
+~ $ echo @(' '.join($(cat @('file%%d.txt' %% i)) for i in range(5)))
799 799
 h e l l o
800 800
 </pre>
801 801
 
@@ -1004,7 +1004,7 @@ We can dynamically alter the aliases present simply by modifying the built-in ma
1004 1004
 
1005 1005
 <pre>
1006 1006
 ~ $ def _foo(args, stdin=None):
1007
-...     return 'The arguments were: %s' % ' '.join(args)
1007
+...     return 'The arguments were: %%s' %% ' '.join(args)
1008 1008
 ~ $ $TAKO_SETTINGS.aliases['foo'] = _foo
1009 1009
 ~ $ foo bar baz
1010 1010
 The arguments were: bar baz

+ 3
- 3
source/download.html View File

@@ -28,7 +28,7 @@ You can also, of course, install <tt>tako</tt> manually.
28 28
 
29 29
 <h5>Current Release</h5>
30 30
 
31
-There have been no official releases yet (we're still on 0.0), but the current "closest thing" to a release is version 0.0.23.  You can download it here: <a href="releases/takoshell-0.0.23.tar.gz">tar.gz</a>, <a href="releases/takoshell-0.0.23.zip">zip</a>.
31
+The current release is version %(version)s.  You can download it here: <a href="releases/takoshell-%(version)s.tar.gz">tar.gz</a>, <a href="releases/takoshell-%(version)s.zip">zip</a>.
32 32
 
33 33
 <h5>"Bleeding Edge" Versions</h5>
34 34
 
@@ -53,8 +53,8 @@ None yet!
53 53
 Once you have a downloaded a copy, you can untar it and install it by running the following commands:
54 54
 
55 55
 <pre>
56
-$ tar xvfz takoshell-0.0.23.tar.gz
57
-$ cd takoshell-0.0.23
56
+$ tar xvfz takoshell-%(version)s.tar.gz
57
+$ cd takoshell-%(version)s
58 58
 $ sudo python3 setup.py install
59 59
 </pre>
60 60
 

Loading…
Cancel
Save