summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-07 02:22:58 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-07 02:23:02 +0100
commit0b057b4ff43cfc560f67fe8312830289534de7d5 (patch)
treefb4aeedf3ff37346f0ef09159d28bf4d2eb90f9e /utils
parentad4324d24210f30646575b8bcbae8b50d2149224 (diff)
downloadirssi-0b057b4ff43cfc560f67fe8312830289534de7d5.zip
run syncdocs.sh and syncscripts.sh
Sync startup howto to fd1ed2227d529a7ee00d6206caa871ee40c08b69 Sync scriptassist to (2003020806) 211cd515ec87cf9a5d893e97894c2e4b58952f19
Diffstat (limited to 'utils')
-rwxr-xr-xutils/syncdocs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/syncdocs.sh b/utils/syncdocs.sh
index e723edd2..ed76bf85 100755
--- a/utils/syncdocs.sh
+++ b/utils/syncdocs.sh
@@ -11,7 +11,7 @@ howto=$site/documentation/startup/
# remove everything until H1 and optionally 2 DIVs before the
# FOOTER. May need to be adjusted as the source pages change
pageclean_regex='s{.*(?=<h1)}{}s;
-s{\s*(</div>\s*)?(</div>\s*)?<footer.*}{}s;
+s{(\s*<script\s.*?</script>)?\s*(</div>\s*){0,3}<footer.*}{}s;
s{(<.*?)\sclass="(?:highlighter-rouge|highlight)"(.*?>)}{\1\2}g;'
srcdir=`dirname "$0"`