Tarek Ziade
083a8cc172
added some doc about STATIC_PAGES
...
Conflicts:
docs/settings.rst
2012-10-30 09:56:10 +01:00
Tarek Ziade
a91f1cab5d
activate the static page generator only if the option is used
...
Conflicts:
pelican/__init__.py
2012-10-30 09:56:10 +01:00
Tarek Ziade
7127676f71
added a static pages generator
...
Conflicts:
pelican/__init__.py
pelican/generators.py
pelican/settings.py
2012-10-30 09:56:08 +01:00
Bruno Binet
c0ed9e1cff
add test for USE_FOLDER_AS_CATEGORY setting ( #517 )
2012-10-28 20:54:39 +01:00
Martin Brochhaus
47c972e21a
Added USE_FOLDER_AS_CATEGORY setting.
...
This allows users to organize their files in ways where the subfolder name
would not make a good category name (i.e. /2012/09/). Set this to ``False``
and the subfolder will no longer be used as a standard category,
`DEFAULT_CATEGORY` will be used instead.
2012-10-28 20:43:45 +01:00
Alexis Metaireau
a282499055
Merge pull request #559 from saimn/importer
...
refactor the check of executable for unit tests
2012-10-25 15:50:24 -07:00
Simon
ae8cf9defd
refactor the check of executable for unit tests
...
pandoc was checked directly with a `os.system` call, and the output with version
and copyright of pandoc was displayed when running tests.
- replace the pandoc check with the `skipIfNoExecutable` function.
- in `skipIfNoExecutable`, the `valid_exit_code` is not needed, the executable
is not found if an `OSError` exception is catched.
2012-10-25 22:50:29 +02:00
Alexis Métaireau
dd299d272b
merge win-encoding
2012-10-25 14:47:57 +02:00
Alexis Métaireau
b349bdd80f
Make it obvious in the docs that you need to indent the identifier as well
2012-10-25 14:37:19 +02:00
Bruno Binet
324c7c3674
Merge branch 'bstpierre-files-to-copy-missing-dir'
2012-10-25 14:25:03 +02:00
Bruno Binet
b6cc6bd2d4
remove useless try/except clause
...
exception will be caught and logged later in Pelican stack
2012-10-25 14:24:17 +02:00
Alexis Métaireau
93c04cd79f
merge with master
2012-10-25 13:20:27 +02:00
Thanos Lefteris
d38b32abfd
Docs for FILES_TO_COPY setting
2012-10-23 02:04:40 +02:00
Bruno Binet
0856b72c3c
cosmetics
...
lines should be < 80 chars
2012-10-22 23:05:18 +02:00
jawher
a11726783e
TRANSLATION_FEED is now split into TRANSLATION_FEED_ATOM and TRANSLATION_FEED_RSS to match the other feed configuration keys
...
Incidentally, Pelican can now generate RSS translation feeds.
2012-10-22 22:52:06 +02:00
Bruno Binet
4f1e3293ff
Merge pull request #547 from bbinet/refactor-settings
...
Refactor how settings are handled
2012-10-21 15:37:02 -07:00
Bruno Binet
ba99bc5528
Merge commit ' bc0f7ae4f6'
2012-10-21 23:59:11 +02:00
Alexis Metaireau
25e9cccbdf
Merge pull request #544 from Lothiraldan/plugins
...
Add a multi_part plugin
2012-10-20 14:27:56 -07:00
Alexis Metaireau
ddcb4ec72f
Merge pull request #543 from Lothiraldan/master
...
Add a new signal article_generator_finalized, called at the end of ArticleGenerator.generate_context
2012-10-20 14:27:19 -07:00
Brendan Wholihan
bc0f7ae4f6
Amended utils copy so that a warning is produced if a source file is not found in FILES_TO_COPY whilst copying. eg if there is a typo in the file name, or the file is moved.
2012-10-20 16:35:24 +01:00
Bruno Binet
4029f2ec82
refactoring so that command line options override settings
...
and Pelican class now accepts a single parameter ``settings``
2012-10-16 01:35:39 +02:00
Bruno Binet
136e2e46d8
remove useless default_settings param in configure_settings
2012-10-15 22:49:24 +02:00
FELD Boris
178d63b154
Add a multi_part plugin
...
It list all parts of a blog post, helping to create a navigation menu between all the parts
2012-10-13 19:21:20 +02:00
FELD Boris
22f3c40385
Add a new signal article_generator_finalized, called at the end of ArticleGenerator.generate_context
2012-10-13 19:17:16 +02:00
Alexis Métaireau
41b93f3dcc
add gittip to the output
2012-10-13 02:12:41 +02:00
Alexis Métaireau
51c08601dc
oops
2012-10-13 01:10:52 +02:00
Alexis Métaireau
299277b140
merge rachid changes
2012-10-12 23:31:37 +02:00
Alexis Métaireau
34218ee132
fix the tests
2012-10-12 23:28:18 +02:00
Alexis Métaireau
17dc36aad6
merge upstream
2012-10-12 23:22:55 +02:00
Alexis Métaireau
cce962f3f0
Change the background color of the code-blocks on the default theme. Fix #511
2012-10-12 23:01:51 +02:00
Alexis Métaireau
9add2151c3
Don't force the number of categories to be equal to 1. Fixes #521
2012-10-12 23:01:50 +02:00
Alexis Métaireau
7892c33ec9
Fix the settings about DATE_FORMAT*S*. Fix 540
2012-10-12 23:01:50 +02:00
Thanos Lefteris
ee36f53cb2
Monospace default values of settings
2012-10-12 23:01:50 +02:00
tBunnyMan
ffc8ec7a5b
Add sleep to no files exception to avoid CPU load
2012-10-12 23:01:50 +02:00
Chris Streeter
d718bc2eba
Apply the string formatting to {TAG,CATEGORY}_FEED urls.
2012-10-12 23:01:50 +02:00
Chris Streeter
da1efcd847
Correctly use the right variable for webassets
...
According to [the webasset docs](http://webassets.readthedocs.org/en/latest/integration/jinja2.html#using-the-tag )
the variable should be `ASSET_URL` instead of `ASSETS_URL`.
2012-10-12 23:01:50 +02:00
Remi Rampin
7d1c362635
Fixed escaping in files generated from quickstart
...
Variables are properly escaped before they are replaced in the
templates.
2012-10-12 23:01:50 +02:00
Rémy HUBSCHER
61fe02f411
fix-pelican-rsync_upload-makefile
2012-10-12 23:01:50 +02:00
Justin Mayer
cd85151f97
Add Typogrify to docs as optional dependency
2012-10-12 23:01:50 +02:00
Justin Mayer
c08ab18bff
Clarify specifying paths in settings. Closes #477 .
2012-10-12 23:01:50 +02:00
Justin Mayer
f7a28dc661
Clarify docs for specifying theme. Closes #475 .
2012-10-12 23:01:50 +02:00
Justin Mayer
c659695c5d
Add a list of plugins to the docs. Closes #493 .
2012-10-12 23:01:50 +02:00
Justin Mayer
9dcf4e5438
Eliminate extraneous whitespace
2012-10-12 23:01:50 +02:00
Justin Mayer
007cd9b8fd
Minor doc changes, including those for webassets
2012-10-12 23:01:50 +02:00
epatters
ac67587b79
BUG: Typogrify not applied to pages.
2012-10-12 23:01:50 +02:00
Wladislaw Merezhko
3a6196ccd1
Add two new parameters for creating pdf
...
* PDF_STYLE - name of custom style to use when generating pdf
* PDF_STYLE_PATH - path where custom style is located
2012-10-12 23:01:50 +02:00
Wladislaw Merezhko
7ffa9e21d8
Change name of utils.open function to pelican_open and refactor this change across project.
2012-10-12 23:01:50 +02:00
Nico Di Rocco
31afafda0f
Added possible uses for the finalized signal to the docs
2012-10-12 23:01:50 +02:00
tBunnyMan
914653f140
Clean up Dev Requirements and add typogrify & webassets
...
typogrify & webassets are optional packages for usage but should be included for testing by developers and CI
dev_requirements also had packages that setup.py covers already. Added comments for redundancy
2012-10-12 23:01:50 +02:00
tBunnyMan
d0e5c3c151
Add the unit2 tests to tox
...
Remove unnecessary dependencies
These dependencies are installed when tox runs setup.py
2012-10-12 23:01:50 +02:00