@groovy.transform.CompileStatic class AsciidoctorJSetup extends Object implements Serializable
Sets AsciidoctorJ runtime.
Modifiers | Name | Description |
---|---|---|
static String |
ATTR_PROJECT_DIR |
|
static String |
ATTR_REL_SRC_DIR |
|
static String |
ATTR_ROOT_DIR |
Constructor and description |
---|
AsciidoctorJSetup
() |
Type Params | Return Type | Name and description |
---|---|---|
|
String |
getRelativePath(File target, File base) Returns the path of one File relative to another. |
|
Map<String, Object> |
normalisedOptionsFor(File file, ExecutorConfiguration runConfiguration) Normalises Asciidoctor options for a given source file. |
|
List<Object> |
rehydrateExtensions(Object registry, List<Object> exts) Rehydrates docExtensions that were serialised. |
Returns the path of one File relative to another.
target
- the target directorybase
- the base directoryNormalises Asciidoctor options for a given source file. Relativizes certain attributes and ensure specific options for backend, sage mode and output directory are in place.
file
- Source file to be convertedrunConfiguration
- The current executor configurationCopyright © 2013-2024 the original author or authors. All rights reserved.