mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
This makes it easier for StaticGenerator to walk FILES_TO_COPY, where the input may be a directory or a bare filename. Non-traversable file types (e.g. everything but directories and symlinks to directories) are not checked against the exclude list. The user-level effect of this is that explicit entries in STATIC_PATHS or FILES_TO_COPY will override a hypothetical STATIC_EXCLUDES setting, which seems like a reasonable approach. I also removed the Python 2.5 compatibility check for `followlinks` in os.walk, since Pelican is now Python >=2.7. |
||
|---|---|---|
| .. | ||
| plugins | ||
| tests | ||
| themes | ||
| tools | ||
| __init__.py | ||
| contents.py | ||
| generators.py | ||
| log.py | ||
| paginator.py | ||
| readers.py | ||
| rstdirectives.py | ||
| server.py | ||
| settings.py | ||
| signals.py | ||
| utils.py | ||
| writers.py | ||