Skip to content

TSources.AddDoc

Adds documentation sources to the collection

Declaration

Source position: fpmkunit.pp line 916

public 
function AddDoc(const AFiles: string) : TSource;

function AddDoc(const AFiles: string; AInstallSourcePath: string)
                : TSource;

Description

Creates and adds a new documentation source entry that specifies files to be installed in the documentation directory. The files are copied during installation to the configured documentation installation path.

Documentation sources typically include readme files, manuals, API documentation, and other informational content for the package.