summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-07 07:33:10 +0100
committerGitHub <noreply@github.com>2018-03-07 07:33:10 +0100
commit1178f753cf07cbbfd000d6b0fccf5a5dd7b54b5b (patch)
treefb4aeedf3ff37346f0ef09159d28bf4d2eb90f9e /utils
parentad4324d24210f30646575b8bcbae8b50d2149224 (diff)
parent0b057b4ff43cfc560f67fe8312830289534de7d5 (diff)
downloadirssi-1178f753cf07cbbfd000d6b0fccf5a5dd7b54b5b.zip
Merge pull request #855 from ailin-nemui/sync
run syncdocs.sh and syncscripts.sh
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"`