diff --git a/solenv/bin/mkdocs_portal.sh b/solenv/bin/mkdocs_portal.sh index 55b2ebbfe784..4a05d195ac32 100755 --- a/solenv/bin/mkdocs_portal.sh +++ b/solenv/bin/mkdocs_portal.sh @@ -1,5 +1,9 @@ #!/bin/bash +if [ -n "$debug" ] ; then + set -x +fi + SRCDIR="$1" BASE_OUTPUT="$2" @@ -51,11 +55,11 @@ local output="$1"
Generated by Libreoffice Module Description Tool
+Generated by Libreoffice CI on $(hostname)
Last updated:
EOF
-date -f '+%F %T' >> $output
+date '+%F %T' >> $output
cat - >> $output < View module in:"
text="${text} cgit"
- if $(echo $INPUT_PROJECTS | grep -q $module_name); then
+ if [ -d ./docs/${module_name} ] ; then
text="${text} Doxygen"
fi
text="${text} ${module_name}
\n"
text="${text}$(head -n1 $cur_file | proc_text )"
@@ -101,7 +109,7 @@ for module_name in *; do
header "$module_name" "LibreOffice » ${module_name}" "$BASE_OUTPUT/${module_name}.html"
text="