Better documentation XML postprocessing pipeline
g0dil [Tue, 5 Feb 2008 20:06:05 +0000 (20:06 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@667 270642c3-0616-0410-b53a-bc976706d245

senfscons/SENFSCons.py

index d574747..628ebc4 100644 (file)
@@ -466,9 +466,8 @@ 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 " +
-                        "        | xsltproc --nonet --html --stringparam topdir %s -o $${html} %s - 2>&1" +
-                        "        | grep '^-'" +
-                        "        | grep -v 'ID .* already defined';" +
+                        "        | sed -e 's/name=\"\([^\"]*\)\" id=\"\\1\"/name=\"\\1\"/g'" +
+                        "        | xsltproc --novalid --nonet --html --stringparam topdir %s -o $${html} %s -;"
                         "done; true")
                        % (htmlnode.dir.abspath, reltopdir, xslfile.abspath)))
         for doc in docs: