2 #include <bbtkInterpreter.h>
3 #include <bbtkConfigurationFile.h>
5 //==========================================================================
6 int main(int argc, char **argv)
9 bbtk::Interpreter::Pointer I = bbtk::Interpreter::New();
10 I->SetCommandLine(true);
14 std::string doc_path = bbtk::ConfigurationFile::GetInstance().Get_doc_path();
15 doc_path += bbtk::ConfigurationFile::GetInstance().Get_file_separator();
17 doc_path += bbtk::ConfigurationFile::GetInstance().Get_file_separator();
19 I->InterpretLine( "exec freeze");
20 I->InterpretLine( "include *");
21 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Initials,doc_path + "index-alpha.html");
22 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Packages,doc_path + "index-package.html");
23 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Categories,doc_path + "index-category.html");
24 I->GetExecuter()->GetFactory()->CreateHtmlIndex(bbtk::Factory::Adaptors,doc_path + "index-adaptors.html");
28 //==========================================================================