File: build_html.bat

package info (click to toggle)
lazarus 2.2.6%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 219,980 kB
  • sloc: pascal: 1,944,919; xml: 357,634; makefile: 270,608; cpp: 57,115; sh: 3,249; java: 609; perl: 297; sql: 222; ansic: 137
file content (31 lines) | stat: -rw-r--r-- 1,290 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
REM
REM Builds Lazarus documentation for LCL and LazUtils in HTML format.
REM
REM Requires a $(LazarusDir)\docs\chm directory which contains rtl.xct and fcl.xct.
REM Process fails if either the directory or the files are missing.
REM Process creates .\lcl and .\lazutils subdirectories for HTML output.
REM Update the content in locallclfooter.xml before starting the script.
REM
REM Notes:
REM
REM 1 - If necessary, please fix the path so it finds fpdoc.exe (normally in your fpc compiler dir)
REM 2 - Before running this file, first compile the project build_lcl_docs.lpi
REM ..\..\lazbuild.exe build_lcl_docs.lpi
REM

REM PATH=C:\lazarus\fpc\3.2.2\bin\x86_64-win64;%PATH%
PATH=C:\fpc331\fpc\bin\x86_64-win64;%PATH%

REM build html output without footers
REM .\build_lcl_docs.exe --outfmt=html --fpcdocs=..\chm

REM For FPDoc 3.2.X: build html output with footers in locallclfooter.xml
REM .\build_lcl_docs.exe --outfmt=html --fpcdocs=..\chm --footer=locallclfooter.xml

REM For FPDoc 3.3.X: build html output with footers in locallclfooter.xml
.\build_lcl_docs.exe --outfmt=html --fpcdocs=..\chm --footer=@locallclfooter.xml

REM For FPDoc 3.3.X: build html output with footer text
REM .\build_lcl_docs.exe --outfmt=html --fpcdocs=..\chm --footer="(c) 2022. All rights reserved."

pause