1
0
mirror of https://github.com/GNOME/libxml2.git synced 2025-05-08 21:07:54 +08:00
libxml2/convert_doc.sh
Nick Wellnhofer 61890e399d doc: Prepare for conversion to Doxygen
Fix many params in internal functions (not really necessary but Doxygen
warns about that in XML mode).

Fix formatting in a few corner cases that automatic conversion can't
handle.

Rearrange some DOC_DISABLE blocks.
2025-05-01 23:23:42 +02:00

14 lines
269 B
Bash

#!/bin/sh
set -e
for file in *.c include/libxml/*.h; do
sed -E -i '' -f convert_doc.sed $file
done
for file in include/libxml/*.h; do
if [ $file != 'include/libxml/xmlversion.h' ]; then
sed -E -i '' -e '1 s,/\*,/**\n * @file\n * ,' $file
fi
done