forked from github/pelican
Move PDF generation to a plugin. Fixes #1009
This commit is contained in:
parent
1b904ae767
commit
dfc3a7ce2f
2 changed files with 2 additions and 50 deletions
|
|
@ -14,8 +14,8 @@ import collections
|
|||
from pelican import signals
|
||||
|
||||
from pelican.generators import (ArticlesGenerator, PagesGenerator,
|
||||
StaticGenerator, PdfGenerator,
|
||||
SourceFileGenerator, TemplatePagesGenerator)
|
||||
StaticGenerator, SourceFileGenerator,
|
||||
TemplatePagesGenerator)
|
||||
from pelican.log import init
|
||||
from pelican.settings import read_settings
|
||||
from pelican.utils import clean_output_dir, folder_watcher, file_watcher
|
||||
|
|
@ -199,8 +199,6 @@ class Pelican(object):
|
|||
|
||||
if self.settings['TEMPLATE_PAGES']:
|
||||
generators.append(TemplatePagesGenerator)
|
||||
if self.settings['PDF_GENERATOR']:
|
||||
generators.append(PdfGenerator)
|
||||
if self.settings['OUTPUT_SOURCES']:
|
||||
generators.append(SourceFileGenerator)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue