vpp/docs/scripts/prepare-for-site.sh
Nathan Skrzypczak 55c68c9521 docs: Small fixes and ordering
* deactivtates the TODOs on doxygen (were empty)
* This move punt.md to readthedocs (should be the new
place for dev doc ?)
* Makes Handoff queue demo plugin a child of dev doc
in doxygen

Type: fix

Change-Id: I1f0476a911b35208212af8dd608bc76160efd22a
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-08-01 18:01:57 +00:00

19 lines
332 B
Bash
Executable File

#!/bin/bash
if [ ! -d "docs" ]; then
echo "This script is meant to be run from the root directory"
exit 1;
fi
for f in $(find ./docs -type l)
do
target=$(readlink $f)
rm $f
cp $(dirname $f)/$target $(dirname $f)/$(basename $target)
echo "Replaced symlink $f"
done
echo "Cleaning doc build directory"
make docs-clean