mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 03:59:10 +02:00
IDE: main help page: default base is now $(LazarusDir)/docs
git-svn-id: trunk@22526 -
This commit is contained in:
parent
e82ba209ae
commit
41c81e64f5
@ -677,12 +677,12 @@ procedure TIDEHelpManager.RegisterIDEHelpDatabases;
|
||||
FMainHelpDB:=HelpDatabases.CreateHelpDatabase(lihcStartPage,
|
||||
THTMLHelpDatabase,true);
|
||||
HTMLHelp:=FMainHelpDB as THTMLHelpDatabase;
|
||||
FMainHelpDBPath:=THelpBasePathObject.Create('$(LazarusDir)');
|
||||
FMainHelpDBPath:=THelpBasePathObject.Create('$(LazarusDir)/docs');
|
||||
HTMLHelp.BasePathObject:=FMainHelpDBPath;
|
||||
|
||||
// HTML nodes for the IDE
|
||||
StartNode:=THelpNode.CreateURLID(HTMLHelp,'Lazarus',
|
||||
'file://docs/index.html',lihcStartPage);
|
||||
'file://index.html',lihcStartPage);
|
||||
HTMLHelp.TOCNode:=THelpNode.Create(HTMLHelp,StartNode);// once as TOC
|
||||
HTMLHelp.RegisterItemWithNode(StartNode);// and once as normal page
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user