Skip to content

Commit

Permalink
Another improvement of xmldocs README
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed Apr 24, 2021
1 parent 69ff5de commit 2598119
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions util/xmlformat/README
Expand Up @@ -16,8 +16,22 @@ xmlformat -f util/xmlformat/xmlformat.conf -i xml-file
To reformat all files of the english guide:
for i in guide/C/*.xml; do util/xmlformat/xmlformat.pl -f util/xmlformat/xmlformat.conf -i $i ; done

To reformat all files in both parts:
for i in guide help; do
for j in $i/*; do
echo "enter $j";
for k in $j/*.xml; do
echo $k;
util/xmlformat/xmlformat.pl -f util/xmlformat/xmlformat.conf -i $k;
done;
done;
done

Notes:
There is also a {-b|--backup}[ suffix] option, but git reset HEAD is easier.

As comments stay unformated redo xmlformat after you uncommented blocks.

After changes of the docbook version, verify all elements are recognized with
--show-unconfigured-elements

Expand Down

0 comments on commit 2598119

Please sign in to comment.