[Rt-commit] rt branch, 4.4/static-docs-duplicated-index-fix, created. rt-4.4.2-229-g6f3e8e14d
? sunnavy
sunnavy at bestpractical.com
Thu May 3 14:19:54 EDT 2018
The branch, 4.4/static-docs-duplicated-index-fix has been created
at 6f3e8e14dcf30fd5da602ab3e74ebdcc1634cfa0 (commit)
- Log -----------------------------------------------------------------
commit 6f3e8e14dcf30fd5da602ab3e74ebdcc1634cfa0
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri May 4 02:10:07 2018 +0800
Avoid duplicated items in index.html
Run converter twice added duplicated items to index.html, and undef
contents_file could fix this. The index call($converter->index(0)) can't
fix it BTW.
diff --git a/devel/tools/rt-static-docs b/devel/tools/rt-static-docs
index e5b26d7c6..25350ae7c 100755
--- a/devel/tools/rt-static-docs
+++ b/devel/tools/rt-static-docs
@@ -186,6 +186,7 @@ system_chmod("+x", $_) for <docs/UPGRADING*>;
$converter->batch_convert( \@dirs, $opts{to} );
# Run it again to make sure local links are linked correctly
+$converter->contents_file(undef);
$converter->batch_convert( \@dirs, $opts{to} );
# Remove execution bit from workaround above
-----------------------------------------------------------------------
More information about the rt-commit
mailing list