mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
design.txt is now sourced from website
also run syncdocs, fixes missing placeholder in startup-HOWTO
This commit is contained in:
parent
8054b5c2bd
commit
2847b751e3
5 changed files with 175 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ site=https://irssi.org
|
|||
|
||||
faq=$site/documentation/faq/
|
||||
howto=$site/documentation/startup/
|
||||
design=$site/documentation/design/
|
||||
|
||||
# remove everything until H1 and optionally 2 DIVs before the
|
||||
# FOOTER. May need to be adjusted as the source pages change
|
||||
|
|
@ -84,6 +85,7 @@ download_it() {
|
|||
|
||||
download_it "FAQ" "$faq" "$srcdir"/docs/faq.html
|
||||
download_it "Startup How-To" "$howto" "$srcdir"/docs/startup-HOWTO.html
|
||||
download_it "Design" "$design" "$srcdir"/docs/design.html
|
||||
|
||||
# .html -> .txt with lynx or elinks
|
||||
echo "Documentation: html -> txt..."
|
||||
|
|
@ -100,3 +102,6 @@ cat "$srcdir"/docs/faq.html \
|
|||
cat "$srcdir"/docs/startup-HOWTO.html \
|
||||
| perl -pe "s/\\bhref=([\"\'])#.*?\\1//" \
|
||||
| LC_ALL=en_IE.utf8 $converter > "$srcdir"/docs/startup-HOWTO.txt
|
||||
|
||||
cat "$srcdir"/docs/design.html \
|
||||
| LC_ALL=en_IE.utf8 $converter > "$srcdir"/docs/design.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue