Commit graph

1,007 commits

Author SHA1 Message Date
Alexis Metaireau
236dbb2842 Merge pull request #393 from tbunnyman/DeleteContentsNotDirectory
Change behavior of DELETE_OUTPUT_DIRECTORY to purge contents of the directory…
2012-07-04 15:24:43 -07:00
tBunnyMan
4427424db3 Changed debugging reporting to post file deletion instead of pre file deletion per request. 2012-07-04 15:20:15 -07:00
tBunnyMan
cb3c40256a Merge branch 'master' of github.com:ametaireau/pelican into DeleteContentsNotDirectory 2012-07-04 15:12:39 -07:00
tBunnyMan
c07821e8a2 Too many empty lines at end of file 2012-07-04 14:56:52 -07:00
tBunnyMan
2b062ce384 Documentation typo 2012-07-04 14:55:39 -07:00
Alexis Metaireau
ea0a964365 Merge pull request #389 from tbunnyman/issue#380
Add support for `status: hidden` in pages
2012-07-04 14:51:50 -07:00
tBunnyMan
d589450200 Change behavior of DELETE_OUTPUT_DIRECTORY to purge contents of the directory, not the directory itself.
Added Debug level logging for each deletion
Added error level logging when a delete has an exception
Built a test case for clean_output_directory in tests.utils.py
Updated `settings` in documentation to reflect new behavior
Removed the tip from the bottom of getting started since this setting should no longer break web servers pointing to the output directory.
2012-07-04 12:32:20 -07:00
tBunnyMan
cf696939f8 Added tests for page generation.
Currently tests rst & markdown generation, ignoring pages w/ bad status, and status hidden vs published
2012-07-04 10:06:53 -07:00
Alexis Metaireau
76f86fb3ca Merge pull request #391 from MaNDRaXe/master
Fixing a typo in pelican/__init__.py on logger call for debug
2012-07-03 06:59:15 -07:00
Alexandre RODIERE
8a53ee1ad3 Fix typo on debug logger calls. 2012-07-03 15:19:38 +02:00
justinmayer
dff20f250b Merge pull request #388 from sigmavirus24/master
Add -U (--upgrade) to upgrade a theme with pelican-theme
2012-07-01 11:02:41 -07:00
Justin Mayer
9ad93d36a0 Convert code in docs to inline literals
Most of the references to code and settings in the docs were wrapped
in single tickmarks (`), while reStructuredText syntax actually calls
for double tickmarks for inline literals, which are normally rendered
as monospaced text with spaces preserved. Converted the relevant
instances to inline literals, along with some other minor fixes.
2012-07-01 10:52:39 -07:00
tBunnyMan
c2993c4d4e Documentation typo 2012-06-27 07:02:25 -07:00
tBunnyMan
de251bc999 Fixes typo in error message for bad status
Bugfix #380 We want the bad status of page, not article.
2012-06-26 19:51:48 -07:00
tBunnyMan
a0e46c9106 Add support for status: hidden in pages
Resolves #380 If the status metadata is set to 'hidden' on a page it is translated and rendered but not linked anywhere in the site.
2012-06-26 19:26:43 -07:00
Alexis Metaireau
b2ff07d58c we need jinja >= 2.4 2012-06-26 16:28:00 +02:00
Ian Cordasco
707536725d Failed to commit some important changes. 2012-06-25 11:43:12 -04:00
Ian Cordasco
387e5c1ab9 Add upgrade ability to pelican-themes. Fix typos.
I disliked having to do:

$ pelican-theme -r <theme-name> -i <theme-path>

So I modified install() to handle an upgrade of an existing theme. While doing
so, I noticed that in install() and symlink() the script would error with 'no a
directory' instead of 'not a directory'. So I fixed that for you as well.
2012-06-25 08:57:09 -04:00
justinmayer
e89b32511d Merge pull request #374 from maru-sama/master
Small fix for the notmyidea template
2012-06-16 11:55:32 -07:00
Justin Mayer
083f302b19 Remove errant .DS_Store and add to .gitignore 2012-06-16 11:23:55 -07:00
Michael Guntsche
c461c6435d Fix HTML5 conformance of the notmyidea template
The W3C validator complained that the pagination <p> was inside an <ol>.
So just move it out of there.
2012-06-16 19:53:53 +02:00
Alexis Metaireau
f7fcbe7dc9 Merge pull request #373 from asselinpaul/master
Added GoSquared support
2012-06-15 15:31:24 -07:00
Alexis Metaireau
f822e83489 Merge pull request #372 from sigmavirus24/master
Gitorious icon added to default theme
2012-06-15 15:30:53 -07:00
Alexis Metaireau
d3ada540bf Merge pull request #369 from mankyd/summary_len
Max Summary Length
2012-06-15 15:29:04 -07:00
asselinpaul
d1dfcdafc2 updated
remove GoSqaured from README and template file from the notmyidea theme.
2012-06-14 23:32:23 +02:00
asselinpaul
44cadf7c1f added GoSquared support
GoSquared(analytics) support added in default themes and documentation
(in French and English)
2012-06-14 23:04:23 +02:00
Ian Cordasco
ddb345897e Add gitorious icon to default theme.
See ametaireau/pelican-themes#38 and ametaireau/pelican-themes#39 for
references.
2012-06-14 10:29:44 -04:00
Alexis Metaireau
70fd137ced Merge pull request #371 from maru-sama/master
Add Template files to MANIFEST.in
2012-06-13 14:30:46 -07:00
Michael Guntsche
8c375f016f Add template files to MANIFEST.in
Commit 7c53cc8955 put the templates in a separate directory.
As a result setuptools did not include them any longer.
2012-06-13 21:54:40 +02:00
Justin Mayer
336d6fd407 Getting Started documentation improvements
Expanded installation instructions, added Upgrading section, updated
link to Pip installer, and other minor improvements.
2012-06-11 12:27:01 -07:00
dave mankoff
1d5228388b git pull git://github.com/ametaireau/pelican.git 2012-06-11 10:21:13 -04:00
dave mankoff
d9dba38644 Revert "turn utils.open into actual context manager so as to better handle encoding warnings"
This reverts commit 876c7f5093.
2012-06-11 09:00:57 -04:00
dave mankoff
1c708a70ba Revert "better html parser"
This reverts commit c6d1de14f3.
2012-06-11 09:00:36 -04:00
dave mankoff
c6f1d0aada fix SUMMARY_MAX_LENGTH, document it, and test it 2012-06-11 08:39:13 -04:00
dave mankoff
c6d1de14f3 better html parser 2012-06-10 18:27:38 -04:00
dave mankoff
876c7f5093 turn utils.open into actual context manager so as to better handle encoding warnings 2012-06-10 18:26:53 -04:00
dave mankoff
9fb5969c59 Allow settings to specify a summary length, optionally allowing unlimited summary length 2012-06-10 17:58:05 -04:00
Alexis Metaireau
191b1cdb0f skip unless deps are installed in tests 2012-06-10 21:56:17 +02:00
justinmayer
98c8041df2 Merge pull request #367 from ametaireau/reload-for-settings
Also reload when the settings file changes.
2012-06-10 12:55:00 -07:00
Alexis Metaireau
7682f657a4 don't do anything with webassets if the setting is set to false (default) 2012-06-10 21:46:32 +02:00
Alexis Metaireau
4ed8c6a09c don't test webassets key if it can be unset 2012-06-10 13:32:23 +02:00
Alexis Metaireau
7c48937ea2 pandoc is optional 2012-06-10 13:27:36 +02:00
Alexis Metaireau
68d5ed57e3 Add beautifulSoup in the dev deps 2012-06-10 13:17:52 +02:00
Alexis Metaireau
298c15bdda don't test the markdown reader if markdown isn't installed 2012-06-10 12:42:33 +02:00
Alexis Metaireau
6a0937a9e8 merge the plugin branch 2012-06-10 01:14:30 +02:00
Alexis Metaireau
ed8b8bc27e Also reload when the settings file changes.
Fix for #360
2012-06-10 00:24:26 +02:00
Alexis Metaireau
cbe47d4416 Merge pull request #347 from sametmax/pandoc-parse-raw
Added strip raw option to wordpress xml importer
2012-06-09 14:27:44 -07:00
Alexis Metaireau
4d5b1ae741 Merge pull request #351 from quodlibetor/warn-on-skip
Add warnings for files skipped due to unknown status
2012-06-09 14:26:33 -07:00
Alexis Metaireau
e3919a1b82 Merge pull request #341 from m-r-r/trailing-slashes
Trailing slashes removed to avoid category bug
2012-06-09 14:22:03 -07:00
Alexis Metaireau
74bf31b0e9 Merge pull request #337 from saimn/assets
Assets management with webassets
2012-06-09 14:16:57 -07:00