DocsModuleHandler

abstract class DocsModuleHandler(projectDir: File, docsGenerator: DocsGenerator)

Abstract class handling documentation module tasks.

Parameters

projectDir

The root directory of the project.

docsGenerator

A DocsGenerator instance for generating documentation.

Constructors

Link copied to clipboard
constructor(projectDir: File, docsGenerator: DocsGenerator)

Functions

Link copied to clipboard
abstract fun manageDependencies()

Manages dependencies for the documentation module. (Implementations should provide specific logic).

Link copied to clipboard
abstract fun updateMkDocs(mkDocsPath: String = "mkdocs.yml", section: String = "Changelog")

Updates the MkDocs configuration file. (Implementations should provide specific logic).

Link copied to clipboard
fun writeMkDocs(mkDocsPath: String, section: String, version: String)

Writes a new entry to the specified section in the MkDocs Changelog.

Link copied to clipboard
abstract fun writeReleaseNotes()

Writes release notes for the current version. (Implementations should provide specific logic).