summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/CMakeLists.txt8
-rw-r--r--doc/it/Makefile.am5
-rw-r--r--doc/it/man.it.adoc (renamed from doc/it/man_files.it.adoc)38
-rw-r--r--doc/it/man_copyright.it.adoc14
-rw-r--r--doc/it/man_plugin_options.it.adoc16
-rw-r--r--doc/it/weechat-headless.1.it.adoc6
-rw-r--r--doc/it/weechat.1.it.adoc6
7 files changed, 49 insertions, 44 deletions
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt
index 3a493bc13..044f93675 100644
--- a/doc/it/CMakeLists.txt
+++ b/doc/it/CMakeLists.txt
@@ -25,9 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.it.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_files.it.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.it.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/man.it.adoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat.1 (it)"
)
@@ -41,9 +39,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.it.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_files.it.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.it.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/man.it.adoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat-headless.1 (it)"
)
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
index 88ef05f3d..11a86b4b9 100644
--- a/doc/it/Makefile.am
+++ b/doc/it/Makefile.am
@@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.it.adoc \
weechat-headless.1.it.adoc \
cmdline_options.it.adoc \
+ man.it.adoc \
weechat_user.it.adoc \
weechat_plugin_api.it.adoc \
weechat_scripting.it.adoc \
@@ -52,9 +53,9 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.it.adoc cmdline_options.it.adoc
+weechat.1: weechat.1.it.adoc cmdline_options.it.adoc man.it.adoc
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/it/weechat.1.it.adoc
-weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.it.adoc
+weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.it.adoc man.it.adoc
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/it/weechat-headless.1.it.adoc
# user's guide
diff --git a/doc/it/man_files.it.adoc b/doc/it/man.it.adoc
index 390f9abd3..44f8f1929 100644
--- a/doc/it/man_files.it.adoc
+++ b/doc/it/man.it.adoc
@@ -1,3 +1,23 @@
+// tag::plugin_options[]
+// TRANSLATION MISSING
+For complete doc on plugin options, please look at plugins documentation in
+https://weechat.org/doc[WeeChat user's guide].
+
+With irc plugin, you can connect to temporary server with an URL like:
+
+ irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
+
+To join WeeChat IRC channel support with nick "mynick":
+
+ irc://mynick@chat.freenode.net/#weechat
+
+IPv6 address can be enclosed in brackets to add a port after address, for
+example:
+
+ irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
+// end::plugin_options[]
+
+// tag::files[]
// TRANSLATION MISSING
$HOME/.weechat/weechat.conf::
main WeeChat configuration file
@@ -73,3 +93,21 @@ $HOME/.weechat/xfer.conf::
$HOME/.weechat/weechat.log::
WeeChat log file
+// end::files[]
+
+// tag::copyright[]
+// TRANSLATION MISSING
+WeeChat is written by Sébastien Helleu and contributors (complete list is in
+the AUTHORS.adoc file).
+
+Copyright (C) 2003-2020 {author}
+
+WeeChat is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
+
+Please read the COPYING file for more information.
+
+Web: https://weechat.org/
+// end::copyright[]
diff --git a/doc/it/man_copyright.it.adoc b/doc/it/man_copyright.it.adoc
deleted file mode 100644
index 0a0e0ed99..000000000
--- a/doc/it/man_copyright.it.adoc
+++ /dev/null
@@ -1,14 +0,0 @@
-// TRANSLATION MISSING
-WeeChat is written by Sébastien Helleu and contributors (complete list is in
-the AUTHORS.adoc file).
-
-Copyright (C) 2003-2020 {author}
-
-WeeChat is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3 of the License, or
-(at your option) any later version.
-
-Please read the COPYING file for more information.
-
-Web: https://weechat.org/
diff --git a/doc/it/man_plugin_options.it.adoc b/doc/it/man_plugin_options.it.adoc
deleted file mode 100644
index 302500b9e..000000000
--- a/doc/it/man_plugin_options.it.adoc
+++ /dev/null
@@ -1,16 +0,0 @@
-// TRANSLATION MISSING
-For complete doc on plugin options, please look at plugins documentation in
-https://weechat.org/doc[WeeChat user's guide].
-
-With irc plugin, you can connect to temporary server with an URL like:
-
- irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
-
-To join WeeChat IRC channel support with nick "mynick":
-
- irc://mynick@chat.freenode.net/#weechat
-
-IPv6 address can be enclosed in brackets to add a port after address, for
-example:
-
- irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
diff --git a/doc/it/weechat-headless.1.it.adoc b/doc/it/weechat-headless.1.it.adoc
index a07f2d99d..6d08d0564 100644
--- a/doc/it/weechat-headless.1.it.adoc
+++ b/doc/it/weechat-headless.1.it.adoc
@@ -46,12 +46,12 @@ include::cmdline_options.it.adoc[tag=debug]
== PLUGIN OPTIONS
-include::man_plugin_options.it.adoc[]
+include::man.it.adoc[tag=plugin_options]
// TRANSLATION MISSING
== FILES
-include::man_files.it.adoc[]
+include::man.it.adoc[tag=files]
// TRANSLATION MISSING
== SEE ALSO
@@ -67,7 +67,7 @@ This manpage was written by {author}.
== COPYRIGHT
-include::man_copyright.it.adoc[]
+include::man.it.adoc[tag=copyright]
// TRANSLATION MISSING
== SUPPORT / REPORTING BUGS
diff --git a/doc/it/weechat.1.it.adoc b/doc/it/weechat.1.it.adoc
index 65992ff30..391e0057c 100644
--- a/doc/it/weechat.1.it.adoc
+++ b/doc/it/weechat.1.it.adoc
@@ -42,12 +42,12 @@ include::cmdline_options.it.adoc[tag=debug]
== PLUGIN OPTIONS
-include::man_plugin_options.it.adoc[]
+include::man.it.adoc[tag=plugin_options]
// TRANSLATION MISSING
== FILES
-include::man_files.it.adoc[]
+include::man.it.adoc[tag=files]
// TRANSLATION MISSING
== SEE ALSO
@@ -63,7 +63,7 @@ This manpage was written by {author}.
== COPYRIGHT
-include::man_copyright.it.adoc[]
+include::man.it.adoc[tag=copyright]
// TRANSLATION MISSING
== SUPPORT / REPORTING BUGS