Commit graph

2,348 commits

Author SHA1 Message Date
Justin Mayer
fb994b1399 Add content dir to default settings file template
This adds a line to the settings file generated by pelican-quickstart
that ensures the automatically-generated "content" directory is
specified in said settings file. Fixes #1116
2013-10-28 15:52:09 -07:00
Justin Mayer
5e5510cfcf Improve Disqus embed code in notmyidea theme
According to Disqus, the disqus_shortname variable is a required field.
Also added a <noscript> notice for those who have JS disabled.
2013-10-27 09:27:30 -07:00
Justin Mayer
4a940da1a2 Merge pull request #1129 from kdeldycke/markdown-youtube-tip
Document video support in reST & Markdown.
2013-10-25 19:41:46 -07:00
Kevin Deldycke
6c808e426f Document video support in Markdown and reST. 2013-10-25 10:52:13 +02:00
Justin Mayer
5a6d60001d Merge pull request #1132 from fly/disqus_ssl
use // instead of explicitly defining http
2013-10-24 14:23:21 -07:00
Jon Chen
9331e42ee1 use // instead of explicitly defining http
for twitter as well

update sample output
2013-10-24 17:06:23 -04:00
Justin Mayer
effac994db Merge pull request #1118 from yapbreak/patch-1
Change StandardError to RuntimeError
2013-10-24 08:41:14 -07:00
Justin Mayer
ae2afa27fc Clarify FAQ entry re: need to install Markdown
Folks keep running into this error, which probably signals a need to
change this behavior. After all, it wouldn't be hard for us to detect
what's going on and provide a better error message, such as: "It looks
like you're trying to process Markdown, but the Markdown library is not
currently installed. Please install the Python-Markdown library via 'pip
install markdown'."

Until we implement something akin to the above, this should serve as a
slightly-improved FAQ entry in the interim.
2013-10-19 17:20:13 +02:00
Alexis Metaireau
cd92ef3696 Merge pull request #1123 from calfzhou/intra-link
Fix #1117 Make intra-link support all url-value HTML attributes.
2013-10-18 06:44:48 -07:00
zhouji
e538aa2cde Fine-tune url-value HTML attributes list. 2013-10-17 11:33:34 +08:00
zhouji
04dba17b80 Fix #1117 Make intra-link support all url-value HTML attributes. 2013-10-16 17:06:56 +08:00
Kyle Fuller
bc94c6b6e3 Merge pull request #1119 from jedbrown/jed/fix-signal-name-doc
docs/plugins.rst: fix signal name "page_generator_context"
2013-10-15 08:44:16 -07:00
zhouji
eb6d4bb008 Preserve file metadata (esp. timestamps) when copy static files to output folder. 2013-10-15 10:37:03 +08:00
Jed Brown
2b5db0321b docs/plugins.rst: fix signal name "page_generator_context"
The old "pages_generate_context" dates from before pelican-3.2
standardization, but AFAIK, "page_generate_context" was never correct.
2013-10-11 22:30:27 -05:00
Adrien Oliva
caa833877d Change StandardError to RuntimeError
Since built-in exception "StandardError" does not exist in the latest python version (at least in version 3.3), use RuntimeError instead (which exists from python2.6 to python3.4)
2013-10-11 15:52:47 +02:00
Alexis Metaireau
754611180b Merge pull request #1115 from torrance/headers_fix
Ensure headers from base.html are included.
2013-10-10 01:48:33 -07:00
Torrance
6dafe69ac6 Ensure headers from base.html are included. 2013-10-10 14:29:42 +13:00
David Branner
00150f3556 xml => lxml for bs4, in pelican-import.wp2fields() 2013-10-09 11:53:11 -04:00
Justin Mayer
e2f50750d2 Add Tumblr and Posterous to importer description 2013-10-08 13:20:56 +02:00
Kyle Fuller
f83d0d3b0c Handle east asian character column width in the importer
Fixes #682
Closes #923
2013-10-08 09:46:40 +01:00
Justin Mayer
9ebe06156c Merge pull request #1110 from tshepang/deprecated
replace Deprecated method; use unittest.mock when available
2013-10-07 03:06:11 -07:00
Tshepang Lekhonkhobe
67d3ab8883 assertEquals is deprecated in favor of assertEqual 2013-10-06 16:15:43 +02:00
Tshepang Lekhonkhobe
9657071301 Python 3.3 got mock 2013-10-06 15:30:14 +02:00
Justin Mayer
cb82e48636 None, not False, in *_SAVE_AS docs. Fixes #1106. 2013-10-04 16:23:19 +02:00
Justin Mayer
47e19b8d18 Merge pull request #1096 from saimn/smartypants
Fix tests with latest version of Smartypants
2013-09-28 05:32:04 -07:00
Simon Conseil
a49b744e95 Fix tests with latest versions of smartypants.
smartypants is now py3 compatible but the default settings for double quotes has
been changed (http://pythonhosted.org/smartypants/changes.html).

This commit:
- update the typogrify test (change quotes, and add more test casesi: caps word,
  ellipsis)
- install typogrify on travis
- uses upstream version of smartypants in tox instead of dmdm's fork for py3
2013-09-26 22:47:55 +02:00
Alexis Metaireau
dbbf95b184 Merge pull request #1093 from honzajavorek/intrasite-link-parsing
Better intrasite link parsing
2013-09-25 07:58:27 -07:00
Honza Javorek
6ed23fec7d Tuned the tests so they are PY3 compilant. 2013-09-25 16:31:23 +02:00
Honza Javorek
7415d370e6 Added tests. 2013-09-25 16:13:28 +02:00
Honza Javorek
6fb0335269 Attempt to be compilant with Python 3. 2013-09-25 11:39:29 +02:00
M. Utku Altinkaya
a987b65bd2 Watch static folders in Autoreload mode 2013-09-25 04:43:06 +03:00
Justin Mayer
2c468f091a Prepare version 3.3.1.dev for next development cycle 2013-09-24 21:57:28 +02:00
Justin Mayer
b35ce43b7f Bump version 3.3.0 3.3.0 2013-09-24 21:57:07 +02:00
Justin Mayer
2f57b86560 Modify sed command in bumpr.rc to support BSD
It appears that BSD sed, unlike Linux, has a requirement that you
provide an extension to the -i option. So, while Linux allows:

    sed -i "sed-command"

... to edit in-place, the BSD variant needs to have:

    sed -i "" "sed-command"

i.e., with an empty backup suffix.
2013-09-24 21:37:53 +02:00
Justin Mayer
5f23aab807 Change Bumpr test from tox to unittest
There are currently some minor problems when running tox that are not
present when running "python -m unittest discover". Once those problems
have been resolved, we should probably change this setting back to tox.
2013-09-24 21:28:59 +02:00
Honza Javorek
7d43c4fa00 Support for params and fragments in intrasite links. Adresses #1063. 2013-09-24 15:18:09 +02:00
Honza Javorek
e5c0a54c57 Removed obsolete comment. 2013-09-24 14:19:47 +02:00
Justin Mayer
f6c9237a01 Enhance and correct documentation 2013-09-23 19:30:51 +02:00
Justin Mayer
07f87969ea Update changelog 2013-09-23 19:28:06 +02:00
Alexis Métaireau
3857fd72b5 Merge branch 'master' of github.com:getpelican/pelican 2013-09-17 17:32:15 +02:00
Alexis Métaireau
22da74211d Fix a broken link 2013-09-17 17:32:08 +02:00
Alexis Metaireau
74069e771f Merge pull request #1084 from karmadharma/pygmentdocsanddefault
Support Pygments customization in settings (reST only)
2013-09-16 02:32:17 -07:00
Alexis Metaireau
76e47e5198 Merge pull request #1083 from bmcorser/bmcorser/fix-utils-copy
Fix `utils.copy` behaviour
2013-09-16 02:01:46 -07:00
SDGSDG
3580233b38 Support for pygment defaults and relevant documentation 2013-09-15 23:13:17 -07:00
Justin Mayer
85213f077b Merge pull request #1075 from jeekajoo/patch-1
Add async and defer attributes to piwik.js
2013-09-15 08:35:01 -07:00
bmcorser
e03cf3f517 Fix utils.copy behaviour
Previously, the copy util failed if only a directory containing only
files was specified in THEME_STATIC_PATHS
2013-09-14 16:18:53 +01:00
Alexis Metaireau
9935286e19 Merge pull request #1056 from bmcorser/fix-utils-copy
Fix for THEME_STATIC_PATHS by copying sensitively
2013-09-09 15:01:13 -07:00
Alexis Metaireau
bb50bdbc34 Merge pull request #1081 from talha131/patch-1
Update changelog.rst
2013-09-09 00:47:28 -07:00
Talha Mansoor
3d419bf55d Update changelog.rst
1. Escape `|tag|` and `|category|` with double ticks otherwise reST converts them to links that are invalid.
2. Updated syntax for relative links use braces instead of bars.
2013-09-09 10:28:47 +05:00
Talha Mansoor
13199792a7 Add tip on how to add videos to your blog. 2013-09-08 23:05:52 +02:00