Настройки
This commit is contained in:
parent
11e041c59a
commit
02dddfeb08
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,6 @@
|
||||
cache/*
|
||||
cache-full/*
|
||||
cache-html/*
|
||||
output/*
|
||||
__pycache__
|
||||
wiki/trash
|
||||
|
2
Makefile
2
Makefile
@ -5,5 +5,5 @@ pdf:
|
||||
pelican -s pelicanconf-full.py
|
||||
|
||||
clean:
|
||||
rm -rf cache __pycache__
|
||||
rm -rf cache-html cache-full cache __pycache__
|
||||
|
||||
|
@ -35,6 +35,7 @@ SITENAME = 'ДСП'
|
||||
SITEURL = 'https://dsp.246060.ru'
|
||||
|
||||
PATH = 'wiki'
|
||||
CACHE_PATH = 'cache-full'
|
||||
|
||||
TIMEZONE = 'Europe/Moscow'
|
||||
|
||||
@ -84,7 +85,7 @@ I18N_GETTEXT_DOMAIN = 'messages'
|
||||
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
|
||||
|
||||
PLUGIN_PATHS = ["plugins/official", "plugins/thirdparty"]
|
||||
PLUGINS = [i18n(), "pandoc_reader", "pelican-css", "pelidoc", "series", "subcategory", "tag_cloud", "tipue_search", "plantuml"]
|
||||
PLUGINS = [i18n(), "pandoc_reader", "pelican-css", "pelidoc", "series", "subcategory", "tag_cloud", "tipue_search", "plantuml", "replacer"]
|
||||
#PLUGINS = ["better_tables", "just_table"]
|
||||
|
||||
PDF_PROCESSOR = True
|
||||
@ -117,6 +118,11 @@ PANDOC_MARKDOWN_EXTENSIONS = [
|
||||
|
||||
PANDOC_EXTENSIONS = PANDOC_MARKDOWN_EXTENSIONS
|
||||
|
||||
REPLACES = (
|
||||
(u'output/images/', u'images/'),
|
||||
)
|
||||
|
||||
|
||||
YUICOMPRESSOR_EXECUTABLE = "yui-compressor"
|
||||
YUICOMPRESSOR_EXTRA_OPTIONS = ["--nomunge"]
|
||||
PLUGINS += ["yuicompressor-opt"]
|
||||
|
@ -35,6 +35,7 @@ SITENAME = 'ДСП'
|
||||
SITEURL = 'https://dsp.246060.ru'
|
||||
|
||||
PATH = 'wiki'
|
||||
CACHE_PATH = 'cache-html'
|
||||
|
||||
TIMEZONE = 'Europe/Moscow'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user