summaryrefslogtreecommitdiff
path: root/doc/update-faq
blob: 352a035924c3a503add877f5d75c7b1204ca20a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

# We cannot use
#   <!ENTITY styles SYSTEM "https://www.mpfr.org/styles/visual.css">
# in faq.xsl since libxml2 still does not support https! And http
# can no longer be used due to HSTS (it is insecure anyway).
rm -f visual.css
wget --no-config -q https://www.mpfr.org/styles/visual.css

wget --no-config -q -O - https://www.mpfr.org/faq.html | \
  xsltproc --nodtdattr faq.xsl - > FAQ.html

rm visual.css