diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-03-07 07:33:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 07:33:10 +0100 |
commit | 1178f753cf07cbbfd000d6b0fccf5a5dd7b54b5b (patch) | |
tree | fb4aeedf3ff37346f0ef09159d28bf4d2eb90f9e /utils | |
parent | ad4324d24210f30646575b8bcbae8b50d2149224 (diff) | |
parent | 0b057b4ff43cfc560f67fe8312830289534de7d5 (diff) | |
download | irssi-1178f753cf07cbbfd000d6b0fccf5a5dd7b54b5b.zip |
Merge pull request #855 from ailin-nemui/sync
run syncdocs.sh and syncscripts.sh
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/syncdocs.sh | 2 |
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"` |