source: orange/install-scripts/doc/compileDocumentation.btm @ 4686:c0c5fb94d833

Revision 4686:c0c5fb94d833, 1.3 KB checked in by tomazc <tomaz.curk@…>, 6 years ago (diff)
Line 
1@echo off
2
3if not exist processed mkdir processed
4cd processed
5
6set PATH=%PATH;"c:\Program Files\HTML Help Workshop"
7alias hhc `*hhc %1.hhp >& tmp   %+   for %line in (@tmp) (iff "%@left[3,%line]" == "HHC" .and. "%@left[8,%line]" != "HHC3004:" .and. "%@left[8,%line]" != "HHC1000:" then %+ echo %line %+ endiff) %+ del /q tmp`
8alias compile `..\htmlparser.py %1 %+ hhc %1`
9
10for %dir in (modules ofb reference widgets) (
11  echo ^n=== %dir
12  mkdir %dir 2> nul
13  copy /q %WEBDOCDIR\%dir %WEBDOCDIR\style.css %dir
14  iff exist %dir\default-chm.htm then
15    move /q %dir\default-chm.htm %dir\default.htm
16  endiff
17  compile %dir
18)
19
20echo ^n=== catalog
21mkdir catalog 2> nul
22copy /qs %WEBDOCDIR\widgets\catalog catalog
23copy /q %WEBDOCDIR\style.css catalog
24move /q catalog\default-chm.htm catalog\default.htm
25
26pushd
27cdd %SNAPSHOTDIR\orange\orangeCanvas
28python orngRegistry.py
29popd
30
31..\widgetCatalogs.py html "C:\Documents and Settings\cvso\Application Data\Orange\OrangeCanvas\widgetRegistry.xml" catalog >> catalog/default.htm
32..\widgetCatalogs.py hh "C:\Documents and Settings\cvso\Application Data\Orange\OrangeCanvas\widgetRegistry.xml" catalog > catalog/hhstructure.txt
33compile catalog
34
35cd ..
36copy %WEBDOCDIR\style.css
37hhc scripting
38hhc orange
39del style.css
40
41del /fsykxq processed
42move /q *.chm %WEBDOCDIR
43
44echo ^s
Note: See TracBrowser for help on using the repository browser.