Even better documentation XML postprocessing pipeline (hrmpf)
g0dil [Tue, 5 Feb 2008 21:07:35 +0000 (21:07 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@668 270642c3-0616-0410-b53a-bc976706d245

senfscons/SENFSCons.py

index 628ebc4..4c00d5a 100644 (file)
@@ -466,7 +466,7 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []):
                         "    mv $${html} $${html}.orig;" +
                         "    sed -e 's/id=\"current\"/class=\"current\"/' $${html}.orig" +
                         "        | tidy -ascii -q --wrap 0 --show-warnings no --fix-uri no " +
-                        "        | sed -e 's/name=\"\([^\"]*\)\" id=\"\\1\"/name=\"\\1\"/g'" +
+                        "        | sed -e 's/name=\"\([^\"]*\)\"\([^>]*\) id=\"\\1\"/name=\"\\1\"\\2/g'" +
                         "        | xsltproc --novalid --nonet --html --stringparam topdir %s -o $${html} %s -;"
                         "done; true")
                        % (htmlnode.dir.abspath, reltopdir, xslfile.abspath)))