Skip to content
Snippets Groups Projects
Commit 1b60386a authored by g0dil's avatar g0dil
Browse files

Better documentation XML postprocessing pipeline

parent 8c217ab9
No related branches found
No related tags found
No related merge requests found
...@@ -466,9 +466,8 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []): ...@@ -466,9 +466,8 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []):
" mv $${html} $${html}.orig;" + " mv $${html} $${html}.orig;" +
" sed -e 's/id=\"current\"/class=\"current\"/' $${html}.orig" + " sed -e 's/id=\"current\"/class=\"current\"/' $${html}.orig" +
" | tidy -ascii -q --wrap 0 --show-warnings no --fix-uri no " + " | tidy -ascii -q --wrap 0 --show-warnings no --fix-uri no " +
" | xsltproc --nonet --html --stringparam topdir %s -o $${html} %s - 2>&1" + " | sed -e 's/name=\"\([^\"]*\)\" id=\"\\1\"/name=\"\\1\"/g'" +
" | grep '^-'" + " | xsltproc --novalid --nonet --html --stringparam topdir %s -o $${html} %s -;"
" | grep -v 'ID .* already defined';" +
"done; true") "done; true")
% (htmlnode.dir.abspath, reltopdir, xslfile.abspath))) % (htmlnode.dir.abspath, reltopdir, xslfile.abspath)))
for doc in docs: for doc in docs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment