forked from github/pelican
Merge pull request #1978 from bnice5000/patch-1
Respect OUTPUT_RETENTION for Fabric "rebuild" task
This commit is contained in:
commit
de0b6dc6aa
1 changed files with 2 additions and 3 deletions
|
|
@ -37,9 +37,8 @@ def build():
|
|||
local('pelican -s pelicanconf.py')
|
||||
|
||||
def rebuild():
|
||||
"""`clean` then `build`"""
|
||||
clean()
|
||||
build()
|
||||
"""`build` with the delete switch"""
|
||||
local('pelican -d -s pelicanconf.py')
|
||||
|
||||
def regenerate():
|
||||
"""Automatically regenerate site upon file modification"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue