innoconv.runner¶
The innoConv runner is the core of the conversion process.
It traverses the source directory recursively and finds all content files. These are converted one-by-one to JSON. Under the hood is uses Pandoc.
It receives a list of extensions that are instantiated and notified upon
certain events. The events are documented in
AbstractExtension
.
-
class
innoconv.runner.
InnoconvRunner
(source_dir, output_dir, manifest, extensions)[source]¶ Convert content files in a directory tree.
- Parameters
source_dir (str) – Content source directory.
output_dir (str) – Output directory.
manifest (innoconv.manifest.Manifest) – Content manifest.