HtmlOptions

data class HtmlOptions(val baseUrl: String? = null, val title: String? = null, val llmsTxtContent: String? = null, val isMarkdownMirrorAvailable: Boolean = false)

Options for HTML generation.

Parameters

baseUrl

the base URL to use for resolving relative paths in the generated HTML, without a trailing slash, e.g. https://example.com

title

overrides the document name used in the HTML <title> tag. If null, the document name is used

llmsTxtContent

the content to include in the llms.txt file, if any. If null, no llms.txt file is generated

isMarkdownMirrorAvailable

whether llms.txt should link to Markdown files rather than HTML. Markdown generation is handled externally

Constructors

Link copied to clipboard
constructor(baseUrl: String? = null, title: String? = null, llmsTxtContent: String? = null, isMarkdownMirrorAvailable: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard