root/trunk/publishing/scripts/4_create_documents.sh @ 324

Revision 324, 0.9 KB (checked in by behrens, 5 years ago)

modified scripts

RevLine 
[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
12mfiles_dir=../../mfiles
13doc_dir=../../doc
14output_dir=../output
15root_dir=../../root
16demos_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.)
23echo
24echo "--------------------------------------------------------------"
25echo "Create html files from /doc/m2html/*.m files..."
26matlab -nosplash -r "publishM2HtmlFiles(); exit;"
27
28
29# B
30###############################
31# remove style sheets from the html files and add header banner
32echo
33echo "--------------------------------------------------------------"
34echo "Remove styles sheets from the html files..." 
35mkdir $doc_dir/m2html/out
36python remove_styles2.py $output_dir/doc/functions $doc_dir/m2html/out/*.html
37
38
39
Note: See TracBrowser for help on using the browser.