DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); // create an article which will be usable as a reference but will not be written OpaqueArticle opaqueArticle = api.createOpaqueArticle("the opaque article"); // create a second article and adds a paragraph XMLArticle article2 = api.createArticle("the second article"); // add a reference to the opaque article api.addReference(article2, "the opaque article", "the opaque reference"); // could also be done with: api.addReference(article2, opaqueArticle, "the reference");
DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); // create an opaque article OpaqueArticle opaqueArticle = api.createOpaqueArticle("the opaque article"); opaqueArticle.setDefaultContent("Default content for the opaque article");
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.