forked from github/pelican
Merge pull request #1982 from adeverteuil/feature_check_static_modified
Add static file options: hard/symlink & only-when-modified
This commit is contained in:
commit
d4435ea874
4 changed files with 261 additions and 26 deletions
|
|
@ -230,6 +230,20 @@ Basic settings
|
|||
``PAGE_PATHS``. If you are trying to publish your site's source files,
|
||||
consider using the ``OUTPUT_SOURCES`` setting instead.
|
||||
|
||||
.. data:: STATIC_CREATE_LINKS = False
|
||||
|
||||
Create links instead of copying files. If the content and output
|
||||
directories are on the same device, then create hard links. Falls
|
||||
back to symbolic links if the output directory is on a different
|
||||
filesystem. If symlinks are created, don't forget to add the ``-L``
|
||||
or ``--copy-links`` option to rsync when uploading your site.
|
||||
|
||||
.. data:: STATIC_CHECK_IF_MODIFIED = False
|
||||
|
||||
If set to ``True``, and ``STATIC_CREATE_LINKS`` is ``False``, compare
|
||||
mtimes of content and output files, and only copy content files that
|
||||
are newer than existing output files.
|
||||
|
||||
.. data:: TYPOGRIFY = False
|
||||
|
||||
If set to True, several typographical improvements will be incorporated into
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue