docGeneratorAPI.jar
Jar file in your classpath. This small Jar depends on the main docGenerator.jar
jar file. You can either:docGenerator.jar
jar file alongside the docGeneratorAPI.jar
in the same directorydocGenerator.jar
jar file in your ClasspathDocGeneratorAPI
classArticlesModel
which is the result of the createModel()
method, or by using direct methods in the API.
DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); api.setOutputDirectory(<the wiki directory>); // add a sentence in the index api.addSentence(api.getIndex(), "this is the index"); // create an article XMLArticle article = api.createArticle("article1"); // add a sentence in the article api.addSentence(article, "this is the article"); // generate the wiki (the output directory existing content will be cleaned prior to the generation) api.writeContent(true);
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.