Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSources.AddDoc

Adds documentation sources to the collection

Declaration

Source position: fpmkunit.pp line 912

public function TSources.AddDoc(

  const AFiles: string

):TSource;

function TSources.AddDoc(

  const AFiles: string;

  AInstallSourcePath: string

):TSource;

Arguments

AFiles

  

List of documentation files to add

Function result

Newly created documentation source item

Arguments

AFiles

  

List of documentation files to add

AInstallSourcePath

  

Installation path for documentation sources

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.


Documentation generated on: Dec 15 2025