1
0
Fork 0
forked from github/pelican
Commit graph

2,830 commits

Author SHA1 Message Date
Justin Mayer
d6ac93a470 Merge pull request #1967 from NathanHarrington/config_reload
Add default settings file name to argparse. Fixes #1966
2016-09-11 09:14:46 -06:00
Justin Mayer
d83a261290 Merge pull request #1993 from stevepiercy/patch-1
Compare Pelican hl_lines to Sphinx emphasize-lines
2016-08-16 18:03:08 -06:00
Will Thompson
85a860d5dd test_readers: test reading empty Markdown files 2016-08-16 07:13:41 +01:00
Will Thompson
129b144852 test_cache: fix comment listing uncached files
This file was added in d333ed1; the number '3' in code was incremented
to '4' but the comment wasn't updated.
2016-08-16 07:13:41 +01:00
Steve Piercy
36f93af275 Compare Pelican hl_lines to Sphinx emphasize-lines
See #1510
2016-08-14 11:52:21 -07:00
Will Thompson
904f57d9c3 MarkdownReader: don't raise AttributeError on empty files
Markdown.convert() returns early, without running any preprocessors, if
source.strip() is empty.

Before, Pelican would raise AttributeError in this case; now, it logs a
more friendly error:

ERROR: Skipping ./foo.md: could not find information about 'NameError: title'

which is more consistent with the error from empty .rst files:

ERROR: Skipping ./foo.rst: could not find information about 'NameError: date'
2016-08-11 07:51:39 +01:00
Will Thompson
5d860471ac pelican_open: don't raise IndexError on empty files
If the file is empty, content[0] raises IndexError.
2016-08-11 07:46:53 +01:00
Justin Mayer
6232241ef1 Merge pull request #1964 from rr-/patch-1
Fix typogrifying objects without title
2016-07-18 09:14:30 -06:00
bnice5000
c11b8ceb09 Update rebuild to respect OUTPUT_RETENTION
Fixes #1955
2016-06-14 08:42:48 -04:00
Nathan Harrington
76dcd64a82 Fixes #1966 2016-05-30 09:09:53 -04:00
Marcin Kurczewski
12c72d3e19 Fix typogrifying objects without title
This fixes my use case where I use `readers.read_file` from within plugin to load something that is neither a page nor an article.
2016-05-29 10:53:56 +02:00
Mr. Senko
090694dba7 Pin Pygments version to 2.1.3. Fixes #1916 2016-05-26 17:32:21 +03:00
Justin Mayer
d9605d005d Merge pull request #1959 from MrSenko/default-date
Accept string dates in DEFAULT_DATE. Fixes #1464; fixes #1476
2016-05-24 17:21:32 +02:00
Robert Utter
3f2d89c9d6 Makes DEFAULT_DATE accept string dates; fixes #1464 2016-05-24 17:22:27 +03:00
Mr. Senko
ed92d959b2 Separate pip requirements. Fixes #1808 2016-05-24 16:42:46 +03:00
Justin Mayer
2ceeb88c63 Merge pull request #1945 from chriskrycho/fix-1291-feed-titles
Disambiguate feed titles on sites with multiple categories. Fixes #1291
2016-05-24 12:51:44 +02:00
Tomasz Magulski
3d2eb1d45e fixing issue with one-element tuple 2016-05-04 20:28:03 +02:00
Justin Mayer
515f2fb5b2 Merge pull request #1926 from MrSenko/tag_slugs
More granular control of tags and categories slugs. Fixes #1873
2016-05-02 09:12:07 -07:00
davidlesieur
e48365c329 Fix titles in feed tests. 2016-04-17 11:07:28 -04:00
davidlesieur
3b6d059eac Fix #1291: Feeds have ambiguous titles on sites with multiple categories. 2016-04-17 10:42:52 -04:00
Justin Mayer
9cff2efb62 Merge pull request #1942 from muellermartin/fix-contribution-doc
Fix description of the search bar's positon
2016-04-13 13:18:39 -07:00
Martin Müller
de2a5286eb Fix description of the search bar's positon
The search bar in the currently used Read the Docs Sphinx Theme is
located at the top-left instead of top-right.
2016-04-12 22:48:04 +02:00
Justin Mayer
28e79b7a38 Merge pull request #1939 from torypages/patch-1
Minor typo in docs
2016-04-09 09:31:20 -07:00
Tory Law
d81c53a748 Minor typo in docs 2016-04-09 09:05:17 -04:00
Justin Mayer
afd46e1618 Merge pull request #1937 from karlcow/1933/1
Add updated date to feed using modified. Fix #1933
2016-04-08 09:13:53 -07:00
Karl Dubost
f91ea06cc5 Bump feedgenerator version number to 1.8 #1933 2016-04-07 10:27:46 +09:00
Karl Dubost
66410b9396 Fix typo for updated and failure for None. #1933 2016-04-05 10:25:21 +09:00
Karl Dubost
e0769fe2a3 Add updated date to feed using modified. Fix #1933 2016-04-04 16:53:54 +09:00
Justin Mayer
132fe9a4fa Merge pull request #1923 from Jangsea/use_ghp_import_push_option
Use 'ghp-import -p' to push instead of 'git push origin {branch}'
2016-04-03 18:51:23 -07:00
Mr. Senko
fcd4f9aa0d Add AUTHOR_SUBSTITUTIONS 2016-04-01 23:01:57 +03:00
Mr. Senko
648165b839 More granular control of tags and categories slugs. Fixes #1873
- add TAG_SUBSTITUTIONS AND CATEGORY_SUBSTITURIONS settings
- make slugify keep non-alphanumeric characters if configured
2016-04-01 23:00:08 +03:00
Justin Mayer
70665ea0fa Merge pull request #1917 from ploxiln/fix_install_doc_headings
Fix "Kickstart your site" heading level in docs
2016-03-24 22:08:37 -07:00
Justin Mayer
a3a0b6c1b2 Merge pull request #1931 from iKevinY/coveralls-badge
Remove Coveralls badge from README
2016-03-20 17:15:58 -07:00
Kevin Yap
23c3a7c7f6 Remove Coveralls badge from README
Coveralls integration was removed in #1919.
2016-03-20 16:46:14 -07:00
Justin Mayer
58904af92c Merge pull request #1922 from Jangsea/fix_github_pages_branch
Import env.github_pages_branch in fabfile from quickstart question
2016-03-15 16:17:45 -07:00
Jangsea Park
23ab0f1ae1 Delete 'git push origin' and use 'ghp-import -p', push option 2016-03-03 15:11:58 +09:00
Jangsea Park
3857145754 Import env.github_pages_branch from quickstart question 2016-03-02 20:48:11 +09:00
Justin Mayer
945b8384ed Merge pull request #1915 from dhimmel/patch-1
Change periods (...) to ellipsis (…) in post summaries
2016-02-23 11:31:35 -08:00
Daniel Himmelstein
f864dd832c Change ... (periods) to … (ellipsis) in summary
Also update HTML output by running (after making sure to have the fr_FR.utf8
locale installed):

```sh
LC_ALL=en_US.utf8 pelican -o pelican/tests/output/custom/ -s samples/pelican.conf.py samples/content/
LC_ALL=fr_FR.utf8 pelican -o pelican/tests/output/custom_locale/ -s samples/pelican.conf_FR.py samples/content/
LC_ALL=en_US.utf8 pelican -o pelican/tests/output/basic/ samples/content/
```
as described at
http://docs.getpelican.com/en/3.6.3/contribute.html#running-the-test-suite
2016-02-22 13:03:47 -08:00
Pierce Lopez
c360aebec3 fix Installing/"Kickstart your site" heading level
"Kickstart your site" should not be a sub-heading of "Upgrading"
2016-02-19 18:26:23 -05:00
Justin Mayer
14694c8357 Make Flake8 happy
Note to self: pre-commit hooks really are helpful
2016-02-19 13:29:41 -08:00
Justin Mayer
123fd0b65a Fix Typogrify test issue caused by Pygments update 2016-02-19 13:21:26 -08:00
Justin Mayer
cff4db6e7c English and French locales must be installed
Clarifies our Contributing docs to ensure these two locales are present,
since they are required when updating functional test output.
2016-02-19 13:00:12 -08:00
Justin Mayer
e4532eb8e0 Update test output for French locale 2016-02-19 12:48:30 -08:00
Justin Mayer
2dcc4ccf80 Update functional test output for Pygments 2.1.1 2016-02-19 12:03:48 -08:00
Justin Mayer
985840178a Merge pull request #1893 from kernc/fix-1891
Don't fail if --fatal not provided
2016-02-19 11:32:19 -08:00
Justin Mayer
034e2e19f3 Note explicit Python 3 support in install docs
Refs #1850
2016-02-19 09:56:17 -08:00
Justin Mayer
f62198aeab Merge pull request #1901 from nckx/master
tests: fix failures with Pygments 2.1
2016-02-08 14:28:43 -08:00
Tobias Geerinckx-Rice
6c5183486f tests: fix failures with Pygments 2.1 2016-02-08 17:48:33 +01:00
Kernc
d7407eabab Don't fail if --fatal not provided
Fixes https://github.com/getpelican/pelican/issues/1891
2016-01-18 13:04:52 +01:00