diff options
Diffstat (limited to 'doc')
57 files changed, 228 insertions, 220 deletions
diff --git a/doc/cs/CMakeLists.txt b/doc/cs/CMakeLists.txt index 5b418d206..c49893bb2 100644 --- a/doc/cs/CMakeLists.txt +++ b/doc/cs/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.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 @@ -42,7 +41,6 @@ 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}/cmdline_options_debug.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 diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am index df6448ae1..dca08b0fb 100644 --- a/doc/cs/Makefile.am +++ b/doc/cs/Makefile.am @@ -24,7 +24,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.cs.adoc \ weechat-headless.1.cs.adoc \ cmdline_options.cs.adoc \ - cmdline_options_debug.cs.adoc \ weechat_quickstart.cs.adoc \ $(wildcard autogen/user/*.adoc) \ $(wildcard autogen/plugin_api/*.adoc) @@ -43,9 +42,9 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc +weechat.1: weechat.1.cs.adoc cmdline_options.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 cmdline_options_debug.cs.adoc +weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.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/cmdline_options.cs.adoc b/doc/cs/cmdline_options.cs.adoc index cd0554d17..5b95ed12c 100644 --- a/doc/cs/cmdline_options.cs.adoc +++ b/doc/cs/cmdline_options.cs.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: Zakaž automatické pripojení k serverům když WeeChat startuje. @@ -66,3 +67,23 @@ *plugin:option*:: Nastavení pluginů. +// end::standard[] + +// tag::debug[] +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. +// end::debug[] diff --git a/doc/cs/cmdline_options_debug.cs.adoc b/doc/cs/cmdline_options_debug.cs.adoc deleted file mode 100644 index 5e88ef3ae..000000000 --- a/doc/cs/cmdline_options_debug.cs.adoc +++ /dev/null @@ -1,16 +0,0 @@ -// TRANSLATION MISSING -*--no-dlclose*:: - Do not call the function dlclose after plugins are unloaded. - This is useful with tools like Valgrind to display stack for unloaded - plugins. - -// TRANSLATION MISSING -*--no-gnutls*:: - Do not call the init and deinit functions of GnuTLS library. - This is useful with tools like Valgrind and electric-fence, to prevent - GnuTLS memory errors. - -// TRANSLATION MISSING -*--no-gcrypt*:: - Do not call the init and deinit functions of Gcrypt library. - This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/cs/weechat-headless.1.cs.adoc b/doc/cs/weechat-headless.1.cs.adoc index cc4619921..a44cdbc48 100644 --- a/doc/cs/weechat-headless.1.cs.adoc +++ b/doc/cs/weechat-headless.1.cs.adoc @@ -34,14 +34,14 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". == VOLBY -include::cmdline_options.cs.adoc[] +include::cmdline_options.cs.adoc[tag=standard] // TRANSLATION MISSING == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.cs.adoc[] +include::cmdline_options.cs.adoc[tag=debug] == VOLBY PLUGINŮ diff --git a/doc/cs/weechat.1.cs.adoc b/doc/cs/weechat.1.cs.adoc index 11824d84f..2554b6300 100644 --- a/doc/cs/weechat.1.cs.adoc +++ b/doc/cs/weechat.1.cs.adoc @@ -29,14 +29,14 @@ v obvyklých sciptovacích jazycích. == VOLBY -include::cmdline_options.cs.adoc[] +include::cmdline_options.cs.adoc[tag=standard] // TRANSLATION MISSING == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.cs.adoc[] +include::cmdline_options.cs.adoc[tag=debug] == VOLBY PLUGINŮ diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt index d7b744a13..39ce7ee9c 100644 --- a/doc/de/CMakeLists.txt +++ b/doc/de/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc @@ -42,7 +41,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc @@ -65,7 +63,6 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.de.html" diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am index e5919482e..1fa84981d 100644 --- a/doc/de/Makefile.am +++ b/doc/de/Makefile.am @@ -25,7 +25,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.de.adoc \ weechat-headless.1.de.adoc \ cmdline_options.de.adoc \ - cmdline_options_debug.de.adoc \ weechat_user.de.adoc \ weechat_scripting.de.adoc \ weechat_faq.de.adoc \ @@ -51,13 +50,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc +weechat.1: weechat.1.de.adoc cmdline_options.de.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.adoc -weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc +weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/de/weechat-headless.1.de.adoc # user's guide -weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.adoc # scripting guide diff --git a/doc/de/cmdline_options.de.adoc b/doc/de/cmdline_options.de.adoc index 3b1310c65..bdbb9f456 100644 --- a/doc/de/cmdline_options.de.adoc +++ b/doc/de/cmdline_options.de.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat. @@ -60,3 +61,20 @@ *plugin:option*:: Option für Erweiterung. +// end::standard[] + +// tag::debug[] +*--no-dlclose*:: + die Funktion dlclose wird nicht ausgeführt, nachdem Erweiterungen beendet wurden + Dies ist sinnvoll für Tools wie Valgrind um den Stack für Erweiterungen anzuzeigen, + welche beendet wurden. + +*--no-gnutls*:: + Es wird die init und deinit Funktion der GnuTLS Bibliothek nicht verwendet. + Dies ist sinnvoll für Tools wie Valgrind und electric-fence, um GnuTLS + Speicherfehler zu vermeiden. + +*--no-gcrypt*:: + Es wird die init und deinit Funktion der Gcrypt Bibliothek nicht verwendet. + Dies ist sinnvoll für Tools wie Valgrind um Speicherfehler von Gcrypt zu vermeiden. +// end::debug[] diff --git a/doc/de/cmdline_options_debug.de.adoc b/doc/de/cmdline_options_debug.de.adoc deleted file mode 100644 index c4b8c514b..000000000 --- a/doc/de/cmdline_options_debug.de.adoc +++ /dev/null @@ -1,13 +0,0 @@ -*--no-dlclose*:: - die Funktion dlclose wird nicht ausgeführt, nachdem Erweiterungen beendet wurden - Dies ist sinnvoll für Tools wie Valgrind um den Stack für Erweiterungen anzuzeigen, - welche beendet wurden. - -*--no-gnutls*:: - Es wird die init und deinit Funktion der GnuTLS Bibliothek nicht verwendet. - Dies ist sinnvoll für Tools wie Valgrind und electric-fence, um GnuTLS - Speicherfehler zu vermeiden. - -*--no-gcrypt*:: - Es wird die init und deinit Funktion der Gcrypt Bibliothek nicht verwendet. - Dies ist sinnvoll für Tools wie Valgrind um Speicherfehler von Gcrypt zu vermeiden. diff --git a/doc/de/weechat-headless.1.de.adoc b/doc/de/weechat-headless.1.de.adoc index eb20ee635..b6326f0b0 100644 --- a/doc/de/weechat-headless.1.de.adoc +++ b/doc/de/weechat-headless.1.de.adoc @@ -31,13 +31,13 @@ zu starten. Dazu nutzt man die Option "--daemon". == OPTIONEN -include::cmdline_options.de.adoc[] +include::cmdline_options.de.adoc[tag=standard] == DEBUG-OPTIONEN *WARNUNG:* Diese Optionen sind lediglich für Debug-Zwecke *DIESE FUNKTIONEN SOLLTE NICHT IM PRODUKTIVEM EINSATZ GENUTZT WERDEN!* -include::cmdline_options_debug.de.adoc[] +include::cmdline_options.de.adoc[tag=debug] == OPTIONEN VON ERWEITERUNGEN diff --git a/doc/de/weechat.1.de.adoc b/doc/de/weechat.1.de.adoc index 7aac90258..c90c0492b 100644 --- a/doc/de/weechat.1.de.adoc +++ b/doc/de/weechat.1.de.adoc @@ -27,13 +27,13 @@ Durch Skripten ist das Hauptprogramm äußerst flexibel und erweiterbar. == OPTIONEN -include::cmdline_options.de.adoc[] +include::cmdline_options.de.adoc[tag=standard] == DEBUG-OPTIONEN *WARNUNG:* Diese Optionen sind lediglich für Debug-Zwecke *DIESE FUNKTIONEN SOLLTE NICHT IM PRODUKTIVEM EINSATZ GENUTZT WERDEN!* -include::cmdline_options_debug.de.adoc[] +include::cmdline_options.de.adoc[tag=debug] == OPTIONEN VON ERWEITERUNGEN diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 0f3c35c21..60a100d0d 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -511,14 +511,14 @@ die entsprechenden Dateien im Verzeichnis _~/.weechat_ erstellt. ==== Optionen für Befehlszeile -include::cmdline_options.de.adoc[] +include::cmdline_options.de.adoc[tag=standard] ==== zusätzliche Debug-Optionen [WARNING] These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.de.adoc[] +include::cmdline_options.de.adoc[tag=debug] [[environment_variables]] === Umgebungsvariablen diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt index f6050857d..f092ceb1d 100644 --- a/doc/en/CMakeLists.txt +++ b/doc/en/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc @@ -42,7 +41,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc @@ -66,7 +64,6 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.en.html" diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am index f531cf777..cf71f7f9e 100644 --- a/doc/en/Makefile.am +++ b/doc/en/Makefile.am @@ -25,7 +25,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.en.adoc \ weechat-headless.1.en.adoc \ cmdline_options.en.adoc \ - cmdline_options_debug.en.adoc \ weechat_user.en.adoc \ weechat_plugin_api.en.adoc \ weechat_scripting.en.adoc \ @@ -58,13 +57,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc +weechat.1: weechat.1.en.adoc cmdline_options.en.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/en/weechat.1.en.adoc -weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc +weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/en/weechat-headless.1.en.adoc # user's guide -weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.adoc # plugin API reference diff --git a/doc/en/cmdline_options.en.adoc b/doc/en/cmdline_options.en.adoc index 190be3772..26f815ad1 100644 --- a/doc/en/cmdline_options.en.adoc +++ b/doc/en/cmdline_options.en.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: Disable auto-connect to servers when WeeChat is starting. @@ -59,3 +60,20 @@ *plugin:option*:: Option for a plugin. +// end::standard[] + +// tag::debug[] +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. +// end::debug[] diff --git a/doc/en/cmdline_options_debug.en.adoc b/doc/en/cmdline_options_debug.en.adoc deleted file mode 100644 index d0f9df152..000000000 --- a/doc/en/cmdline_options_debug.en.adoc +++ /dev/null @@ -1,13 +0,0 @@ -*--no-dlclose*:: - Do not call the function dlclose after plugins are unloaded. - This is useful with tools like Valgrind to display stack for unloaded - plugins. - -*--no-gnutls*:: - Do not call the init and deinit functions of GnuTLS library. - This is useful with tools like Valgrind and electric-fence, to prevent - GnuTLS memory errors. - -*--no-gcrypt*:: - Do not call the init and deinit functions of Gcrypt library. - This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/en/weechat-headless.1.en.adoc b/doc/en/weechat-headless.1.en.adoc index 9b9c4ee47..1c230e324 100644 --- a/doc/en/weechat-headless.1.en.adoc +++ b/doc/en/weechat-headless.1.en.adoc @@ -30,13 +30,13 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". == OPTIONS -include::cmdline_options.en.adoc[] +include::cmdline_options.en.adoc[tag=standard] == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.en.adoc[] +include::cmdline_options.en.adoc[tag=debug] == PLUGIN OPTIONS diff --git a/doc/en/weechat.1.en.adoc b/doc/en/weechat.1.en.adoc index 0b21fdf7d..1c19edeae 100644 --- a/doc/en/weechat.1.en.adoc +++ b/doc/en/weechat.1.en.adoc @@ -27,13 +27,13 @@ It is highly customizable and extensible with scripts. == OPTIONS -include::cmdline_options.en.adoc[] +include::cmdline_options.en.adoc[tag=standard] == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.en.adoc[] +include::cmdline_options.en.adoc[tag=debug] == PLUGIN OPTIONS diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index 6d924998c..c5581b1b1 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -435,8 +435,7 @@ Documentation files: | docinfo.html | Asciidoctor style. | docgen.py | Python script to build files in _autogen/_ directory (see below). | XX/ | Documentation for language XX (languages: en, fr, de, it, ...). -| cmdline_options.XX.adoc | Command-line general options (file included in man pages and user's guide). -| cmdline_options_debug.XX.adoc | Command-line debug options (file included in man pages and user's guide). +| cmdline_options.XX.adoc | Command-line options (file included in man pages and user's guide). | weechat.1.XX.adoc | Man page (`man weechat`). | weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide] (this document). | weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ]. diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 307b4f32d..83e7fb120 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -502,14 +502,14 @@ created in _~/.weechat_ with default options and values ==== Command line options -include::cmdline_options.en.adoc[] +include::cmdline_options.en.adoc[tag=standard] ==== Extra debug options [WARNING] These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.en.adoc[] +include::cmdline_options.en.adoc[tag=debug] [[environment_variables]] === Environment variables diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt index 080e556e0..d9c1ea657 100644 --- a/doc/fr/CMakeLists.txt +++ b/doc/fr/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.fr.adoc @@ -42,7 +41,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.fr.adoc @@ -66,7 +64,6 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.fr.html" diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am index e750d3132..39c8a1b4c 100644 --- a/doc/fr/Makefile.am +++ b/doc/fr/Makefile.am @@ -25,7 +25,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.fr.adoc \ weechat-headless.1.fr.adoc \ cmdline_options.fr.adoc \ - cmdline_options_debug.fr.adoc \ weechat_user.fr.adoc \ weechat_plugin_api.fr.adoc \ weechat_scripting.fr.adoc \ @@ -58,13 +57,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc +weechat.1: weechat.1.fr.adoc cmdline_options.fr.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/fr/weechat.1.fr.adoc -weechat-headless.1: weechat-headless.1.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc +weechat-headless.1: weechat-headless.1.fr.adoc cmdline_options.fr.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/fr/weechat-headless.1.fr.adoc # user's guide -weechat_user.fr.html: weechat_user.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.fr.html: weechat_user.fr.adoc cmdline_options.fr.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.adoc # plugin API reference diff --git a/doc/fr/cmdline_options.fr.adoc b/doc/fr/cmdline_options.fr.adoc index ee1bb8334..5cdb3b9a0 100644 --- a/doc/fr/cmdline_options.fr.adoc +++ b/doc/fr/cmdline_options.fr.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: Supprimer la connexion automatique aux serveurs lors du démarrage. @@ -62,3 +63,20 @@ *extension:option*:: Option pour une extension. +// end::standard[] + +// tag::debug[] +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. +// end::debug[] diff --git a/doc/fr/cmdline_options_debug.fr.adoc b/doc/fr/cmdline_options_debug.fr.adoc deleted file mode 100644 index d0f9df152..000000000 --- a/doc/fr/cmdline_options_debug.fr.adoc +++ /dev/null @@ -1,13 +0,0 @@ -*--no-dlclose*:: - Do not call the function dlclose after plugins are unloaded. - This is useful with tools like Valgrind to display stack for unloaded - plugins. - -*--no-gnutls*:: - Do not call the init and deinit functions of GnuTLS library. - This is useful with tools like Valgrind and electric-fence, to prevent - GnuTLS memory errors. - -*--no-gcrypt*:: - Do not call the init and deinit functions of Gcrypt library. - This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/fr/weechat-headless.1.fr.adoc b/doc/fr/weechat-headless.1.fr.adoc index b0a428f1f..1e2238619 100644 --- a/doc/fr/weechat-headless.1.fr.adoc +++ b/doc/fr/weechat-headless.1.fr.adoc @@ -31,14 +31,14 @@ avec l'option "--daemon". == OPTIONS -include::cmdline_options.fr.adoc[] +include::cmdline_options.fr.adoc[tag=standard] == OPTIONS DE DEBUG *ATTENTION :* ces options sont pour du debug seulement, *NE PAS UTILISER EN PRODUCTION !* -include::cmdline_options_debug.fr.adoc[] +include::cmdline_options.fr.adoc[tag=debug] == OPTIONS D'EXTENSION diff --git a/doc/fr/weechat.1.fr.adoc b/doc/fr/weechat.1.fr.adoc index 7e5379676..ef60d38c2 100644 --- a/doc/fr/weechat.1.fr.adoc +++ b/doc/fr/weechat.1.fr.adoc @@ -27,14 +27,14 @@ Il est hautement paramétrable et extensible avec des scripts. == OPTIONS -include::cmdline_options.fr.adoc[] +include::cmdline_options.fr.adoc[tag=standard] == OPTIONS DE DEBUG *ATTENTION :* ces options sont pour du debug seulement, *NE PAS UTILISER EN PRODUCTION !* -include::cmdline_options_debug.fr.adoc[] +include::cmdline_options.fr.adoc[tag=debug] == OPTIONS D'EXTENSION diff --git a/doc/fr/weechat_dev.fr.adoc b/doc/fr/weechat_dev.fr.adoc index 209a5efb8..829f1a3eb 100644 --- a/doc/fr/weechat_dev.fr.adoc +++ b/doc/fr/weechat_dev.fr.adoc @@ -436,8 +436,7 @@ Fichiers de documentation : | docinfo.html | Style Asciidoctor. | docgen.py | Script Python pour construire les fichiers dans le répertoire _autogen/_ (voir ci-dessous). | XX/ | Documentation pour la langue XX (langues : en, fr, de, it, ...). -| cmdline_options.XX.adoc | Options générales de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur). -| cmdline_options_debug.XX.adoc | Options de debug de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur). +| cmdline_options.XX.adoc | Options de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur). | weechat.1.XX.adoc | Page de manuel (`man weechat`). | weechat_dev.XX.adoc | link:weechat_dev.fr.html[Guide du développeur] (ce document). | weechat_faq.XX.adoc | link:weechat_faq.fr.html[FAQ] (questions fréquemment posées). diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 50b9f707b..dfde0fa6a 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -517,14 +517,14 @@ par défaut sont créés dans _~/.weechat_ avec les options et valeurs par défa ==== Options de ligne de commande -include::cmdline_options.fr.adoc[] +include::cmdline_options.fr.adoc[tag=standard] ==== Options supplémentaires de debug [WARNING] Ces options sont pour du debug seulement, *NE PAS UTILISER EN PRODUCTION !* -include::cmdline_options_debug.fr.adoc[] +include::cmdline_options.fr.adoc[tag=debug] [[environment_variables]] === Variables d'environnement diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt index 7a0422c33..3a493bc13 100644 --- a/doc/it/CMakeLists.txt +++ b/doc/it/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.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 @@ -42,7 +41,6 @@ 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}/cmdline_options_debug.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 @@ -66,7 +64,6 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.it.html" diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am index 501b606bc..88ef05f3d 100644 --- a/doc/it/Makefile.am +++ b/doc/it/Makefile.am @@ -24,7 +24,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.it.adoc \ weechat-headless.1.it.adoc \ cmdline_options.it.adoc \ - cmdline_options_debug.it.adoc \ weechat_user.it.adoc \ weechat_plugin_api.it.adoc \ weechat_scripting.it.adoc \ @@ -53,13 +52,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc +weechat.1: weechat.1.it.adoc cmdline_options.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 cmdline_options_debug.it.adoc +weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.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 -weechat_user.it.html: weechat_user.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.it.html: weechat_user.it.adoc cmdline_options.it.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.adoc # plugin API reference diff --git a/doc/it/cmdline_options.it.adoc b/doc/it/cmdline_options.it.adoc index f6ffdd8a3..7be2504b4 100644 --- a/doc/it/cmdline_options.it.adoc +++ b/doc/it/cmdline_options.it.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: Disabilita la connessione automatica ai server all'avvio di WeeChat. @@ -66,3 +67,23 @@ *plugin:option*:: Opzione per il plugin. +// end::standard[] + +// tag::debug[] +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. +// end::debug[] diff --git a/doc/it/cmdline_options_debug.it.adoc b/doc/it/cmdline_options_debug.it.adoc deleted file mode 100644 index 5e88ef3ae..000000000 --- a/doc/it/cmdline_options_debug.it.adoc +++ /dev/null @@ -1,16 +0,0 @@ -// TRANSLATION MISSING -*--no-dlclose*:: - Do not call the function dlclose after plugins are unloaded. - This is useful with tools like Valgrind to display stack for unloaded - plugins. - -// TRANSLATION MISSING -*--no-gnutls*:: - Do not call the init and deinit functions of GnuTLS library. - This is useful with tools like Valgrind and electric-fence, to prevent - GnuTLS memory errors. - -// TRANSLATION MISSING -*--no-gcrypt*:: - Do not call the init and deinit functions of Gcrypt library. - This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/it/weechat-headless.1.it.adoc b/doc/it/weechat-headless.1.it.adoc index bce6694fd..a07f2d99d 100644 --- a/doc/it/weechat-headless.1.it.adoc +++ b/doc/it/weechat-headless.1.it.adoc @@ -35,14 +35,14 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". == OPTIONS -include::cmdline_options.it.adoc[] +include::cmdline_options.it.adoc[tag=standard] // TRANSLATION MISSING == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.it.adoc[] +include::cmdline_options.it.adoc[tag=debug] == PLUGIN OPTIONS diff --git a/doc/it/weechat.1.it.adoc b/doc/it/weechat.1.it.adoc index 8393614e8..65992ff30 100644 --- a/doc/it/weechat.1.it.adoc +++ b/doc/it/weechat.1.it.adoc @@ -31,14 +31,14 @@ It is highly customizable and extensible with scripts. == OPTIONS -include::cmdline_options.it.adoc[] +include::cmdline_options.it.adoc[tag=standard] // TRANSLATION MISSING == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.it.adoc[] +include::cmdline_options.it.adoc[tag=debug] == PLUGIN OPTIONS diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index db25fc538..1601d1695 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -550,7 +550,7 @@ created in _~/.weechat_ with default options and values // TRANSLATION MISSING ==== Command line options -include::cmdline_options.it.adoc[] +include::cmdline_options.it.adoc[tag=standard] // TRANSLATION MISSING ==== Extra debug options @@ -558,7 +558,7 @@ include::cmdline_options.it.adoc[] [WARNING] These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.it.adoc[] +include::cmdline_options.it.adoc[tag=debug] // TRANSLATION MISSING [[environment_variables]] diff --git a/doc/ja/CMakeLists.txt b/doc/ja/CMakeLists.txt index ee4c76a13..5b0b71691 100644 --- a/doc/ja/CMakeLists.txt +++ b/doc/ja/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ja.adoc @@ -42,7 +41,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ja.adoc @@ -66,7 +64,6 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.ja.html" diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am index 6e3e00a27..88174c2f7 100644 --- a/doc/ja/Makefile.am +++ b/doc/ja/Makefile.am @@ -24,7 +24,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.ja.adoc \ weechat-headless.1.ja.adoc \ cmdline_options.ja.adoc \ - cmdline_options_debug.ja.adoc \ weechat_user.ja.adoc \ weechat_plugin_api.ja.adoc \ weechat_scripting.ja.adoc \ @@ -57,13 +56,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc +weechat.1: weechat.1.ja.adoc cmdline_options.ja.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ja/weechat.1.ja.adoc -weechat-headless.1: weechat-headless.1.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc +weechat-headless.1: weechat-headless.1.ja.adoc cmdline_options.ja.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ja/weechat-headless.1.ja.adoc # user's guide -weechat_user.ja.html: weechat_user.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.ja.html: weechat_user.ja.adoc cmdline_options.ja.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.adoc # plugin API reference diff --git a/doc/ja/cmdline_options.ja.adoc b/doc/ja/cmdline_options.ja.adoc index 743821ee2..bcd506296 100644 --- a/doc/ja/cmdline_options.ja.adoc +++ b/doc/ja/cmdline_options.ja.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: WeeChat の起動時にサーバへの自動接続を行わない @@ -60,3 +61,23 @@ *plugin:option*:: プラグインに渡すオプション +// end::standard[] + +// tag::debug[] +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + プラグインがアンロードされた後に関数 + dlclose を呼び出さない。これは Valgrind + などのツールを使ってアンロードされたプラグインのスタックを表示する際に有用です。 + +*--no-gnutls*:: + GnuTLS ライブラリの init および deinit + 関数を呼び出さない。これは Valgrind および electric-fence + などのツールを使って GnuTLS メモリエラーを避ける際に有用です。 + +*--no-gcrypt*:: + Gcrypt ライブラリの init および deinit 関数を呼び出さない。これは + Valgrind などのツールを使って Gcrypt メモリエラーを避ける際に有効です。 +// end::debug[] diff --git a/doc/ja/cmdline_options_debug.ja.adoc b/doc/ja/cmdline_options_debug.ja.adoc deleted file mode 100644 index d2e18a4a3..000000000 --- a/doc/ja/cmdline_options_debug.ja.adoc +++ /dev/null @@ -1,16 +0,0 @@ -*--no-dlclose*:: - Do not call the function dlclose after plugins are unloaded. - This is useful with tools like Valgrind to display stack for unloaded - plugins. - プラグインがアンロードされた後に関数 - dlclose を呼び出さない。これは Valgrind - などのツールを使ってアンロードされたプラグインのスタックを表示する際に有用です。 - -*--no-gnutls*:: - GnuTLS ライブラリの init および deinit - 関数を呼び出さない。これは Valgrind および electric-fence - などのツールを使って GnuTLS メモリエラーを避ける際に有用です。 - -*--no-gcrypt*:: - Gcrypt ライブラリの init および deinit 関数を呼び出さない。これは - Valgrind などのツールを使って Gcrypt メモリエラーを避ける際に有効です。 diff --git a/doc/ja/weechat-headless.1.ja.adoc b/doc/ja/weechat-headless.1.ja.adoc index ae9cffe2d..569558677 100644 --- a/doc/ja/weechat-headless.1.ja.adoc +++ b/doc/ja/weechat-headless.1.ja.adoc @@ -30,13 +30,13 @@ WeeChat (Wee Enhanced Environment for Chat) はフリーのチャットクライ == オプション -include::cmdline_options.ja.adoc[] +include::cmdline_options.ja.adoc[tag=standard] == デバッグオプション *警告:* 以下のオプションはデバッグ用です。*通常利用時には使わないでください!* -include::cmdline_options_debug.ja.adoc[] +include::cmdline_options.ja.adoc[tag=debug] == プラグインオプション diff --git a/doc/ja/weechat.1.ja.adoc b/doc/ja/weechat.1.ja.adoc index b79b2a985..15c2acce8 100644 --- a/doc/ja/weechat.1.ja.adoc +++ b/doc/ja/weechat.1.ja.adoc @@ -27,13 +27,13 @@ WeeChat (Wee Enhanced Environment for Chat) はフリーのチャットクライ == オプション -include::cmdline_options.ja.adoc[] +include::cmdline_options.ja.adoc[tag=standard] == デバッグオプション *警告:* 以下のオプションはデバッグ用です。*通常利用時には使わないでください!* -include::cmdline_options_debug.ja.adoc[] +include::cmdline_options.ja.adoc[tag=debug] == プラグインオプション diff --git a/doc/ja/weechat_dev.ja.adoc b/doc/ja/weechat_dev.ja.adoc index 6f0c84042..7c3b687b6 100644 --- a/doc/ja/weechat_dev.ja.adoc +++ b/doc/ja/weechat_dev.ja.adoc @@ -455,8 +455,8 @@ WeeChat "core" は以下のディレクトリに配置されています: | docinfo.html | asciidoctor スタイル | docgen.py | _autogen/_ ディレクトリ内のファイルを作成する Python スクリプト (以下を参照) | XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ -| cmdline_options.XX.adoc | 一般利用向けコマンドラインオプション (このファイルの内容は man ページとユーザーズガイドにも含まれます) -| cmdline_options_debug.XX.adoc | デバッグ用コマンドラインオプション (このファイルの内容は man ページとユーザーズガイドにも含まれます) +// TRANSLATION MISSING +| cmdline_options.XX.adoc | Command-line options (file included in man pages and user's guide). | weechat.1.XX.adoc | man ページ (`man weechat`) | weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス] (この文書) | weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ] diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index d6bb31170..91c4ac869 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -508,14 +508,14 @@ _~/.weechat_ ディレクトリの中に作成されます ==== コマンドラインオプション -include::cmdline_options.ja.adoc[] +include::cmdline_options.ja.adoc[tag=standard] ==== デバッグオプション [WARNING] 以下のオプションはデバッグ用です。*通常利用時には使わないでください!* -include::cmdline_options_debug.ja.adoc[] +include::cmdline_options.ja.adoc[tag=debug] [[environment_variables]] === 環境変数 diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt index d6ae72dd9..c2541fcbb 100644 --- a/doc/pl/CMakeLists.txt +++ b/doc/pl/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.pl.adoc @@ -42,7 +41,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.pl.adoc @@ -65,7 +63,6 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.pl.html" diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am index 1731977e2..981d36077 100644 --- a/doc/pl/Makefile.am +++ b/doc/pl/Makefile.am @@ -25,7 +25,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.pl.adoc \ weechat-headless.1.pl.adoc \ cmdline_options.pl.adoc \ - cmdline_options_debug.pl.adoc \ weechat_user.pl.adoc \ weechat_scripting.pl.adoc \ weechat_faq.pl.adoc \ @@ -51,13 +50,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc +weechat.1: weechat.1.pl.adoc cmdline_options.pl.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/pl/weechat.1.pl.adoc -weechat-headless.1: weechat-headless.1.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc +weechat-headless.1: weechat-headless.1.pl.adoc cmdline_options.pl.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/pl/weechat-headless.1.pl.adoc # user's guide -weechat_user.pl.html: weechat_user.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.pl.html: weechat_user.pl.adoc cmdline_options.pl.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.adoc # scripting guide diff --git a/doc/pl/cmdline_options.pl.adoc b/doc/pl/cmdline_options.pl.adoc index d118ea4d1..de8c8fca6 100644 --- a/doc/pl/cmdline_options.pl.adoc +++ b/doc/pl/cmdline_options.pl.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: Wyłącza automatyczne łączenie się z serwerami podczas uruchamiania WeeChat. @@ -59,3 +60,21 @@ *wtyczka:opcja*:: Opcja dla wtyczki. +// end::standard[] + +// tag::debug[] +*--no-dlclose*:: + Nie wołaj funkcji dlclose po wyładowaniu wtyczek. + Jest to przydatne przy użyciu narzędzi jak Valgrind do wyświetlania + stosu wyładowywanych wtyczek. + +*--no-gnutls*:: + Nie wywołuj funkcji (de)inicjijących z biblioteki GnuTLS. + Jest to przydatne przy użyciu narzędzi jak Valgrind i electric-fence, + aby zapobiec błędą pamięci GnuTLS. + +*--no-gcrypt*:: + Nie wywołuj funkcji (de)inicjijących z biblioteki Gcrypt. + Jest to przydatne przy użyciu narzędzi jak Valgrind, aby zapobiec błędą + pamięci Gcrypt. +// end::debug[] diff --git a/doc/pl/cmdline_options_debug.pl.adoc b/doc/pl/cmdline_options_debug.pl.adoc deleted file mode 100644 index 9f30e0024..000000000 --- a/doc/pl/cmdline_options_debug.pl.adoc +++ /dev/null @@ -1,14 +0,0 @@ -*--no-dlclose*:: - Nie wołaj funkcji dlclose po wyładowaniu wtyczek. - Jest to przydatne przy użyciu narzędzi jak Valgrind do wyświetlania - stosu wyładowywanych wtyczek. - -*--no-gnutls*:: - Nie wywołuj funkcji (de)inicjijących z biblioteki GnuTLS. - Jest to przydatne przy użyciu narzędzi jak Valgrind i electric-fence, - aby zapobiec błędą pamięci GnuTLS. - -*--no-gcrypt*:: - Nie wywołuj funkcji (de)inicjijących z biblioteki Gcrypt. - Jest to przydatne przy użyciu narzędzi jak Valgrind, aby zapobiec błędą - pamięci Gcrypt. diff --git a/doc/pl/weechat-headless.1.pl.adoc b/doc/pl/weechat-headless.1.pl.adoc index add5e3c28..d4cd6ad5b 100644 --- a/doc/pl/weechat-headless.1.pl.adoc +++ b/doc/pl/weechat-headless.1.pl.adoc @@ -31,13 +31,13 @@ opcji "--daemon". == OPCJE -include::cmdline_options.pl.adoc[] +include::cmdline_options.pl.adoc[tag=standard] -== OPCJE DEBUGUJĄCE +== OPCJE DEBUGUJĄCE *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.pl.adoc[] +include::cmdline_options.pl.adoc[tag=debug] == OPCJE WTYCZEK diff --git a/doc/pl/weechat.1.pl.adoc b/doc/pl/weechat.1.pl.adoc index 3907c0635..838e6930a 100644 --- a/doc/pl/weechat.1.pl.adoc +++ b/doc/pl/weechat.1.pl.adoc @@ -27,13 +27,13 @@ Posiada dużo opcji konfiguracyjnych i dodatkowych wtyczek. == OPCJE -include::cmdline_options.pl.adoc[] +include::cmdline_options.pl.adoc[tag=standard] == OPCJE DEBUGUJĄCE *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.pl.adoc[] +include::cmdline_options.pl.adoc[tag=debug] == OPCJE WTYCZEK diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 719478959..0eaab7d98 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -510,14 +510,14 @@ w _~/.weechat_ z domyślnymi opcjami i wartościami ==== Argumenty linii poleceń -include::cmdline_options.pl.adoc[] +include::cmdline_options.pl.adoc[tag=standard] ==== Dodatkowe opcje do debugowania [WARNING] Te opcje służą tylko do debugowania błędów, *NIE UŻYWAĆ NA PRODUKCJI!* -include::cmdline_options_debug.pl.adoc[] +include::cmdline_options.pl.adoc[tag=debug] [[environment_variables]] === Zmienne środowiskowe diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt index 8e2991c64..12c93b4b4 100644 --- a/doc/ru/CMakeLists.txt +++ b/doc/ru/CMakeLists.txt @@ -25,7 +25,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc @@ -42,7 +41,6 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am index 13c72c1e2..71cbde816 100644 --- a/doc/ru/Makefile.am +++ b/doc/ru/Makefile.am @@ -24,7 +24,6 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.ru.adoc \ weechat-headless.1.ru.adoc \ cmdline_options.ru.adoc \ - cmdline_options_debug.ru.adoc \ weechat_quickstart.ru.adoc if MAN @@ -41,9 +40,9 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc +weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ru/weechat.1.ru.adoc -weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc +weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc $(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ru/weechat-headless.1.ru.adoc # quickstart diff --git a/doc/ru/cmdline_options.ru.adoc b/doc/ru/cmdline_options.ru.adoc index 6607119c8..be715a69c 100644 --- a/doc/ru/cmdline_options.ru.adoc +++ b/doc/ru/cmdline_options.ru.adoc @@ -1,3 +1,4 @@ +// tag::standard[] *-a*, *--no-connect*:: Отключить автоподключение к серверу при старте WeeChat. @@ -66,3 +67,23 @@ *<плагин>:<параметр>*:: Задать параметр плагина. +// end::standard[] + +// tag::debug[] +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. +// end::debug[] diff --git a/doc/ru/cmdline_options_debug.ru.adoc b/doc/ru/cmdline_options_debug.ru.adoc deleted file mode 100644 index 5e88ef3ae..000000000 --- a/doc/ru/cmdline_options_debug.ru.adoc +++ /dev/null @@ -1,16 +0,0 @@ -// TRANSLATION MISSING -*--no-dlclose*:: - Do not call the function dlclose after plugins are unloaded. - This is useful with tools like Valgrind to display stack for unloaded - plugins. - -// TRANSLATION MISSING -*--no-gnutls*:: - Do not call the init and deinit functions of GnuTLS library. - This is useful with tools like Valgrind and electric-fence, to prevent - GnuTLS memory errors. - -// TRANSLATION MISSING -*--no-gcrypt*:: - Do not call the init and deinit functions of Gcrypt library. - This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/ru/weechat-headless.1.ru.adoc b/doc/ru/weechat-headless.1.ru.adoc index fc5a1d532..460b99794 100644 --- a/doc/ru/weechat-headless.1.ru.adoc +++ b/doc/ru/weechat-headless.1.ru.adoc @@ -34,14 +34,14 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". == ПАРАМЕТРЫ -include::cmdline_options.ru.adoc[] +include::cmdline_options.ru.adoc[tag=standard] // TRANSLATION MISSING == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.ru.adoc[] +include::cmdline_options.ru.adoc[tag=debug] == ПАРАМЕТРЫ ПЛАГИНОВ diff --git a/doc/ru/weechat.1.ru.adoc b/doc/ru/weechat.1.ru.adoc index c13b5fb71..32af1dd7d 100644 --- a/doc/ru/weechat.1.ru.adoc +++ b/doc/ru/weechat.1.ru.adoc @@ -29,14 +29,14 @@ WeeChat (Wee Enhanced Environment for Chat) это свободный чат-к == ПАРАМЕТРЫ -include::cmdline_options.ru.adoc[] +include::cmdline_options.ru.adoc[tag=standard] // TRANSLATION MISSING == DEBUG OPTIONS *WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* -include::cmdline_options_debug.ru.adoc[] +include::cmdline_options.ru.adoc[tag=debug] == ПАРАМЕТРЫ ПЛАГИНОВ |