[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kde-common/admin
From: Adriaan de Groot <groot () kde ! org>
Date: 2005-08-10 9:21:31
Message-ID: 1123665691.876522.2677.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 444461 by adridg:
Implement renaming of dox entries in the menu. This way you can call the dox \
generated from directory foo/bar 'moose' if you like. It _is_ a little confusing \
though because doxygen will still label stuff with foo/bar if you do so. I recommend \
writing a mainpage to obscure that. The bad header in the left-hand menus will be \
fixed shortly, and I'll implement you-are-her as well.
M +10 -1 doxygen.sh
--- branches/KDE/3.5/kde-common/admin/doxygen.sh #444460:444461
@@ -321,6 +321,10 @@
htmltop="$top_builddir.." # top_builddir ends with /
echo "* Post-processing files in $htmldir"
+ # Build a little PHP file that maps class names to file
+ # names, for the quick-class-picker functionality.
+ # (The quick-class-picker is disabled due to styling
+ # problems in IE & FF).
(
echo "<?php \$map = array("; \
for htmlfile in `find $htmldir/ -type f -name "class[A-Z]*.html" | grep -v \
"\-members.html$"`; do @@ -360,6 +364,8 @@
PMENU=`grep '<!-- pmenu' "$htmldir/index.html" | sed -e 's+.*pmenu *++' -e 's+ \
*-->++' | awk '{ c=split($0,a,"/"); for (j=1; j<=c; j++) { printf " / <a href=\""; if \
(j==c) { printf("."); } for (k=j; k<c; k++) { printf "../"; } if (j<c) { \
printf("../html/index.html"); } printf "\">%s</a>\n" , a[j]; } }' | tr -d '\n'`
+ # Map the PHP file into HTML options so that
+ # it can be substituted in for the quick-class-picker.
CMENU=""
test -f "$subdir/classmap.inc" && \
CMENU=`grep '=>' "$subdir/classmap.inc" | sed -e 's+"\([^"]*\)" => \
"'"$subdir/html/"'\([^"]*\)"+<option value="\2">\1<\/option>+' | tr -d '\n'` @@ \
-455,10 +461,13 @@ dir="$dir/"
fi
indent=`echo "$dir" | sed -e 's+[^/]*/+\ \ +g' | sed -e 's+&+\\\&+g'`
+ entryname=`extract_line DOXYGEN_MENUNAME "$top_srcdir/$dir/$file/Makefile.am"`
+ test -z "$entryname" && entryname="$file"
+
if grep DOXYGEN_EMPTY "$top_srcdir/$dir/$file/Makefile.am" > /dev/null 2>&1 ; then
echo "<li>$indent$file</li>"
else
- echo "<li>$indent<a href=\"@topdir@/$dir$file/html/index.html\">$file</a></li>"
+ echo "<li>$indent<a \
href=\"@topdir@/$dir$file/html/index.html\">$entryname</a></li>" fi
done > subdirs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic