From: cascade Date: Wed, 2 Aug 2006 17:43:31 +0000 (+0000) Subject: Improvments for OCCTDocumentation generation and WOK tuning for IRIX64 platform X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=70db16020a447f8088109408c652743efe2ac528;p=occt-wok.git Improvments for OCCTDocumentation generation and WOK tuning for IRIX64 platform --- diff --git a/src/WOKTclLib/DocGenerate.tcl b/src/WOKTclLib/DocGenerate.tcl index 357b79b..d1f35b9 100755 --- a/src/WOKTclLib/DocGenerate.tcl +++ b/src/WOKTclLib/DocGenerate.tcl @@ -1,6 +1,6 @@ -proc DocGenerate {theModule outDir} { +proc DocGenerate {theModule outDir isSearch} { global tcl_platform global env @@ -94,7 +94,10 @@ proc DocGenerate {theModule outDir} { puts $fileid "GENERATE_HTML = YES" puts $fileid "GENERATE_LATEX = NO" puts $fileid "SEARCH_INCLUDES = YES" - puts $fileid "GENERATE_TAGFILE = $outDir/${theModule}.tag" +# puts $fileid "GENERATE_TAGFILE = $outDir/${theModule}.tag" + if {[string compare $isSearch "TRUE"] == 0} { + puts $fileid "SEARCHENGINE = YES" + } puts $fileid "HAVE_DOT = YES" puts $fileid "DOT_PATH = [wokparam -v %CSF_GRAPHVIZ_HOME]" puts $fileid "COLLABORATION_GRAPH = NO" diff --git a/src/WOKTclLib/OCCTDocumentation.tcl b/src/WOKTclLib/OCCTDocumentation.tcl index e5dc205..c47628b 100755 --- a/src/WOKTclLib/OCCTDocumentation.tcl +++ b/src/WOKTclLib/OCCTDocumentation.tcl @@ -1,9 +1,6 @@ -set OCCTDoc_DocLocation $env(OCCTDoc_Location) - set OCCTDoc_DescriptionUnit "OS" -proc OCCTDoc_UpdateDoxygenDocumentation {} { - global OCCTDoc_RWorkbench +proc OCCTDoc_UpdateDoxygenDocumentation {OCCTDoc_DocLocation isSearch} { global OCCTDoc_DescriptionUnit set path_RWorkbench [pwd] @@ -59,22 +56,20 @@ proc OCCTDoc_UpdateDoxygenDocumentation {} { } # creating of main HTML page - set retValue [OCCTDoc_CreateMainDoc $modulesList $toolkitsListOfList $packagesListOfListOfList] + set retValue [OCCTDoc_CreateMainDoc $OCCTDoc_DocLocation $isSearch $modulesList $toolkitsListOfList $packagesListOfListOfList] if {$retValue == 1} { puts "It is impossible to update documentation created by doxygen." return } } -proc OCCTDoc_CreateMainDoc {modulesList toolkitsListOfList packagesListOfListOfList} { - global OCCTDoc_DocLocation +proc OCCTDoc_CreateMainDoc {OCCTDoc_DocLocation isSearch modulesList toolkitsListOfList packagesListOfListOfList} { set file_modulesHTML [open $OCCTDoc_DocLocation/index.html {CREAT TRUNC RDWR}] puts $file_modulesHTML "" puts $file_modulesHTML "" puts $file_modulesHTML "OpenCASCADE Modules" puts $file_modulesHTML "" puts $file_modulesHTML "" -# puts $file_modulesHTML "
OCC Main Page | OCC Modules
" puts $file_modulesHTML "

OpenCASCADE
Modules

" puts $file_modulesHTML "
" puts $file_modulesHTML "