5718b07c8d6d4cddd6cf7936445082d43ff2ce0b
[releng.git] / jjb / opnfvdocs / build-docu.sh
1 #!/bin/bash
2 for file in $(find . -type f -iname '*.rst'); do
3         file_cut="${{file%.*}}"
4         html_file=$file_cut".html"
5         pdf_file=$file_cut".pdf"
6         rst2html $file > $html_file
7         rst2pdf $file -o $pdf_file
8 done