X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5eeb9dace6068f83e2b70b5222cfab0c0a5e71eb..281a6f613c78ffd1fa81951db829a5551fd2e42d:/wolnelektury/settings/custom.py?ds=sidebyside diff --git a/wolnelektury/settings/custom.py b/wolnelektury/settings/custom.py index 9abb5edd3..6bf5a8806 100644 --- a/wolnelektury/settings/custom.py +++ b/wolnelektury/settings/custom.py @@ -1,23 +1,24 @@ -PAGINATION_INVALID_PAGE_RAISES_404 = True -THUMBNAIL_QUALITY = 95 -TRANSLATION_REGISTRY = "wolnelektury.translation" - - # seconds until a changes appears in the changes api API_WAIT = 10 # limit number of filtering tags MAX_TAG_LIST = 6 +NO_SEARCH_INDEX = False NO_BUILD_EPUB = False NO_BUILD_TXT = False -NO_BUILD_PDF = False -NO_BUILD_MOBI = False -NO_SEARCH_INDEX = False +NO_BUILD_FB2 = False +# You'll need XeLaTeX to generate PDF files. +NO_BUILD_PDF = True +NO_CUSTOM_PDF = True +# You'll need Calibre installed to generate MOBI files. +NO_BUILD_MOBI = True + ALL_EPUB_ZIP = 'wolnelektury_pl_epub' ALL_PDF_ZIP = 'wolnelektury_pl_pdf' ALL_MOBI_ZIP = 'wolnelektury_pl_mobi' +ALL_FB2_ZIP = 'wolnelektury_pl_fb2' CATALOGUE_DEFAULT_LANGUAGE = 'pol' PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proofreading/?published=false' @@ -25,9 +26,13 @@ PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proo # limit rate for ebooks creation CATALOGUE_PDF_RATE_LIMIT = '1/m' CATALOGUE_EPUB_RATE_LIMIT = '6/m' +CATALOGUE_FB2_RATE_LIMIT = '5/m' CATALOGUE_MOBI_RATE_LIMIT = '5/m' CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m' # set to 'new' or 'old' to skip time-consuming test # for TeX morefloats library version LIBRARIAN_PDF_MOREFLOATS = None + +# Max memory used by search +JVM_MAXHEAP = '256m'