pelican/pelican
Paul Logston bdd7daf419
Check full paths when excluding files
The `Generator._include_path` method needs to be updated because it
does not filter files with enough specificity. For example, let's say
our Pelican project is devoted to hosting article about talks a
different conferences. If we wanted to filter a talk
at `content/jacksconf-2016/videos/jacks-talk.json`, we could do so
(without using this patch) by including `jacks-talk.json` in the
list IGNORE_FILES. However, if there are multiple `jacks-talk.json`
files (maybe a bunch of different Jacks wanted to talk at a bunch of
different conferences), we would exclude all `jacks-talk.json` files
by including the single `jacks-talk.json` string in IGNORE_FILES. By
checking the full path passed to `_include_path`, we can filter on a
more granular level.
2016-06-09 01:09:58 -04:00
..
tests Makes DEFAULT_DATE accept string dates; fixes #1464 2016-05-24 17:22:27 +03:00
themes Use <time> instead of <abbr>. 2015-11-05 22:28:46 +01:00
tools Merge pull request #1923 from Jangsea/use_ghp_import_push_option 2016-04-03 18:51:23 -07:00
__init__.py Don't fail if --fatal not provided 2016-01-18 13:04:52 +01:00
cache.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
contents.py More granular control of tags and categories slugs. Fixes #1873 2016-04-01 23:00:08 +03:00
generators.py Check full paths when excluding files 2016-06-09 01:09:58 -04:00
log.py Add --fatal=errors|warnings program option 2016-01-09 02:42:02 +01:00
paginator.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
readers.py Makes DEFAULT_DATE accept string dates; fixes #1464 2016-05-24 17:22:27 +03:00
rstdirectives.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
server.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
settings.py Avoid Markdown 2.6 deprecations; make MD_EXTENSIONS a dict 2015-11-30 18:12:28 +01:00
signals.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
urlwrappers.py Add AUTHOR_SUBSTITUTIONS 2016-04-01 23:01:57 +03:00
utils.py More granular control of tags and categories slugs. Fixes #1873 2016-04-01 23:00:08 +03:00
writers.py Fix #1291: Feeds have ambiguous titles on sites with multiple categories. 2016-04-17 10:42:52 -04:00