Commit graph

57 commits

Author SHA1 Message Date
Meir Kriheli
50f2cd295f Implement LessCSSGenerator 2012-04-15 02:20:20 +03:00
Kyle Fuller
0ed6cf7743 Follow the PATH variable in settings 2012-03-23 09:05:47 +00:00
Andrea Crotti
bc7c8c14f4 - split main and parse arguments in two function
- add '.' as default value for the path
2012-03-22 07:02:06 +00:00
Andrea Crotti
0922efa371 change the way logging is done, using the standard log tree instead of
calling the module-level functions on an unitialised logging object.

This allows to
- simplify log.py
- use one logger object for each file
2012-03-20 13:01:21 +00:00
Andrea Crotti
74c2449d8f add version information in __init__.py and import them from setup.py
and conf.py
2012-03-16 14:27:26 +00:00
Andrea Crotti
4bac1ee745 - remove default=None with argparse is redundant since it's the
default value already.
- use the argparse.ArgumentDefaultsHelpFormatter as the
  formatter_class, to print out automatically the default values
2012-03-14 19:54:28 +00:00
draftcode
2827a6df47 Fixed some typos. 2012-03-12 01:22:54 +09:00
Alexis Metaireau
d6be2fb44c Put deprecation code in a separate place 2012-03-11 01:59:22 +01:00
Alexis Metaireau
6cde7fd27a PEP8-ify.
Wrap to 80 chars, sanitize imports.
2012-03-09 16:21:38 +01:00
Alexis Metaireau
a7cea63db6 Merge branch 'urls' of https://github.com/kylef/pelican 2012-03-09 11:42:21 +01:00
Andrea Crotti
8f7b08a01c remove now useless if __name__ == '__main__' checks and clean up the
old pelican script in bin
2012-03-07 10:38:08 +00:00
Kyle Fuller
9ba55c28b4 Support CLEAN_URLS and ARTICLE_PERMALINK_STRUCTURE for backwards compatibility 2012-03-06 16:41:36 +00:00
Alexis Metaireau
6c5fe3b0cf prepare next release 2012-02-28 19:09:41 +01:00
Alexis Metaireau
e0308e3528 bump version 2012-02-28 18:59:46 +01:00
Jökull Sólberg Auðunsson
651249a6c5 Bad logic in delete output booleans. Pretty sure this is just a check to make sure the posts directory is not inside the output. 2011-12-06 01:42:14 +01:00
Skami18
c63eb85070 exit replaced by sys.exit to avoid crashes on cx_Freeze & py2exe (useful for Windows installer) 2011-11-25 18:39:19 +01:00
Skami18
73d9ab4763 Tracebacks are shown in debug mode 2011-09-30 16:25:32 +02:00
Skami18
87c22dc7ac Pelican exits 1 or Exception.exitcode if an exception is raised 2011-09-10 11:37:19 +02:00
Alexis Metaireau
1edbe044a2 Include the "pelican-quickstart" script.
This ease the creation of a new blog. I modified slightly the code wrote by @Skami18
here: https://gist.github.com/1025236/dfa695e67482477907c79ae709ab827b20b18b04

This commit also renames the import script to "pelican-import".

Fixes #129.
2011-08-11 23:34:53 +02:00
Michael Yanovich
9d9355c597 added ability for pelican to handle non-ascii characters when logging 2011-07-01 16:22:21 -04:00
Alexis Metaireau
971f3b4937 bump version number 2011-06-17 19:45:09 +02:00
Borgar
5398da9d76 read_settings should be passed a string argument
This solves a crash when user runs with no settings: `pelican .`
2011-06-16 13:10:03 +00:00
Alexis Metaireau
61884c5de4 Bump minor version 2011-06-12 22:37:39 +02:00
Rory McCann
83a61da255 fix typo to make work if path ends in / (cf. issue #131) 2011-06-12 18:41:29 +01:00
Alexis Metaireau
086df21ce7 bump 2.7.0 2011-06-11 21:43:31 +02:00
derdon
0bbdc6bc00 check also the theme dir in autoreload mode 2011-05-15 12:14:03 +02:00
Alexis Metaireau
e09444fa89 Don't delete the output dir as a default behaviour.
Fixes #107
2011-05-07 19:27:33 +01:00
Ronny Pfannschmidt
ffe8e00046 move the sleep so we correctly handle keyboard interupts 2011-05-06 22:09:49 +02:00
Ronny Pfannschmidt
d03a412e5b add a sleep to the autoreload loop since we dont need too high cpu load 2011-05-06 22:05:13 +02:00
derdon
77457ed800 another whitespace mistake in the CLI help 2011-04-26 02:39:57 +02:00
derdon
dd62f293d6 added missing whitespace in the CLI help 2011-04-26 02:37:56 +02:00
Simon Liedtke
fcab48a5e5 removed unused import 2011-04-24 09:24:05 -07:00
Alexis Metaireau
698686e1d4 Catch all exceptions in __init__ 2011-04-20 14:44:25 +02:00
Skami18
3166e6dfe3 Calls to «print» replaced by the «pelican.log» module. 2011-04-19 14:49:46 +02:00
Alexis Metaireau
8d6de4ec59 Bump version 2011-03-08 19:37:35 +00:00
Alexis Metaireau
e9515130e0 Merge branch 'pagination-zebuline' 2011-02-17 19:04:30 +00:00
Alexis Metaireau
608fcc17e0 fixed a but 2011-02-15 22:07:57 +00:00
Laureline Guerin
d272896adf Pagination - refactoring 2011-02-15 14:36:55 +01:00
Massimo Santini
1f821ce2f6 Fixed path definition from settings/command line opt 2011-02-14 15:35:17 +01:00
Massimo Santini
ca58928b6c Path is an optional argument on the command line, since it can be a setting in the configuration file 2011-02-11 15:36:51 +01:00
Alexis Metaireau
b8fb45de9e Add the autoreload feature. This fixes #45. I've choosen to not serve the content
via HTTP, because it's really simple to do "firefox output/index.html".
2011-01-12 23:45:06 +01:00
Alexander Artemenko
a937424faa Base routines were transformed into the class Pelican. This class could be overridden using PELICAN_CLASS option. 2010-12-25 17:26:24 +03:00
Guillaume B
31cee95b6f Fixed the PDF generation
Signed-off-by: Guillaume B <guitreize@gmail.com>
2010-12-22 10:45:55 +08:00
Alexis Metaireau
4aacf4f7c7 Version bump 2010-12-19 01:30:08 +00:00
Alexis Metaireau
a948b6a1c0 Version bump. 2010-12-18 21:13:20 +00:00
Alexis Metaireau
c61a207699 Do not make the output with absolute urls by default. 2010-12-18 21:06:51 +00:00
Alexis Metaireau
ccf53ceb04 Add a version option. 2010-12-18 20:36:16 +00:00
Alexis Metaireau
7570728289 Fix The wrong population of the list in case any markup language is given.
Only split the option if there is something to parse, otherwise default to None.
2010-12-18 20:18:48 +00:00
Alexis Metaireau
60873654db Better format for the -k -keep-output-directory option. 2010-12-18 20:17:32 +00:00
Alexis Metaireau
f0651b2b68 Remove trailing slashes. 2010-12-18 20:16:48 +00:00