|
Revision 324, 0.9 KB
(checked in by behrens, 5 years ago)
|
|
modified scripts
|
| Rev | Line | |
|---|
| [324] | 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | # Signature: |
|---|
| 5 | # Author: Alexander Behrens |
|---|
| 6 | # E-Mail: behrens@lfb.rwth-aachen.de |
|---|
| 7 | # Date: 2008-07-17 |
|---|
| 8 | # |
|---|
| 9 | # Copyright 2007-2008 |
|---|
| 10 | |
|---|
| 11 | # set parameter / paths |
|---|
| 12 | mfiles_dir=../../mfiles |
|---|
| 13 | doc_dir=../../doc |
|---|
| 14 | output_dir=../output |
|---|
| 15 | root_dir=../../root |
|---|
| 16 | demos_dir=../../demos |
|---|
| 17 | #v_html_dir="html_dir" |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | # F |
|---|
| 21 | ############################### |
|---|
| 22 | # create html from m-files in /doc/m2html/ --> doc/functions/ (e.g. Functions Overview etc.) |
|---|
| 23 | echo |
|---|
| 24 | echo "--------------------------------------------------------------" |
|---|
| 25 | echo "Create html files from /doc/m2html/*.m files..." |
|---|
| 26 | matlab -nosplash -r "publishM2HtmlFiles(); exit;" |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | # B |
|---|
| 30 | ############################### |
|---|
| 31 | # remove style sheets from the html files and add header banner |
|---|
| 32 | echo |
|---|
| 33 | echo "--------------------------------------------------------------" |
|---|
| 34 | echo "Remove styles sheets from the html files..." |
|---|
| 35 | mkdir $doc_dir/m2html/out |
|---|
| 36 | python remove_styles2.py $output_dir/doc/functions $doc_dir/m2html/out/*.html |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | |
|---|