Replaced util/pod2rst-fixed with util/pod2rst-fixed, which includes the fixes in util/fix-pod2rst-output, but also uses the link callback to fix 927955, and also tentatively resolves 898665

This commit is contained in:
Brian Fraser
2012-11-07 09:35:32 -03:00
parent 86de49e727
commit 71edacd9da
3 changed files with 102 additions and 79 deletions

View File

@@ -70,18 +70,9 @@ write_rst() {
warn "$file does not exist"
return
fi
local tool=$(basename $file)
cat $file | pod2rst > $RST_DIR/$tool.orig.rst
if [ $? -eq 0 ]; then
$BRANCH/util/fix-pod2rst-output $RST_DIR/$tool.orig.rst $tool \
> $RST_DIR/$tool.rst
echo "Wrote $RST_DIR/$tool.rst"
else
warn "Error writing $RST_DIR/tool.rst"
fi
rm $RST_DIR/$tool.orig.rst
$BRANCH/util/pod2rst-fixed $file > $RST_DIR/$tool.rst
echo "Wrote $RST_DIR/$tool.rst"
}
# Parse the head1 sections from percona-toolkit.pod and write them as