DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); XMLMenu menu = api.cleanGlobalLeftMenu(); // have the same content for the left menu on the index and articles, and clean the content of the left menu
DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); ArticlesMenus menus = api.getMenus(); // get the menus XMLMenu menu = menus.cleanGlobalLeftMenu(); // have the same content for the left menu on the index and articles, and clean the content of the left menu api.addDefaultMenuItem(menu, DefaultMenuItem.DICTIONARY); // add a default menu item for the dictionary
DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); ArticlesMenus menus = api.getMenus(); // get the menus XMLMenu menu = menus.cleanGlobalLeftMenu(); // have the same content for the left menu on the index and articles, and clean the content of the left menu XMLArticle article = api.createArticle("the article"); api.addInternalMenuItem(menu, article);
DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); ArticlesMenus menus = api.getMenus(); // get the menus XMLMenu menu = menus.cleanGlobalLeftMenu(); // have the same content for the left menu on the index and articles, and clean the content of the left menu URL url = new URL("http://sourceforge.net/projects/docjgenerator/"); api.addExternalMenuItem(menu, "Sourceforge", url);
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.