+
+ //================================================================
+ void WxConsole::OnMenuCreateIndex(wxCommandEvent& WXUNUSED(event))
+ {
+ std::string doc_path = ConfigurationFile::GetInstance().Get_doc_path();
+ std::string filepath = doc_path+"/bbdoc/make-index.bbs";
+ Interpreter* I = new Interpreter;
+
+//EED std::cout << "bbi: include "<<filepath<<std::endl;
+//EED I->InterpretFile( filepath );
+
+ bool insideComment = false; // for multiline comment
+ I->InterpretLine( "exec freeze" ,insideComment );
+ I->InterpretLine( "include *" ,insideComment );
+ I->InterpretLine( "index "+doc_path+"/bbdoc/index-alpha.html Initials" ,insideComment );
+ I->InterpretLine( "index "+doc_path+"/bbdoc/index-package.html Packages" ,insideComment );
+ I->InterpretLine( "index "+doc_path+"/bbdoc/index-category.html Categories" ,insideComment );
+ I->InterpretLine( "index "+doc_path+"/bbdoc/index-adaptors.html Adaptors",insideComment );
+
+ delete I;
+ }
+ //================================================================
+
+
+