1 |
#!/usr/bin/env python |
#!/usr/bin/env python |
2 |
|
|
3 |
# updatepages.py - Simple web site templating system |
# updatepages.py - Simple web site templating system |
4 |
|
# Copyright (C) 2006 Torsten Irl�nder |
5 |
# Copyright (C) 2004 Joonas Paalasmaa |
# Copyright (C) 2004 Joonas Paalasmaa |
6 |
|
|
7 |
|
# This script is based on a script developed by Joonas Paalasmaa |
8 |
|
# written in 2004. |
9 |
|
|
10 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
11 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
12 |
# the Free Software Foundation; either version 2 of the License, or |
# the Free Software Foundation; either version 2 of the License, or |
21 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
22 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
|
|
|
#"""Format webpages from templates. |
|
|
|
|
|
#Update a file only if it does not exist or when the sources are newer. |
|
|
#You can also use "-f" or "--force" which does what you think it does. |
|
|
#""" |
|
|
|
|
|
|
|
24 |
"""\n |
"""\n |
25 |
Generate Skencil website from templates into a given directory. If no |
Generate Skencil website from templates into a given directory. If no |
26 |
directory is set, a directory "skencil-webiste" will be created in |
directory is set, a directory "skencil-webiste" will be created in |