mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 05:00:46 +01:00
added parameters for footer and rtl content
git-svn-id: trunk@7196 -
This commit is contained in:
parent
d8322892c3
commit
938489fd4b
@ -4,7 +4,6 @@
|
||||
#
|
||||
# Creates the fpdoc HTML output for the gtk interface
|
||||
|
||||
set -x
|
||||
set -e
|
||||
|
||||
FPDoc=$1
|
||||
|
||||
@ -4,13 +4,15 @@
|
||||
#
|
||||
# Creates the fpdoc HTML output for the LCL
|
||||
|
||||
set -x
|
||||
# set -x
|
||||
set -e
|
||||
|
||||
FPDoc=$1
|
||||
if [ -z $FPDoc ]; then
|
||||
FPDoc=fpdoc
|
||||
fi
|
||||
FPDocFooter=$2
|
||||
RtlContent=$3
|
||||
|
||||
PackageName=lcl
|
||||
XMLSrcDir=../xml/lcl/
|
||||
@ -39,9 +41,17 @@ for unit in $UnitList; do
|
||||
echo ../${PasSrcDir}$unit -Fi../${PasSrcDir}include >> $CurInputFileList
|
||||
done
|
||||
|
||||
FPDocParams='--content=lcl.cnt --package=lcl --format=html'
|
||||
if [ -n $FPDocFooter ]; then
|
||||
FPDocParams="$FPDocParams --footer=$FPDocFooter"
|
||||
fi
|
||||
if [ -n $RtlContent ]; then
|
||||
FPDocParams="$FPDocParams --import=$RtlContent,../rtl/"
|
||||
fi
|
||||
|
||||
|
||||
cd $PackageName
|
||||
$FPDoc $DescrFiles --input=@$InputFileList --content=lcl.cnt --package=lcl \
|
||||
--format=html
|
||||
$FPDoc $DescrFiles --input=@$InputFileList $FPDocParams
|
||||
cd -
|
||||
|
||||
# --output=lcl
|
||||
|
||||
Loading…
Reference in New Issue
Block a user