| Type | Name and description |
|---|---|
static String |
TOC_FILENAME |
AntBuilder |
antThe AntBuilder instance to use |
File |
apiDirDirectory containing the project's API documentation. |
boolean |
asciidoc |
String |
authorsThe authors of the documentation |
boolean |
bookmarksWhether to generate bookmarks for PDF |
String |
copyrightThe copyright message |
File |
cssThe directory containing any CSS to use (will override defaults) |
String |
encodingThe encoding to use (default is UTF-8) |
Properties |
enginePropertiesProperties used to configure the DocEngine |
Properties |
engineProperties |
File |
fontsThe directory containing any fonts to use (will override defaults) |
String |
footerThe footer to include |
File |
imagesThe directory containing any images to use (will override defaults) |
File |
jsThe directory containing any Javascript to use (will override defaults) |
String |
languageThe language we're generating for (gets its own sub-directory). |
String |
licenseThe documentation license |
String |
logoHTML markup that renders the left logo |
Object |
output |
File |
propertiesFileThe properties fie to populate the engine properties from |
String |
singleHtmlthe file name of the generated html |
String |
singlePdfthe file name of the generated PDF |
String |
sourceRepoThe source repository |
String |
sponsorLogoHTML markup that renders the right logo |
File |
srcThe source directory of the documentation |
File |
styleThe directory containing any templates to use (will override defaults) |
String |
subtitleThe subtitle of the documentation |
File |
targetThe target directory to publish to |
String |
titleThe title of the documentation |
String |
translatorsThe translators of the documentation (if any) |
String |
versionThe version of the documentation |
File |
workDirThe temporary work directory |
| Constructor and description |
|---|
DocPublisher() |
DocPublisher(File src, File target, Object out) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Properties |
getEngineProperties()Returns the engine properties. |
|
protected void |
initialize() |
|
void |
publish() |
|
void |
publishPdf() |
|
void |
registerMacro(Object macro)Registers a custom Radeox macro. |
|
void |
setEngineProperties(Properties p)Sets the engine properties. |
|
protected Object |
verifyToc(File baseDir, Object gdocFiles, Object toc)Checks the table of contents (a tree of UserGuideNodes) for duplicate section/alias names and invalid file paths. |
|
void |
writeChapter(Object section, Template layoutTemplate, Template sectionTemplate, File guideSrcDir, String targetDir, Object fullContents, Object vars) |
|
String |
writePage(Object section, Template layoutTemplate, Template sectionTemplate, File guideSrcDir, String targetDir, String subDir, Object path, Object level, Object vars) |
The AntBuilder instance to use
Directory containing the project's API documentation.
The authors of the documentation
Whether to generate bookmarks for PDF
The copyright message
The directory containing any CSS to use (will override defaults)
The encoding to use (default is UTF-8)
Properties used to configure the DocEngine
The directory containing any fonts to use (will override defaults)
The footer to include
The directory containing any images to use (will override defaults)
The directory containing any Javascript to use (will override defaults)
The language we're generating for (gets its own sub-directory). Defaults to ''
The documentation license
HTML markup that renders the left logo
The properties fie to populate the engine properties from
the file name of the generated html
the file name of the generated PDF
The source repository
HTML markup that renders the right logo
The source directory of the documentation
The directory containing any templates to use (will override defaults)
The subtitle of the documentation
The target directory to publish to
The title of the documentation
The translators of the documentation (if any)
The version of the documentation
The temporary work directory
Returns the engine properties.
Registers a custom Radeox macro. If the macro has an 'initialContext' property, it is set to the render context before first use.
Sets the engine properties. Allows clients to override the defaults.
Checks the table of contents (a tree of UserGuideNodes) for duplicate section/alias names and invalid file paths.
false if any errors are detected.