summaryrefslogtreecommitdiff
path: root/doc/update-faq
blob: b45fff15b73e14969c16ec44ea27d8f602ed26ed (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 -q https://www.mpfr.org/styles/visual.css

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

rm visual.css