mirror of
https://github.com/YunoHost-Apps/paperless-ngx_ynh.git
synced 2024-09-03 19:56:33 +02:00
5054e0eb8c
Re-do change of question type + expand help text
28 lines
1.1 KiB
TOML
28 lines
1.1 KiB
TOML
version = "1.0"
|
|
#name = "Paperless-ngx configuration panel"
|
|
|
|
[main]
|
|
name = "Paperless-ngx configuration"
|
|
|
|
[main.ocr]
|
|
name = "Set OCR languages"
|
|
services = ["__APP__", "__APP__-consumer","__APP__-scheduler","__APP__-task-queue"]
|
|
|
|
[main.ocr.ocr_language]
|
|
ask = "Which OCR languages should be perfomed on your documents"
|
|
type = "string"
|
|
default = "eng"
|
|
help = """\
|
|
Read this information: https://github.com/YunoHost-Apps/paperless-ngx_ynh/tree/master/doc/PRE_INSTALL.md\n\
|
|
If your language contains a '-' such as chi-sim, you must use chi_sim\n\
|
|
Examples:\n- eng\n- eng+fra\n- eng+fra+chi_sim"""
|
|
bind = "PAPERLESS_OCR_LANGUAGE:__INSTALL_DIR__/paperless.conf"
|
|
|
|
[main.ocr.ocr_invalidate_digital_signatures]
|
|
ask = "Do you want signed PDF files to be consumed?"
|
|
type = "string"
|
|
default = "{}"
|
|
help = """\
|
|
Write {"invalidate_digital_signatures": true} to the field if you want signed PDF files to be consumed. Read this information: https://github.com/paperless-ngx/paperless-ngx/discussions/4047\n\
|
|
"""
|
|
bind = "PAPERLESS_OCR_USER_ARGS:__INSTALL_DIR__/paperless.conf"
|