From be467111fa891697d92a8afde5dd0e66b8f32937 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Mon, 16 Mar 2020 21:39:33 +0100 Subject: [PATCH] update docs --- docs/design.html | 3 +-- docs/faq.html | 7 +++---- docs/faq.txt | 6 +++--- docs/startup-HOWTO.html | 9 ++++----- docs/startup-HOWTO.txt | 6 +++--- utils/syncdocs.sh | 2 +- 6 files changed, 15 insertions(+), 18 deletions(-) diff --git a/docs/design.html b/docs/design.html index 4be231ee..3865a7fb 100644 --- a/docs/design.html +++ b/docs/design.html @@ -1,7 +1,6 @@

Design

- -

Irssi’s hierarchy is something like this:

+

Irssi’s hierarchy is something like this:


         sub1 sub2
diff --git a/docs/faq.html b/docs/faq.html
index 70e90bb5..7c17f45d 100644
--- a/docs/faq.html
+++ b/docs/faq.html
@@ -1,7 +1,6 @@
 
 

Frequently Asked Questions

- -

Q: Why doesn’t irssi display colors even when ircii etc. displays them?

+

Q: Why doesn’t irssi display colors even when ircii etc. displays them?

A: They force ANSI colors even if terminal doesn’t support them. By default, irssi uses colors only if terminfo/termcap so says. The correct way to fix this would be to change your TERM environment to a value where colors work, like xterm-color or color_xterm (eg. TERM=xterm-color irssi). If this doesn’t help, then use the evil way of /SET term_force_colors ON.

@@ -55,7 +54,7 @@

Q: Will there be /DETACH-like feature?

-

A: tmux, screen and dtach can be used to do it just fine.

+

A: tmux, screen and dtach can be used to do it just fine.

Q: How do I run scripts automatically at startup?

@@ -71,7 +70,7 @@

Q: How can I have /WHOIS replies to active window?

-

A: You can disable the status window, or do /WINDOW LEVEL -CRAP in it which would also make several other messages show up in active window. You can also use a script.

+

A: You can disable the status window, or do /WINDOW LEVEL -CRAP in it which would also make several other messages show up in active window. You can also use a script.

Q: How do I add the active network to the statusbar

diff --git a/docs/faq.txt b/docs/faq.txt index 719fbb9a..0d0b5f46 100644 --- a/docs/faq.txt +++ b/docs/faq.txt @@ -117,8 +117,8 @@ A: Check [6]here References: [1] https://github.com/irssi-import/xirssi - [2] http://tmux.github.io/ - [3] http://www.gnu.org/software/screen/screen.html + [2] https://tmux.github.io/ + [3] https://www.gnu.org/software/screen/screen.html [4] http://dtach.sf.net/ - [5] http://dgl.cx/irssi/hack-whois-in-current-window.pl + [5] https://dgl.cx/irssi/hack-whois-in-current-window.pl [6] https://irssi.org/assets/irssi.wav diff --git a/docs/startup-HOWTO.html b/docs/startup-HOWTO.html index 36d8edbf..48f6e6df 100644 --- a/docs/startup-HOWTO.html +++ b/docs/startup-HOWTO.html @@ -1,9 +1,8 @@

Startup How-To

+

To new Irssi users (not to new IRC users ..)

-

To new Irssi users (not to new IRC users ..)

- -

Copyright (c) 2000-2002 by Timo Sirainen, release under GNU FDL 1.1 license.

+

Copyright (c) 2000-2002 by Timo Sirainen, release under GNU FDL 1.1 license.

Index with some FAQ questions that are answered in the chapter:

@@ -161,7 +160,7 @@ Ctrl-P, Ctrl-N - Jump to previous / next window

Split windows and window items

-

Note: this guide might be a better introduction to window splits

+

Note: this guide might be a better introduction to window splits

Irssi also supports split windows, they’ve had some problems in past but I think they should work pretty well now :) Here’s some commands related to them:

@@ -516,7 +515,7 @@ Ctrl-X - set the next server in list active

SOCKS

-

Irssi can be compiled with socks support (\--with-socks option to configure), which requires “dante” and routes all connections through the proxy specified in the system-wide /etc/socks.conf. This method is known to have issues in Mac OS X.

+

Irssi can be compiled with socks support (--with-socks option to configure), which requires “dante” and routes all connections through the proxy specified in the system-wide /etc/socks.conf. This method is known to have issues in Mac OS X.

Note that /SET proxy settings don’t have anything to do with socks.

diff --git a/docs/startup-HOWTO.txt b/docs/startup-HOWTO.txt index ecfe7ad8..61de27e3 100644 --- a/docs/startup-HOWTO.txt +++ b/docs/startup-HOWTO.txt @@ -578,7 +578,7 @@ Irssi proxy works fine with other IRC clients as well. SOCKS -Irssi can be compiled with socks support (\--with-socks option to configure), +Irssi can be compiled with socks support (--with-socks option to configure), which requires “dante” and routes all connections through the proxy specified in the system-wide /etc/socks.conf. This method is known to have issues in Mac OS X. @@ -792,8 +792,8 @@ ADD -before act mail. References: -[1] http://www.gnu.org/licenses/fdl.html +[1] https://www.gnu.org/licenses/fdl.html [2] https://www.iterm2.com/ -[3] http://quadpoint.org/articles/irssisplit/ +[3] https://quadpoint.org/articles/irssisplit/ [4] https://github.com/rofl0r/proxychains-ng [5] https://irssi.org/documentation/settings/ diff --git a/utils/syncdocs.sh b/utils/syncdocs.sh index bd92ffab..fb88393b 100755 --- a/utils/syncdocs.sh +++ b/utils/syncdocs.sh @@ -13,7 +13,7 @@ design=$site/documentation/design/ # FOOTER. May need to be adjusted as the source pages change pageclean_regex='s{.*(?=)?\s*(\s*){0,3})}{\1\2}g;' +s{(<.*?)\sclass="(?:[^"]*\s+)*(?:highlighter-rouge|highlight)"(.*?>)}{\1\2}g;' srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=.