-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
93 lines (85 loc) · 3.89 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
0.3
- use the variable "content" instead of "get_content" for accessing rendered
sources within templates
- added CleverCSS support
- fixed some bugs in the command "quickstart" and improved the prompts
- implemented a caching algorithm to save unnecessary rendering processes
- do not only pay attention to the Genshi settings, but also to the Jinja
settings for the rendering process
- removed the progressbar which used to appear during the rendering process
-> removed the dependeny "progressbar"
- assign one template to each source file instead of assigning a list of
source files to each templaze
- use a default template, whose file name is given in the config file, if no
template is assigned in a source file
- the content of this template depends on the value of "template language"
in the config file
0.2.5
- use more verbose logging messages
- fix removing projects
0.2.4
- use an absolute path to create an empty logfile
- make installation possible, even if distribute / setuptools is not installed
0.2.3
- make sure that the directories exist where the logfile is located
0.2.2
- fix install for easy_install and pip users
0.2.1
- add the python package "argparse" to the list of requirements if it is not
installed yet
0.2
- use a global configuration file if it can be found as the default
configuration for new projects
- added the subcommand "quickstart"
- print more useful error messages, e.g. if a source file mentioned in a
template cannot be found
- added support for the template engines Mako, Jinja2 and Genshi:
- Genshi:
- added the configuration options "method" (can be either "html" or
"xhtml") and "doctype" to specify the behaviour of rendering
- Jinja2
- added the following configuration options:
- block_start_string
- block_end_string
- variable_start_string
- variable_end_string
- comment_start_string
- comment_end_string
- trim_blocks
- see http://jinja.pocoo.org/api/#jinja2.Environment for their meanings and
default values
- renamed the section "local configuration" in the project-dependent
config.ini to "general"
- interpret also short filename extensions of sources (new filename
extensions: *.rst for ReST, *.md for Markdown, and *.tt for Textile)
0.1
- fixed many bugs
- added many tests and improved the existing ones
- source files can have titles now (it is highly recommended that you set a
title for each source file; the fallback for titleless source files will
generate a rather useless title (it simply takes the first five words of the
source file's first line))
- print a progressbar during the rednering process
- create required directories and an empty logfile directly after the
installation process
- the encoding UTF-8 for reading template files and source files is used
- additional packages from PyPi are required: texttable, py and logbook
- added logging features:
- new global CLI option -l --logfile determines the location of the logfile
(default is $XDG_DATA_HOME/swsg/swsg.log if this environment variable is
set; otherwise it is ~/.local/share/swsg/swsg.log
- new global CLI options -v --verbose and -d --debug set the logging levels
where the debug option will overwrite the verbose option in the case where
both are set
- general changes to the command line interface (swsg-cli):
- added many help messages to arguments and options
- new CLI argument "list-projects" lists all created projects in a pretty
ASCII table
- added an argument for removing projects: remove-project path/to/the/project
- added a function to validate the use of the argument change-config: an error
message is written to STDERR and the script will be quit if neither a markup
language nor a template language was given
- restricted the set of possible values for the options --markup-language and
--template-language for the argument change-config
0.1a
- initial release