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