mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user