JIRA: DOCS-6 - Add a build shell and a JJB for Octopus project
[releng.git] / jjb / octopus / 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
9 v
10 v
11