OutputConfig

class OutputConfig(val kslides: KSlides)

Controls where and how presentations are emitted. Configured via com.kslides.KSlides.output. Both output modes can be enabled simultaneously; if neither is enabled a warning is logged and no output is produced.

Constructors

Link copied to clipboard
constructor(kslides: KSlides)

Properties

Link copied to clipboard

Log level passed to Ktor's CallLogging plugin.

Link copied to clipboard

Directory on the classpath from which static content is served in HTTP mode.

Link copied to clipboard

When true, write static HTML files under outputDir. Default true.

Link copied to clipboard

When true, start a Ktor HTTP server serving the presentations. Default true.

Link copied to clipboard

HTTP port. Overridden at runtime by the PORT environment variable (Heroku convention).

Link copied to clipboard

Subdirectory of outputDir where Kroki diagram images are written.

Link copied to clipboard

back-reference to the owning KSlides instance.

Link copied to clipboard

Subdirectory of outputDir where Lets-Plot iframe HTML files are written.

Link copied to clipboard

Root directory for filesystem-mode output. Default "docs" (GitHub Pages / Netlify friendly).

Link copied to clipboard

Subdirectory of outputDir where Kotlin Playground iframe HTML files are written.

Link copied to clipboard

Directory containing the bundled reveal.js static assets (relative to the classpath).