mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add some files to the output, rename generator.py to bloggenerator.py
--HG-- rename : pelican/generator.py => pelican/bloggenerator.py
This commit is contained in:
parent
69c5fe3891
commit
8310ec98c4
4 changed files with 311 additions and 301 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
from pelican.generator import generate_output
|
||||
from pelican.bloggenerator import generate_blog
|
||||
import argparse
|
||||
|
||||
parser = argparse.ArgumentParser(description="""A tool to generate a
|
||||
|
|
@ -22,7 +22,7 @@ parser.add_argument('-b', '--debug', dest='debug', action='store_true')
|
|||
|
||||
|
||||
def run(args):
|
||||
generate_output(args.path, args.templates, args.output, args.markup,
|
||||
generate_blog(args.path, args.templates, args.output, args.markup,
|
||||
args.settings)
|
||||
print 'Done !'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue