mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 04:39:45 +02:00
Docs: build_lcl_docs. Sets an explicit title for CHM files used in the LHelp TOC navigation tree. Issue #28500.
This commit is contained in:
parent
2f59545512
commit
b0d263f11d
@ -375,6 +375,13 @@ begin
|
|||||||
Params.Add('--auto-toc');
|
Params.Add('--auto-toc');
|
||||||
Params.Add('--auto-index');
|
Params.Add('--auto-index');
|
||||||
Params.Add('--make-searchable');
|
Params.Add('--make-searchable');
|
||||||
|
|
||||||
|
// set an explicit title used in the LHelp TOC navigation tree
|
||||||
|
if (LowerCase(PackageName) = 'lcl') then
|
||||||
|
Params.Add('--chm-title="(LCL) Lazarus Component Library"')
|
||||||
|
else
|
||||||
|
Params.Add('--chm-title="(LazUtils) Lazarus Utilities"');
|
||||||
|
|
||||||
if CSSFile<>'' then
|
if CSSFile<>'' then
|
||||||
Params.Add('--css-file='+ExtractFileName(CSSFile)); // the css file is copied to the OutDir
|
Params.Add('--css-file='+ExtractFileName(CSSFile)); // the css file is copied to the OutDir
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user