summaryrefslogtreecommitdiff
path: root/help3xsl/addxsl2xhp.sh
diff options
context:
space:
mode:
authorOlivier Hallot <ohallot@collabora.co.uk>2016-03-17 16:25:39 -0300
committerOlivier Hallot <ohallot@collabora.co.uk>2016-03-26 15:01:16 +0000
commit7c4cc47475a5eef1dc30be04ee4f752882fd0cce (patch)
tree7a5f80818053f597cfac55580dcc1d0e9748a23e /help3xsl/addxsl2xhp.sh
parenta367b5ee9d109a611f8684a46b9254de73ec4af8 (diff)
New help system with browser and XSL transform
See README.txt for initial information Change-Id: Iccb36975207db55c49bbfc8385bf78b948b77c2e Reviewed-on: https://gerrit.libreoffice.org/23343 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
Diffstat (limited to 'help3xsl/addxsl2xhp.sh')
-rwxr-xr-xhelp3xsl/addxsl2xhp.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/help3xsl/addxsl2xhp.sh b/help3xsl/addxsl2xhp.sh
new file mode 100755
index 0000000000..da7d75bede
--- /dev/null
+++ b/help3xsl/addxsl2xhp.sh
@@ -0,0 +1,2 @@
+#/bin/bash
+find . -type f -name "*.xhp" -exec sed -i 's/UTF-8"?>/UTF-8"?><?xml-stylesheet type="text\/xsl" href="\/online_transform.xsl"?>/g' {} +