Fix asciidoc rendering (for h1)

Added -d book to the asciidoc call.
This commit is contained in:
Alexandre Bourget
2007-08-28 10:41:16 -04:00
parent 4adf074840
commit a317585d1b

View File

@ -114,7 +114,8 @@ function compile_page($hash, $page) {
$output = '';
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc --no-header-footer -", 'r');
// -d book so we can render H1s
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -d book --no-header-footer -", 'r');
if (!$p) {
return "Unable to compile file: $page ($hash)\n";