Enable reStructuredText rendering.

This commit is contained in:
Julien Palard 2022-11-17 21:27:41 +01:00
parent 8a9236c76f
commit b31c8d95e3
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
2 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,7 @@
# - make # for static file generation
- nginx
- jq # For upgrade.sh
- pandoc # For reStructuredText rendering
state: present
- name: Ensure locale en_US.UTF-8 exists

View File

@ -85,3 +85,9 @@ INSTALL_LOCK = true
INTERNAL_TOKEN = {{ gitea_internal_token }}
PASSWORD_HASH_ALGO = pbkdf2
LOGIN_REMEMBER_DAYS = 90
[markup.restructuredtext]
ENABLED = true
FILE_EXTENSIONS = .rst
RENDER_COMMAND = "timeout 30s pandoc +RTS -M512M -RTS -f rst"
IS_INPUT_FILE = false