mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-17 03:06:17 +02:00
40 lines
1.2 KiB
ObjectPascal
40 lines
1.2 KiB
ObjectPascal
{
|
|
*****************************************************************************
|
|
* *
|
|
* See the file COPYING.modifiedLGPL.txt, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
Author: Mattias Gaertner
|
|
|
|
Abstract:
|
|
Example unit demonstrating how to register IDE online help for the sources
|
|
of a package.
|
|
}
|
|
unit PkgHelpDemoUnit1;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, HelpFPDoc;
|
|
|
|
procedure Register;
|
|
|
|
implementation
|
|
|
|
procedure Register;
|
|
begin
|
|
RegisterFPDocHTMLHelpForPackage('Demo Help DB','Demo Help Database',
|
|
'file://$PkgDir(DemoPackageWithHelp)/html','DemoPackageWithHelp');
|
|
end;
|
|
|
|
end.
|
|
|