aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMartin <5703553+pre-martin@users.noreply.github.com>2020-09-02 17:01:28 +0200
committerGitHub <noreply@github.com>2020-09-02 11:01:28 -0400
commita0c4c1ce0d1b09a693b7cde8cc2a6ba84068fb64 (patch)
tree0b2f237f182c87015e2e2da04497d3020a9da4ba /docs
parent3270e7a4435fceb757728dfc319fc04077a37caf (diff)
downloadgitea-a0c4c1ce0d1b09a693b7cde8cc2a6ba84068fb64.tar.gz
gitea-a0c4c1ce0d1b09a693b7cde8cc2a6ba84068fb64.zip
Fixes cli error for Asciidoctor (#12677)
The original fix for #8676 introduced illegal arguments for Asciidoctor, causing no rendering at all. This PR fixes the command line arguments so that Asciidoctor properly renders the text. See https://asciidoctor.org/docs/user-manual/#piping-content-through-the-cli as reference.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/external-renderers.en-us.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/advanced/external-renderers.en-us.md b/docs/content/doc/advanced/external-renderers.en-us.md
index db5baf6060..94c8763a78 100644
--- a/docs/content/doc/advanced/external-renderers.en-us.md
+++ b/docs/content/doc/advanced/external-renderers.en-us.md
@@ -53,7 +53,7 @@ add one `[markup.XXXXX]` section per external renderer on your custom `app.ini`:
[markup.asciidoc]
ENABLED = true
FILE_EXTENSIONS = .adoc,.asciidoc
-RENDER_COMMAND = "asciidoctor -e -a leveloffset=-1 --out-file=- -"
+RENDER_COMMAND = "asciidoctor -s -a showtitle --out-file=- -"
; Input is not a standard input but a file
IS_INPUT_FILE = false
@@ -93,4 +93,4 @@ To define multiple entries, add a unique alphanumeric suffix (e.g., `[markup.san
Once your configuration changes have been made, restart Gitea to have changes take effect.
**Note**: Prior to Gitea 1.12 there was a single `markup.sanitiser` section with keys that were redefined for multiple rules, however,
-there were significant problems with this method of configuration necessitating configuration through multiple sections. \ No newline at end of file
+there were significant problems with this method of configuration necessitating configuration through multiple sections.