mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
forge: enable adoc render for staging
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
@@ -626,6 +626,16 @@ gitea:
|
||||
## @param gitea.config.markup Configuration for advanced markup processors
|
||||
markup: {}
|
||||
|
||||
{% if env == "staging" %}
|
||||
markup.asciidoc:
|
||||
ENABLED:true
|
||||
NEED_POSTPROCESS = true
|
||||
FILE_EXTENSIONS = .adoc,.asciidoc
|
||||
RENDER_COMMAND = "asciidoctor --embedded --safe-mode=secure --out-file=- -"
|
||||
IS_INPUT_FILE = false
|
||||
RENDER_CONTENT_MODE: sanitized
|
||||
{% endif %}
|
||||
|
||||
## @param gitea.config.highlight.mapping File extension to language mapping overrides for syntax highlighting
|
||||
highlight.mapping: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user