Commit Graph

30 Commits

Author SHA1 Message Date
dsiders
3bbe97775f Docs: build_lcl_docs. Enables system.uitypes when building documentation. 2022-02-28 15:58:18 +00:00
dsiders
7cf2b7390c Fixes missing links from LazUtils to LCL topics in output formats.
* Depends on 5e581ce9, 2f595455, b0d263f1.
* LazUtils was never built with external links to LCL (See Also and source declarations) because lcl.xct could not be imported. The file does not exist when LazUtils is built.

To solve this problem, the output format for LazUtils is built twice. It is the smaller of the two packages. Building LazUtils twice ensures that the "chicken or the egg" problem with inter-file links is avoided.

* Build LazUtils WITHOUT any external links (faster).
* Build LCL with links to RTL, FCL, LazUtils.
* Build LazUtils with links to RTL, FCL, LCL.
2022-02-24 17:49:10 +00:00
dsiders
b0d263f11d Docs: build_lcl_docs. Sets an explicit title for CHM files used in the LHelp TOC navigation tree. Issue #28500. 2022-02-24 07:16:07 +00:00
dsiders
2f59545512 Docs: build_lcl_docs. Fixes an incompatibility with FPDoc 3.3.x.
* FPDoc 3.3.X changed the syntax for the --footer argument. It uses an ''@' prefix for file names and treats anythine else as text for the footer..  build_lcl_docs did not handle that syntax.  Since we do not know which version of FPDoc will be used, we must handle both.
* Accepts --footer=filename.ext for 3.2.X.
* Accepts --footer=@filename.ext for 3.3.X.
* Accepts --footer="Your text here" for 3.3.X.
* File name expansion and validation occurs in the setter for TFPDocRun.FooterFilename.
* Modifies README.txt and all of the script files (.bat, .sh) to document requirements and usage.
2022-02-24 06:35:16 +00:00
dsiders
5e581ce962 Docs: build_lcl_docs. Removes use of default footer file name.
* No default footer file is assumed. Allows output formats to be generated without footers when the --footer option is omitted.
* Removes unused unit LazUtilities from uses clause.
* Renames TFPDocRun.CreateOuputDir to TFPDocRun.CreateOutputDir.
* Fixes strings used in exception and logging messages.
2022-02-24 03:42:20 +00:00
marco
35748025c5 * also passes dialect options to fpdoc, like the makefiles do. Required in trunk fpdocs as of +/- mid december 2020.
git-svn-id: trunk@64396 -
2021-01-16 15:55:51 +00:00
juha
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +00:00
mattias
d9807c6e7d docs: fixed build_lcl_docs
git-svn-id: trunk@60298 -
2019-02-02 19:16:33 +00:00
mattias
9c0b214488 docs: build_lcl_docs: --footer
git-svn-id: trunk@55169 -
2017-06-02 20:43:00 +00:00
mattias
a4a2a81027 docs: build_lcl_docs: showcmd shows --fpcdocs option
git-svn-id: trunk@55161 -
2017-06-02 18:19:29 +00:00
mattias
9e3d651b32 docs: build_lcl_docs: updated, simulate shows both lazutils and lcl
git-svn-id: trunk@55159 -
2017-06-02 17:49:21 +00:00
bart
c6b63b7c3d Docs: project build_lcl_docs:
1. Fix compilation under Windows
2. Create outputdirectory before trying to write to it (Part of Issue #0029876)

git-svn-id: trunk@52044 -
2016-03-24 14:36:05 +00:00
mattias
7892083108 build_lcl_docs: create lazutils.chm too
git-svn-id: trunk@50691 -
2015-12-06 14:11:12 +00:00
mattias
282b974938 build_lcl_docs: stop if xct file missing
git-svn-id: trunk@50690 -
2015-12-06 14:03:35 +00:00
mattias
287c484130 build_lcl_docs: copy xct and chm file to xct directory
git-svn-id: trunk@50687 -
2015-12-06 13:44:03 +00:00
mattias
14c2bd32b0 build_lcl_docs: copy css file to output directory
git-svn-id: trunk@50685 -
2015-12-06 12:50:57 +00:00
mattias
4146a5aea4 build_lcl_docs: made xml src dir, pas src dir and include paths generic
git-svn-id: trunk@50684 -
2015-12-06 12:41:06 +00:00
mattias
e74f7e54e5 build_lcl_docs: uses class
git-svn-id: trunk@50683 -
2015-12-06 11:19:24 +00:00
mattias
77a52ceced build_lcl_docs: made more generic
git-svn-id: trunk@50679 -
2015-12-06 01:28:44 +00:00
mattias
eb52ff3c86 build_lcl_docs: added --verbose parameter
git-svn-id: trunk@50658 -
2015-12-05 19:05:36 +00:00
mattias
cadd2430ef docs: build lcl chm: added param --css-file, patch #24823
git-svn-id: trunk@42283 -
2013-08-03 14:37:24 +00:00
marco
6b05b3aa89 * omit fpmake.pp
git-svn-id: trunk@40854 -
2013-04-20 12:07:34 +00:00
mattias
4458799589 build_lcl_docs: showcmd: show working directory
git-svn-id: trunk@37855 -
2012-07-03 10:44:48 +00:00
mattias
8ee459d460 build_lcl_docs: using UTF-8 file functions, added option -h
git-svn-id: trunk@37852 -
2012-07-02 15:54:05 +00:00
maxim
9dfbd1029e Docs: improved build_lcl_docs robustness when working with TProcess, patch from Reinier Olislagers, bug #22000
git-svn-id: trunk@37267 -
2012-05-13 14:34:17 +00:00
andrew
e9026c1c8a Fixed bug #20137
Added warnings option

git-svn-id: trunk@32551 -
2011-09-29 01:24:47 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
andrew
41bffacb9f * fixed build_lcl_docs not using the fpdoc specified by --fpdoc
git-svn-id: trunk@22013 -
2009-10-04 01:29:32 +00:00
andrew
ad18ccca04 * Fixed build_lcl_docs to include files in the lcl subfolders recursively
* Added --make-searchable to default fpdoc options when the format is chm

git-svn-id: trunk@21630 -
2009-09-09 00:50:52 +00:00
sekelsenmat
95bf12f9c6 Renames the doc building scripts and adds some more scripts for Windows.
git-svn-id: trunk@14962 -
2008-04-25 10:52:13 +00:00