root/alternc-doc/trunk/makeframeset.sh

Revision 1650, 501 bytes (checked in by benjamin, 2 years ago)

adding frameset management to alternc-doc

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2
3 # Make a frameset toc from the admin and user documentation root :
4
5 cd admin.html
6
7 # Crée le menu contenant la table des matières :
8 cat ../menu.top.html >menu.html
9
10 cat index.html | \
11  grep "<div class=\"toc\">" | \
12  sed -e 's/^.*<div class=\"toc\">\(.*\)<div class=\"navfooter\">.*$/\1/' | \
13  sed -e 's/href="\([^"\#]*\)\(\#\?\)\([^"]*\)"/href="\1\2\3" name="\1_\3"/g' \
14  >>menu.html
15
16 cat ../menu.bottom.html >>menu.html
17 # Copie le fichier frameset
18 cp ../frameset.admin.php frameset.php
19
Note: See TracBrowser for help on using the browser.