3 # Simplistic script to rebuild our documentation with sphinx-build
5 rm -rf build/doxy/ source/api/
6 sphinx-build -M html source build ${SPHINXOPTS}
7 cat source/img/graphical-toc.svg \
8 | perl -pe 's/(xlink:href="http)/target="_top" $1/' \
9 | perl -pe 's/(xlink:href=".*?.html)/target="_top" $1/' \
10 > build/html/graphical-toc.svg