#!/bin/sh # Signature: # Author: Alexander Behrens # E-Mail: behrens@lfb.rwth-aachen.de # Date: 2008-07-17 # # Copyright 2007-2008 # set parameter / paths mfiles_dir=../../mfiles doc_dir=../../doc output_dir=../output root_dir=../../root demos_dir=../../demos #v_html_dir="html_dir" # F ############################### # create html from m-files in /doc/m2html/ --> doc/functions/ (e.g. Functions Overview etc.) echo echo "--------------------------------------------------------------" echo "Create html files from /doc/m2html/*.m files..." matlab -nosplash -r "publishM2HtmlFiles(); exit;" # B ############################### # remove style sheets from the html files and add header banner echo echo "--------------------------------------------------------------" echo "Remove styles sheets from the html files..." mkdir $doc_dir/m2html/out python remove_styles2.py $output_dir/doc/functions $doc_dir/m2html/out/*.html