Skip to content
Snippets Groups Projects
Commit 9474a760 authored by Alexandre Bourget's avatar Alexandre Bourget
Browse files

Enable icons rendering.

parent ed9d305b
Branches
Tags
No related merge requests found
......@@ -140,8 +140,9 @@ function compile_page($hash, $page) {
// keep return the hash
$fnconf = bring_local_file('asciidoc.conf');
// -d book so we can render H1s
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -f \"".$fnconf."\" -d book --no-header-footer - 2>&1", 'r');
// -d book, so we can render H1s
// -a icons, enables the display of graphic icons in admonition blocks.
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -a icons -f \"".$fnconf."\" -d book --no-header-footer - 2>&1", 'r');
if (!$p) {
return "Unable to compile file: $page ($hash)\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment