forked from AFPy/infra
Enable reStructuredText rendering.
This commit is contained in:
parent
8a9236c76f
commit
b31c8d95e3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user