Changeset 9740ce9

Timestamp:
2015-05-16T04:55:14Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
d6acf79
Parents:
2c81d15
Message:

Add python script to generate help.txt, replacing xslt stuff

This would mean changing one build dependency for another, but one that
is way more common at least. (Fun fact: the xslt stuff depends on perl)

It generates *almost* the same thing as the xslt - a bit better if you
ask me, since it correctly handles a few <emphasis> tags in the middle
of the text, which were previously stripped. One example of that is:

Favo<emphasis>u</emphasis>rite the given user [...]

Outputs "Favo\x02u\x02rite" with this script, "Favorite" with the xslt.
(That's actually an accidental feature)

The script works in python2 and python3 and only uses the stdlib

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.