forge: enable adoc render for staging

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lerch
2025-10-30 12:35:01 +10:00
parent 67b6e258ef
commit 453044464f

View File

@@ -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: {}