summaryrefslogtreecommitdiff
path: root/doc/cs
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cs')
-rw-r--r--doc/cs/CMakeLists.txt8
-rw-r--r--doc/cs/Makefile.am5
-rw-r--r--doc/cs/man.cs.adoc (renamed from doc/cs/man_files.cs.adoc)35
-rw-r--r--doc/cs/man_copyright.cs.adoc13
-rw-r--r--doc/cs/man_plugin_options.cs.adoc14
-rw-r--r--doc/cs/weechat-headless.1.cs.adoc6
-rw-r--r--doc/cs/weechat.1.cs.adoc6
7 files changed, 46 insertions, 41 deletions
diff --git a/doc/cs/CMakeLists.txt b/doc/cs/CMakeLists.txt
index c49893bb2..453b677d9 100644
--- a/doc/cs/CMakeLists.txt
+++ b/doc/cs/CMakeLists.txt
@@ -25,9 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/man.cs.adoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat.1 (cs)"
)
@@ -41,9 +39,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
- ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/man.cs.adoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat-headless.1 (cs)"
)
diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am
index dca08b0fb..6734933b9 100644
--- a/doc/cs/Makefile.am
+++ b/doc/cs/Makefile.am
@@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.cs.adoc \
weechat-headless.1.cs.adoc \
cmdline_options.cs.adoc \
+ man.cs.adoc \
weechat_quickstart.cs.adoc \
$(wildcard autogen/user/*.adoc) \
$(wildcard autogen/plugin_api/*.adoc)
@@ -42,9 +43,9 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc
+weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc man.cs.adoc
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/cs/weechat.1.cs.adoc
-weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc
+weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc man.cs.adoc
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/cs/weechat-headless.1.cs.adoc
# quickstart
diff --git a/doc/cs/man_files.cs.adoc b/doc/cs/man.cs.adoc
index 43699a3e0..457a02930 100644
--- a/doc/cs/man_files.cs.adoc
+++ b/doc/cs/man.cs.adoc
@@ -1,3 +1,21 @@
+// tag::plugin_options[]
+Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
+https://weechat.org/doc[WeeChat user's guide].
+
+S irc pluginem se můžete doččasně připojit na server s URL jako:
+
+ irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
+
+K připojení na IRC kanál Weechatu pro podporu s přezdívkou "mynick":
+
+ irc://mynick@chat.freenode.net/#weechat
+
+IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, například:
+
+ irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
+// end::plugin_options[]
+
+// tag::files[]
$HOME/.weechat/weechat.conf::
hlavní konfigurační soubor WeeChatu
@@ -72,3 +90,20 @@ $HOME/.weechat/xfer.conf::
$HOME/.weechat/weechat.log::
soubor záznamů WeeChatu
+// end::files[]
+
+// tag::copyright[]
+WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
+souboru AUTHORS.adoc).
+
+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.
+
+Prosím přečtěte si soubor COPYING pro více informací.
+
+Web: https://weechat.org/
+// end::copyright[]
diff --git a/doc/cs/man_copyright.cs.adoc b/doc/cs/man_copyright.cs.adoc
deleted file mode 100644
index 476275871..000000000
--- a/doc/cs/man_copyright.cs.adoc
+++ /dev/null
@@ -1,13 +0,0 @@
-WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
-souboru AUTHORS.adoc).
-
-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.
-
-Prosím přečtěte si soubor COPYING pro více informací.
-
-Web: https://weechat.org/
diff --git a/doc/cs/man_plugin_options.cs.adoc b/doc/cs/man_plugin_options.cs.adoc
deleted file mode 100644
index 36f222f9c..000000000
--- a/doc/cs/man_plugin_options.cs.adoc
+++ /dev/null
@@ -1,14 +0,0 @@
-Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
-https://weechat.org/doc[WeeChat user's guide].
-
-S irc pluginem se můžete doččasně připojit na server s URL jako:
-
- irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
-
-K připojení na IRC kanál Weechatu pro podporu s přezdívkou "mynick":
-
- irc://mynick@chat.freenode.net/#weechat
-
-IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, například:
-
- irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
diff --git a/doc/cs/weechat-headless.1.cs.adoc b/doc/cs/weechat-headless.1.cs.adoc
index a44cdbc48..08c250b36 100644
--- a/doc/cs/weechat-headless.1.cs.adoc
+++ b/doc/cs/weechat-headless.1.cs.adoc
@@ -45,11 +45,11 @@ include::cmdline_options.cs.adoc[tag=debug]
== VOLBY PLUGINŮ
-include::man_plugin_options.cs.adoc[]
+include::man.cs.adoc[tag=plugin_options]
== SOUBORY
-include::man_files.cs.adoc[]
+include::man.cs.adoc[tag=files]
// TRANSLATION MISSING
== SEE ALSO
@@ -63,7 +63,7 @@ Tato manuálová stránka byla přeložena Ondřejem Súkupem.
== COPYRIGHT
-include::man_copyright.cs.adoc[]
+include::man.cs.adoc[tag=copyright]
== PODPORA / HLÁŠENÍ CHYB
diff --git a/doc/cs/weechat.1.cs.adoc b/doc/cs/weechat.1.cs.adoc
index 2554b6300..66cb842cd 100644
--- a/doc/cs/weechat.1.cs.adoc
+++ b/doc/cs/weechat.1.cs.adoc
@@ -40,11 +40,11 @@ include::cmdline_options.cs.adoc[tag=debug]
== VOLBY PLUGINŮ
-include::man_plugin_options.cs.adoc[]
+include::man.cs.adoc[tag=plugin_options]
== SOUBORY
-include::man_files.cs.adoc[]
+include::man.cs.adoc[tag=files]
// TRANSLATION MISSING
== SEE ALSO
@@ -58,7 +58,7 @@ Tato manuálová stránka byla přeložena Ondřejem Súkupem.
== COPYRIGHT
-include::man_copyright.cs.adoc[]
+include::man.cs.adoc[tag=copyright]
== PODPORA / HLÁŠENÍ CHYB