diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt index a811b0c66..bd339ebac 100644 --- a/doc/de/CMakeLists.txt +++ b/doc/de/CMakeLists.txt @@ -21,12 +21,12 @@ if(ENABLE_MAN) # man page add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.de.txt + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc COMMENT "Building weechat.1 (de)" ) add_custom_target(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1) @@ -38,11 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc COMMENT "Building weechat_user.de.html" ) add_custom_target(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html) @@ -51,9 +51,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # scripting guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc COMMENT "Building weechat_scripting.de.html" ) add_custom_target(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html) @@ -62,9 +62,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc COMMENT "Building weechat_faq.de.html" ) add_custom_target(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html) @@ -73,9 +73,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc COMMENT "Building weechat_quickstart.de.html" ) add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html) @@ -84,9 +84,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # tester's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc COMMENT "Building weechat_tester.de.html" ) add_custom_target(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html) diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am index 3173aafcb..6bdc600d3 100644 --- a/doc/de/Makefile.am +++ b/doc/de/Makefile.am @@ -21,14 +21,14 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat.1.de.txt \ - cmdline_options.de.txt \ - weechat_user.de.txt \ - weechat_scripting.de.txt \ - weechat_faq.de.txt \ - weechat_quickstart.de.txt \ - weechat_tester.de.txt \ - $(wildcard autogen/user/*.txt) + weechat.1.de.asciidoc \ + cmdline_options.de.asciidoc \ + weechat_user.de.asciidoc \ + weechat_scripting.de.asciidoc \ + weechat_faq.de.asciidoc \ + weechat_quickstart.de.asciidoc \ + weechat_tester.de.asciidoc \ + $(wildcard autogen/user/*.asciidoc) if MAN man_targets = weechat.1 @@ -47,30 +47,30 @@ endif all-local: $(man_targets) $(doc_targets) # man page -weechat.1: weechat.1.de.txt cmdline_options.de.txt - cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.txt . - cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.txt . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.txt +weechat.1: weechat.1.de.asciidoc cmdline_options.de.asciidoc + cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.asciidoc . + cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.asciidoc . + $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.asciidoc # user's guide -weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt +weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc # scripting guide -weechat_scripting.de.html: weechat_scripting.de.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt +weechat_scripting.de.html: weechat_scripting.de.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc # FAQ -weechat_faq.de.html: weechat_faq.de.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt +weechat_faq.de.html: weechat_faq.de.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc # quickstart -weechat_quickstart.de.html: weechat_quickstart.de.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt +weechat_quickstart.de.html: weechat_quickstart.de.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc # tester's guide -weechat_tester.de.html: weechat_tester.de.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.txt +weechat_tester.de.html: weechat_tester.de.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc # install man/docs @@ -99,5 +99,5 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.de.txt cmdline_options.de.txt + -rm -f weechat.1 weechat.1.de.asciidoc cmdline_options.de.asciidoc -rm -f *.html diff --git a/doc/de/autogen/plugin_api/completions.txt b/doc/de/autogen/plugin_api/completions.asciidoc similarity index 100% rename from doc/de/autogen/plugin_api/completions.txt rename to doc/de/autogen/plugin_api/completions.asciidoc diff --git a/doc/de/autogen/plugin_api/hdata.txt b/doc/de/autogen/plugin_api/hdata.asciidoc similarity index 100% rename from doc/de/autogen/plugin_api/hdata.txt rename to doc/de/autogen/plugin_api/hdata.asciidoc diff --git a/doc/de/autogen/plugin_api/infolists.txt b/doc/de/autogen/plugin_api/infolists.asciidoc similarity index 100% rename from doc/de/autogen/plugin_api/infolists.txt rename to doc/de/autogen/plugin_api/infolists.asciidoc diff --git a/doc/de/autogen/plugin_api/infos.txt b/doc/de/autogen/plugin_api/infos.asciidoc similarity index 100% rename from doc/de/autogen/plugin_api/infos.txt rename to doc/de/autogen/plugin_api/infos.asciidoc diff --git a/doc/de/autogen/plugin_api/infos_hashtable.txt b/doc/de/autogen/plugin_api/infos_hashtable.asciidoc similarity index 100% rename from doc/de/autogen/plugin_api/infos_hashtable.txt rename to doc/de/autogen/plugin_api/infos_hashtable.asciidoc diff --git a/doc/de/autogen/plugin_api/url_options.txt b/doc/de/autogen/plugin_api/url_options.asciidoc similarity index 100% rename from doc/de/autogen/plugin_api/url_options.txt rename to doc/de/autogen/plugin_api/url_options.asciidoc diff --git a/doc/de/autogen/user/alias_commands.txt b/doc/de/autogen/user/alias_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/alias_commands.txt rename to doc/de/autogen/user/alias_commands.asciidoc diff --git a/doc/de/autogen/user/aspell_commands.txt b/doc/de/autogen/user/aspell_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/aspell_commands.txt rename to doc/de/autogen/user/aspell_commands.asciidoc diff --git a/doc/de/autogen/user/aspell_options.txt b/doc/de/autogen/user/aspell_options.asciidoc similarity index 100% rename from doc/de/autogen/user/aspell_options.txt rename to doc/de/autogen/user/aspell_options.asciidoc diff --git a/doc/de/autogen/user/charset_commands.txt b/doc/de/autogen/user/charset_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/charset_commands.txt rename to doc/de/autogen/user/charset_commands.asciidoc diff --git a/doc/de/autogen/user/charset_options.txt b/doc/de/autogen/user/charset_options.asciidoc similarity index 100% rename from doc/de/autogen/user/charset_options.txt rename to doc/de/autogen/user/charset_options.asciidoc diff --git a/doc/de/autogen/user/exec_commands.txt b/doc/de/autogen/user/exec_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/exec_commands.txt rename to doc/de/autogen/user/exec_commands.asciidoc diff --git a/doc/de/autogen/user/exec_options.txt b/doc/de/autogen/user/exec_options.asciidoc similarity index 100% rename from doc/de/autogen/user/exec_options.txt rename to doc/de/autogen/user/exec_options.asciidoc diff --git a/doc/de/autogen/user/guile_commands.txt b/doc/de/autogen/user/guile_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/guile_commands.txt rename to doc/de/autogen/user/guile_commands.asciidoc diff --git a/doc/de/autogen/user/irc_commands.txt b/doc/de/autogen/user/irc_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/irc_commands.txt rename to doc/de/autogen/user/irc_commands.asciidoc diff --git a/doc/de/autogen/user/irc_options.txt b/doc/de/autogen/user/irc_options.asciidoc similarity index 100% rename from doc/de/autogen/user/irc_options.txt rename to doc/de/autogen/user/irc_options.asciidoc diff --git a/doc/de/autogen/user/logger_commands.txt b/doc/de/autogen/user/logger_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/logger_commands.txt rename to doc/de/autogen/user/logger_commands.asciidoc diff --git a/doc/de/autogen/user/logger_options.txt b/doc/de/autogen/user/logger_options.asciidoc similarity index 100% rename from doc/de/autogen/user/logger_options.txt rename to doc/de/autogen/user/logger_options.asciidoc diff --git a/doc/de/autogen/user/lua_commands.txt b/doc/de/autogen/user/lua_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/lua_commands.txt rename to doc/de/autogen/user/lua_commands.asciidoc diff --git a/doc/de/autogen/user/perl_commands.txt b/doc/de/autogen/user/perl_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/perl_commands.txt rename to doc/de/autogen/user/perl_commands.asciidoc diff --git a/doc/de/autogen/user/python_commands.txt b/doc/de/autogen/user/python_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/python_commands.txt rename to doc/de/autogen/user/python_commands.asciidoc diff --git a/doc/de/autogen/user/relay_commands.txt b/doc/de/autogen/user/relay_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/relay_commands.txt rename to doc/de/autogen/user/relay_commands.asciidoc diff --git a/doc/de/autogen/user/relay_options.txt b/doc/de/autogen/user/relay_options.asciidoc similarity index 100% rename from doc/de/autogen/user/relay_options.txt rename to doc/de/autogen/user/relay_options.asciidoc diff --git a/doc/de/autogen/user/ruby_commands.txt b/doc/de/autogen/user/ruby_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/ruby_commands.txt rename to doc/de/autogen/user/ruby_commands.asciidoc diff --git a/doc/de/autogen/user/script_commands.txt b/doc/de/autogen/user/script_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/script_commands.txt rename to doc/de/autogen/user/script_commands.asciidoc diff --git a/doc/de/autogen/user/script_options.txt b/doc/de/autogen/user/script_options.asciidoc similarity index 100% rename from doc/de/autogen/user/script_options.txt rename to doc/de/autogen/user/script_options.asciidoc diff --git a/doc/de/autogen/user/sec_options.txt b/doc/de/autogen/user/sec_options.asciidoc similarity index 100% rename from doc/de/autogen/user/sec_options.txt rename to doc/de/autogen/user/sec_options.asciidoc diff --git a/doc/de/autogen/user/tcl_commands.txt b/doc/de/autogen/user/tcl_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/tcl_commands.txt rename to doc/de/autogen/user/tcl_commands.asciidoc diff --git a/doc/de/autogen/user/trigger_commands.txt b/doc/de/autogen/user/trigger_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/trigger_commands.txt rename to doc/de/autogen/user/trigger_commands.asciidoc diff --git a/doc/de/autogen/user/trigger_options.txt b/doc/de/autogen/user/trigger_options.asciidoc similarity index 100% rename from doc/de/autogen/user/trigger_options.txt rename to doc/de/autogen/user/trigger_options.asciidoc diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/weechat_commands.txt rename to doc/de/autogen/user/weechat_commands.asciidoc diff --git a/doc/de/autogen/user/weechat_options.txt b/doc/de/autogen/user/weechat_options.asciidoc similarity index 100% rename from doc/de/autogen/user/weechat_options.txt rename to doc/de/autogen/user/weechat_options.asciidoc diff --git a/doc/de/autogen/user/xfer_commands.txt b/doc/de/autogen/user/xfer_commands.asciidoc similarity index 100% rename from doc/de/autogen/user/xfer_commands.txt rename to doc/de/autogen/user/xfer_commands.asciidoc diff --git a/doc/de/autogen/user/xfer_options.txt b/doc/de/autogen/user/xfer_options.asciidoc similarity index 100% rename from doc/de/autogen/user/xfer_options.txt rename to doc/de/autogen/user/xfer_options.asciidoc diff --git a/doc/de/cmdline_options.de.txt b/doc/de/cmdline_options.de.asciidoc similarity index 100% rename from doc/de/cmdline_options.de.txt rename to doc/de/cmdline_options.de.asciidoc diff --git a/doc/de/weechat.1.de.txt b/doc/de/weechat.1.de.asciidoc similarity index 98% rename from doc/de/weechat.1.de.txt rename to doc/de/weechat.1.de.asciidoc index 6ff6a21ba..add7c4261 100644 --- a/doc/de/weechat.1.de.txt +++ b/doc/de/weechat.1.de.asciidoc @@ -25,7 +25,7 @@ verschiedenen Sprachen unterstützt werden. == OPTIONEN -include::cmdline_options.de.txt[] +include::cmdline_options.de.asciidoc[] == OPTIONEN von ERWEITERUNGEN diff --git a/doc/de/weechat_faq.de.txt b/doc/de/weechat_faq.de.asciidoc similarity index 100% rename from doc/de/weechat_faq.de.txt rename to doc/de/weechat_faq.de.asciidoc diff --git a/doc/de/weechat_quickstart.de.txt b/doc/de/weechat_quickstart.de.asciidoc similarity index 100% rename from doc/de/weechat_quickstart.de.txt rename to doc/de/weechat_quickstart.de.asciidoc diff --git a/doc/de/weechat_scripting.de.txt b/doc/de/weechat_scripting.de.asciidoc similarity index 100% rename from doc/de/weechat_scripting.de.txt rename to doc/de/weechat_scripting.de.asciidoc diff --git a/doc/de/weechat_tester.de.txt b/doc/de/weechat_tester.de.asciidoc similarity index 100% rename from doc/de/weechat_tester.de.txt rename to doc/de/weechat_tester.de.asciidoc diff --git a/doc/de/weechat_user.de.txt b/doc/de/weechat_user.de.asciidoc similarity index 98% rename from doc/de/weechat_user.de.txt rename to doc/de/weechat_user.de.asciidoc index de73254fe..7323322e1 100644 --- a/doc/de/weechat_user.de.txt +++ b/doc/de/weechat_user.de.asciidoc @@ -434,7 +434,7 @@ Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden: Befehlszeile: -include::cmdline_options.de.txt[] +include::cmdline_options.de.asciidoc[] Um WeeChat zu starten muss folgender Befehl ausgeführt werden: @@ -1680,7 +1680,7 @@ Sektionen: Optionen: -include::autogen/user/sec_options.txt[] +include::autogen/user/sec_options.asciidoc[] [[weechat_options]] ==== WeeChat Optionen (weechat.conf) @@ -1715,12 +1715,12 @@ Sektionen: Optionen: -include::autogen/user/weechat_options.txt[] +include::autogen/user/weechat_options.asciidoc[] [[weechat_commands]] ==== WeeChat Befehle -include::autogen/user/weechat_commands.txt[] +include::autogen/user/weechat_commands.asciidoc[] [[plugins]] == Erweiterungen @@ -1786,7 +1786,7 @@ Die Alias-Erweiterung erlaubt es, für Befehle, sogenannte Kurzbefehle (einen Al [[alias_commands]] ==== Befehle -include::autogen/user/alias_commands.txt[] +include::autogen/user/alias_commands.asciidoc[] [[aspell_plugin]] === Aspell Erweiterung @@ -1811,12 +1811,12 @@ Sektionen: Optionen: -include::autogen/user/aspell_options.txt[] +include::autogen/user/aspell_options.asciidoc[] [[aspell_commands]] ==== Befehle -include::autogen/user/aspell_commands.txt[] +include::autogen/user/aspell_commands.asciidoc[] [[aspell_speller_options]] ==== Optionen für Rechtschreibprüfung @@ -1919,12 +1919,12 @@ Sektionen: Optionen: -include::autogen/user/charset_options.txt[] +include::autogen/user/charset_options.asciidoc[] [[charset_commands]] ==== Befehle -include::autogen/user/charset_commands.txt[] +include::autogen/user/charset_commands.asciidoc[] [[charset_set]] ==== Zeichensatz auswählen @@ -2005,12 +2005,12 @@ Sections: Options: -include::autogen/user/exec_options.txt[] +include::autogen/user/exec_options.asciidoc[] [[exec_commands]] ==== Commands -include::autogen/user/exec_commands.txt[] +include::autogen/user/exec_commands.asciidoc[] [[fifo_plugin]] === Fifo Erweiterung @@ -2120,12 +2120,12 @@ Sektionen: Optionen: -include::autogen/user/irc_options.txt[] +include::autogen/user/irc_options.asciidoc[] [[irc_commands]] ==== Befehle -include::autogen/user/irc_commands.txt[] +include::autogen/user/irc_commands.asciidoc[] [[irc_ssl_certificates]] ==== SSL Zertifikate @@ -2546,12 +2546,12 @@ Sektionen: Optionen: -include::autogen/user/logger_options.txt[] +include::autogen/user/logger_options.asciidoc[] [[logger_commands]] ==== Befehle -include::autogen/user/logger_commands.txt[] +include::autogen/user/logger_commands.asciidoc[] [[logger_log_levels]] ==== Log Levels @@ -2707,12 +2707,12 @@ Sektionen: Optionen: -include::autogen/user/relay_options.txt[] +include::autogen/user/relay_options.asciidoc[] [[relay_commands]] ==== Befehle -include::autogen/user/relay_commands.txt[] +include::autogen/user/relay_commands.asciidoc[] [[relay_password]] ==== Passwort @@ -2859,42 +2859,42 @@ Sektionen: Optionen: -include::autogen/user/script_options.txt[] +include::autogen/user/script_options.asciidoc[] [[script_commands]] ==== Skript Befehle -include::autogen/user/script_commands.txt[] +include::autogen/user/script_commands.asciidoc[] [[python_commands]] ==== Python Befehle -include::autogen/user/python_commands.txt[] +include::autogen/user/python_commands.asciidoc[] [[perl_commands]] ==== Perl Befehle -include::autogen/user/perl_commands.txt[] +include::autogen/user/perl_commands.asciidoc[] [[ruby_commands]] ==== Ruby Befehle -include::autogen/user/ruby_commands.txt[] +include::autogen/user/ruby_commands.asciidoc[] [[lua_commands]] ==== Lua Befehle -include::autogen/user/lua_commands.txt[] +include::autogen/user/lua_commands.asciidoc[] [[tcl_commands]] ==== Tcl Befehle -include::autogen/user/tcl_commands.txt[] +include::autogen/user/tcl_commands.asciidoc[] [[guile_commands]] ==== Guile Befehle -include::autogen/user/guile_commands.txt[] +include::autogen/user/guile_commands.asciidoc[] [[trigger_plugin]] === Trigger Erweiterung @@ -2926,12 +2926,12 @@ Sektionen: Optionen: -include::autogen/user/trigger_options.txt[] +include::autogen/user/trigger_options.asciidoc[] [[trigger_commands]] ==== Befehle -include::autogen/user/trigger_commands.txt[] +include::autogen/user/trigger_commands.asciidoc[] [[trigger_anatomy]] ==== Aufbau eines Triggers @@ -3444,12 +3444,12 @@ Sektionen: Optionen: -include::autogen/user/xfer_options.txt[] +include::autogen/user/xfer_options.asciidoc[] [[xfer_commands]] ==== Befehle -include::autogen/user/xfer_commands.txt[] +include::autogen/user/xfer_commands.asciidoc[] [[support]] == Unterstützung diff --git a/doc/docgen.py b/doc/docgen.py index c542cdf25..c1f36fca3 100644 --- a/doc/docgen.py +++ b/doc/docgen.py @@ -410,7 +410,7 @@ def docgen_cmd_cb(data, buf, args): # write commands for plugin in commands: - filename = directory + '/user/' + plugin + '_commands.txt' + filename = directory + '/user/' + plugin + '_commands.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') for command in sorted(commands[plugin]): @@ -438,7 +438,7 @@ def docgen_cmd_cb(data, buf, args): # write config options for config in options: - filename = directory + '/user/' + config + '_options.txt' + filename = directory + '/user/' + config + '_options.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') for section in sorted(options[config]): @@ -502,7 +502,7 @@ def docgen_cmd_cb(data, buf, args): 'options') # write infos hooked - filename = directory + '/plugin_api/infos.txt' + filename = directory + '/plugin_api/infos.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') _file.write('[width="100%",cols="^1,^2,6,6",options="header"]\n') @@ -524,7 +524,7 @@ def docgen_cmd_cb(data, buf, args): 'infos') # write infos (hashtable) hooked - filename = directory + '/plugin_api/infos_hashtable.txt' + filename = directory + '/plugin_api/infos_hashtable.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') _file.write('[width="100%",cols="^1,^2,6,6,6",options="header"]\n') @@ -548,7 +548,7 @@ def docgen_cmd_cb(data, buf, args): 'infos_hashtable') # write infolists hooked - filename = directory + '/plugin_api/infolists.txt' + filename = directory + '/plugin_api/infolists.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') _file.write('[width="100%",cols="^1,^2,5,5,5",options="header"]\n') @@ -572,7 +572,7 @@ def docgen_cmd_cb(data, buf, args): 'infolists') # write hdata hooked - filename = directory + '/plugin_api/hdata.txt' + filename = directory + '/plugin_api/hdata.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') for plugin in sorted(hdata): @@ -600,7 +600,7 @@ def docgen_cmd_cb(data, buf, args): 'hdata') # write completions hooked - filename = directory + '/plugin_api/completions.txt' + filename = directory + '/plugin_api/completions.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') _file.write('[width="65%",cols="^1,^2,8",options="header"]\n') @@ -620,7 +620,7 @@ def docgen_cmd_cb(data, buf, args): 'completions') # write url options - filename = directory + '/plugin_api/url_options.txt' + filename = directory + '/plugin_api/url_options.asciidoc' tmpfilename = filename + '.tmp' _file = open(tmpfilename, 'w') _file.write('[width="100%",cols="2,^1,7",options="header"]\n') diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt index d2157957b..380fd80da 100644 --- a/doc/en/CMakeLists.txt +++ b/doc/en/CMakeLists.txt @@ -21,12 +21,12 @@ if(ENABLE_MAN) # man page add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.en.txt + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc COMMENT "Building weechat.1 (en)" ) add_custom_target(doc-man-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1) @@ -38,11 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc COMMENT "Building weechat_user.en.html" ) add_custom_target(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html) @@ -51,10 +51,10 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # plugin API reference add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc COMMENT "Building weechat_plugin_api.en.html" ) add_custom_target(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html) @@ -63,9 +63,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # scripting guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc COMMENT "Building weechat_scripting.en.html" ) add_custom_target(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html) @@ -74,9 +74,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc COMMENT "Building weechat_faq.en.html" ) add_custom_target(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html) @@ -85,9 +85,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc COMMENT "Building weechat_quickstart.en.html" ) add_custom_target(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html) @@ -96,9 +96,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # tester's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc COMMENT "Building weechat_tester.en.html" ) add_custom_target(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html) @@ -107,9 +107,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # relay protocol add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc COMMENT "Building weechat_relay_protocol.en.html" ) add_custom_target(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html) @@ -118,9 +118,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # developer's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc COMMENT "Building weechat_dev.en.html" ) add_custom_target(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html) diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am index 48fd93d1c..c017ecf68 100644 --- a/doc/en/Makefile.am +++ b/doc/en/Makefile.am @@ -21,18 +21,18 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat.1.en.txt \ - cmdline_options.en.txt \ - weechat_user.en.txt \ - weechat_plugin_api.en.txt \ - weechat_scripting.en.txt \ - weechat_faq.en.txt \ - weechat_quickstart.en.txt \ - weechat_tester.en.txt \ - weechat_relay_protocol.en.txt \ - weechat_dev.en.txt \ - $(wildcard autogen/user/*.txt) \ - $(wildcard autogen/plugin_api/*.txt) + weechat.1.en.asciidoc \ + cmdline_options.en.asciidoc \ + weechat_user.en.asciidoc \ + weechat_plugin_api.en.asciidoc \ + weechat_scripting.en.asciidoc \ + weechat_faq.en.asciidoc \ + weechat_quickstart.en.asciidoc \ + weechat_tester.en.asciidoc \ + weechat_relay_protocol.en.asciidoc \ + weechat_dev.en.asciidoc \ + $(wildcard autogen/user/*.asciidoc) \ + $(wildcard autogen/plugin_api/*.asciidoc) if MAN man_targets = weechat.1 @@ -54,42 +54,42 @@ endif all-local: $(man_targets) $(doc_targets) # man page -weechat.1: weechat.1.en.txt cmdline_options.en.txt - cp -f $(abs_top_srcdir)/doc/en/weechat.1.en.txt . - cp -f $(abs_top_srcdir)/doc/en/cmdline_options.en.txt . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.en.txt +weechat.1: weechat.1.en.asciidoc cmdline_options.en.asciidoc + cp -f $(abs_top_srcdir)/doc/en/weechat.1.en.asciidoc . + cp -f $(abs_top_srcdir)/doc/en/cmdline_options.en.asciidoc . + $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.en.asciidoc # user's guide -weechat_user.en.html: weechat_user.en.txt cmdline_options.en.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.txt +weechat_user.en.html: weechat_user.en.asciidoc cmdline_options.en.asciidoc $(wildcard autogen/user/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.asciidoc # plugin API reference -weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.txt +weechat_plugin_api.en.html: weechat_plugin_api.en.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.asciidoc # scripting guide -weechat_scripting.en.html: weechat_scripting.en.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.txt +weechat_scripting.en.html: weechat_scripting.en.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.asciidoc # FAQ -weechat_faq.en.html: weechat_faq.en.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.txt +weechat_faq.en.html: weechat_faq.en.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.asciidoc # quickstart -weechat_quickstart.en.html: weechat_quickstart.en.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.txt +weechat_quickstart.en.html: weechat_quickstart.en.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.asciidoc # tester's guide -weechat_tester.en.html: weechat_tester.en.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.txt +weechat_tester.en.html: weechat_tester.en.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.asciidoc # relay protocol -weechat_relay_protocol.en.html: weechat_relay_protocol.en.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.txt +weechat_relay_protocol.en.html: weechat_relay_protocol.en.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.asciidoc # developer's guide -weechat_dev.en.html: weechat_dev.en.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.txt +weechat_dev.en.html: weechat_dev.en.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.asciidoc # install man/docs @@ -118,5 +118,5 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.en.txt cmdline_options.en.txt + -rm -f weechat.1 weechat.1.en.asciidoc cmdline_options.en.asciidoc -rm -f *.html diff --git a/doc/en/autogen/plugin_api/completions.txt b/doc/en/autogen/plugin_api/completions.asciidoc similarity index 100% rename from doc/en/autogen/plugin_api/completions.txt rename to doc/en/autogen/plugin_api/completions.asciidoc diff --git a/doc/en/autogen/plugin_api/hdata.txt b/doc/en/autogen/plugin_api/hdata.asciidoc similarity index 100% rename from doc/en/autogen/plugin_api/hdata.txt rename to doc/en/autogen/plugin_api/hdata.asciidoc diff --git a/doc/en/autogen/plugin_api/infolists.txt b/doc/en/autogen/plugin_api/infolists.asciidoc similarity index 100% rename from doc/en/autogen/plugin_api/infolists.txt rename to doc/en/autogen/plugin_api/infolists.asciidoc diff --git a/doc/en/autogen/plugin_api/infos.txt b/doc/en/autogen/plugin_api/infos.asciidoc similarity index 100% rename from doc/en/autogen/plugin_api/infos.txt rename to doc/en/autogen/plugin_api/infos.asciidoc diff --git a/doc/en/autogen/plugin_api/infos_hashtable.txt b/doc/en/autogen/plugin_api/infos_hashtable.asciidoc similarity index 100% rename from doc/en/autogen/plugin_api/infos_hashtable.txt rename to doc/en/autogen/plugin_api/infos_hashtable.asciidoc diff --git a/doc/en/autogen/plugin_api/url_options.txt b/doc/en/autogen/plugin_api/url_options.asciidoc similarity index 100% rename from doc/en/autogen/plugin_api/url_options.txt rename to doc/en/autogen/plugin_api/url_options.asciidoc diff --git a/doc/en/autogen/user/alias_commands.txt b/doc/en/autogen/user/alias_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/alias_commands.txt rename to doc/en/autogen/user/alias_commands.asciidoc diff --git a/doc/en/autogen/user/aspell_commands.txt b/doc/en/autogen/user/aspell_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/aspell_commands.txt rename to doc/en/autogen/user/aspell_commands.asciidoc diff --git a/doc/en/autogen/user/aspell_options.txt b/doc/en/autogen/user/aspell_options.asciidoc similarity index 100% rename from doc/en/autogen/user/aspell_options.txt rename to doc/en/autogen/user/aspell_options.asciidoc diff --git a/doc/en/autogen/user/charset_commands.txt b/doc/en/autogen/user/charset_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/charset_commands.txt rename to doc/en/autogen/user/charset_commands.asciidoc diff --git a/doc/en/autogen/user/charset_options.txt b/doc/en/autogen/user/charset_options.asciidoc similarity index 100% rename from doc/en/autogen/user/charset_options.txt rename to doc/en/autogen/user/charset_options.asciidoc diff --git a/doc/en/autogen/user/exec_commands.txt b/doc/en/autogen/user/exec_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/exec_commands.txt rename to doc/en/autogen/user/exec_commands.asciidoc diff --git a/doc/en/autogen/user/exec_options.txt b/doc/en/autogen/user/exec_options.asciidoc similarity index 100% rename from doc/en/autogen/user/exec_options.txt rename to doc/en/autogen/user/exec_options.asciidoc diff --git a/doc/en/autogen/user/guile_commands.txt b/doc/en/autogen/user/guile_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/guile_commands.txt rename to doc/en/autogen/user/guile_commands.asciidoc diff --git a/doc/en/autogen/user/irc_commands.txt b/doc/en/autogen/user/irc_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/irc_commands.txt rename to doc/en/autogen/user/irc_commands.asciidoc diff --git a/doc/en/autogen/user/irc_options.txt b/doc/en/autogen/user/irc_options.asciidoc similarity index 100% rename from doc/en/autogen/user/irc_options.txt rename to doc/en/autogen/user/irc_options.asciidoc diff --git a/doc/en/autogen/user/logger_commands.txt b/doc/en/autogen/user/logger_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/logger_commands.txt rename to doc/en/autogen/user/logger_commands.asciidoc diff --git a/doc/en/autogen/user/logger_options.txt b/doc/en/autogen/user/logger_options.asciidoc similarity index 100% rename from doc/en/autogen/user/logger_options.txt rename to doc/en/autogen/user/logger_options.asciidoc diff --git a/doc/en/autogen/user/lua_commands.txt b/doc/en/autogen/user/lua_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/lua_commands.txt rename to doc/en/autogen/user/lua_commands.asciidoc diff --git a/doc/en/autogen/user/perl_commands.txt b/doc/en/autogen/user/perl_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/perl_commands.txt rename to doc/en/autogen/user/perl_commands.asciidoc diff --git a/doc/en/autogen/user/python_commands.txt b/doc/en/autogen/user/python_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/python_commands.txt rename to doc/en/autogen/user/python_commands.asciidoc diff --git a/doc/en/autogen/user/relay_commands.txt b/doc/en/autogen/user/relay_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/relay_commands.txt rename to doc/en/autogen/user/relay_commands.asciidoc diff --git a/doc/en/autogen/user/relay_options.txt b/doc/en/autogen/user/relay_options.asciidoc similarity index 100% rename from doc/en/autogen/user/relay_options.txt rename to doc/en/autogen/user/relay_options.asciidoc diff --git a/doc/en/autogen/user/ruby_commands.txt b/doc/en/autogen/user/ruby_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/ruby_commands.txt rename to doc/en/autogen/user/ruby_commands.asciidoc diff --git a/doc/en/autogen/user/script_commands.txt b/doc/en/autogen/user/script_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/script_commands.txt rename to doc/en/autogen/user/script_commands.asciidoc diff --git a/doc/en/autogen/user/script_options.txt b/doc/en/autogen/user/script_options.asciidoc similarity index 100% rename from doc/en/autogen/user/script_options.txt rename to doc/en/autogen/user/script_options.asciidoc diff --git a/doc/en/autogen/user/sec_options.txt b/doc/en/autogen/user/sec_options.asciidoc similarity index 100% rename from doc/en/autogen/user/sec_options.txt rename to doc/en/autogen/user/sec_options.asciidoc diff --git a/doc/en/autogen/user/tcl_commands.txt b/doc/en/autogen/user/tcl_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/tcl_commands.txt rename to doc/en/autogen/user/tcl_commands.asciidoc diff --git a/doc/en/autogen/user/trigger_commands.txt b/doc/en/autogen/user/trigger_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/trigger_commands.txt rename to doc/en/autogen/user/trigger_commands.asciidoc diff --git a/doc/en/autogen/user/trigger_options.txt b/doc/en/autogen/user/trigger_options.asciidoc similarity index 100% rename from doc/en/autogen/user/trigger_options.txt rename to doc/en/autogen/user/trigger_options.asciidoc diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/weechat_commands.txt rename to doc/en/autogen/user/weechat_commands.asciidoc diff --git a/doc/en/autogen/user/weechat_options.txt b/doc/en/autogen/user/weechat_options.asciidoc similarity index 100% rename from doc/en/autogen/user/weechat_options.txt rename to doc/en/autogen/user/weechat_options.asciidoc diff --git a/doc/en/autogen/user/xfer_commands.txt b/doc/en/autogen/user/xfer_commands.asciidoc similarity index 100% rename from doc/en/autogen/user/xfer_commands.txt rename to doc/en/autogen/user/xfer_commands.asciidoc diff --git a/doc/en/autogen/user/xfer_options.txt b/doc/en/autogen/user/xfer_options.asciidoc similarity index 100% rename from doc/en/autogen/user/xfer_options.txt rename to doc/en/autogen/user/xfer_options.asciidoc diff --git a/doc/en/cmdline_options.en.txt b/doc/en/cmdline_options.en.asciidoc similarity index 100% rename from doc/en/cmdline_options.en.txt rename to doc/en/cmdline_options.en.asciidoc diff --git a/doc/en/weechat.1.en.txt b/doc/en/weechat.1.en.asciidoc similarity index 98% rename from doc/en/weechat.1.en.txt rename to doc/en/weechat.1.en.asciidoc index 9385f123e..1eea7bbab 100644 --- a/doc/en/weechat.1.en.txt +++ b/doc/en/weechat.1.en.asciidoc @@ -24,7 +24,7 @@ extensible with C and scripts written in several languages. == OPTIONS -include::cmdline_options.en.txt[] +include::cmdline_options.en.asciidoc[] == PLUGIN OPTIONS diff --git a/doc/en/weechat_dev.en.txt b/doc/en/weechat_dev.en.asciidoc similarity index 96% rename from doc/en/weechat_dev.en.txt rename to doc/en/weechat_dev.en.asciidoc index 153943d63..eb150b2ee 100644 --- a/doc/en/weechat_dev.en.txt +++ b/doc/en/weechat_dev.en.asciidoc @@ -288,25 +288,25 @@ Documentation files: [width="100%",cols="1v,5",options="header"] |=== -| Path/file | Description -| doc/ | Documentation -| asciidoc.conf | Asciidoc configuration file (some macros) -| asciidoc.css | Asciidoc style -| docgen.py | Python script to build files in 'autogen/' directory (see below) -| XX/ | Documentation for language XX (languages: en, fr, de, it, ...) -| weechat.1.XX.txt | Man page (`man weechat`) -| weechat_quickstart.XX.txt | Quickstart guide -| weechat_user.XX.txt | User's guide -| weechat_faq.XX.txt | FAQ -| weechat_plugin_api.XX.txt | Plugin API reference -| weechat_scripting.XX.txt | Scripting guide -| weechat_tester.XX.txt | Tester's guide -| weechat_dev.XX.txt | Developer's guide (this document) -| weechat_relay_protocol.XX.txt | Relay protocol (for remote interfaces) -| cmdline_options.XX.txt | Command-line options (file included in man page and user's guide) -| autogen/ | Files auto-built with script docgen.py -| user/ | Files auto-built for user's guide (do *NEVER* update manually!) -| plugin_api/ | Files auto-built for plugin API (do *NEVER* update manually!) +| Path/file | Description +| doc/ | Documentation +| asciidoc.conf | Asciidoc configuration file (some macros) +| asciidoc.css | Asciidoc style +| docgen.py | Python script to build files in 'autogen/' directory (see below) +| XX/ | Documentation for language XX (languages: en, fr, de, it, ...) +| weechat.1.XX.asciidoc | Man page (`man weechat`) +| weechat_quickstart.XX.asciidoc | Quickstart guide +| weechat_user.XX.asciidoc | User's guide +| weechat_faq.XX.asciidoc | FAQ +| weechat_plugin_api.XX.asciidoc | Plugin API reference +| weechat_scripting.XX.asciidoc | Scripting guide +| weechat_tester.XX.asciidoc | Tester's guide +| weechat_dev.XX.asciidoc | Developer's guide (this document) +| weechat_relay_protocol.XX.asciidoc | Relay protocol (for remote interfaces) +| cmdline_options.XX.asciidoc | Command-line options (file included in man page and user's guide) +| autogen/ | Files auto-built with script docgen.py +| user/ | Files auto-built for user's guide (do *NEVER* update manually!) +| plugin_api/ | Files auto-built for plugin API (do *NEVER* update manually!) |=== Translations for WeeChat and plugins are done with gettext, files are in 'po/' diff --git a/doc/en/weechat_faq.en.txt b/doc/en/weechat_faq.en.asciidoc similarity index 100% rename from doc/en/weechat_faq.en.txt rename to doc/en/weechat_faq.en.asciidoc diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.asciidoc similarity index 99% rename from doc/en/weechat_plugin_api.en.txt rename to doc/en/weechat_plugin_api.en.asciidoc index 1e322c51d..51dd0b2c9 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.asciidoc @@ -6739,7 +6739,8 @@ Arguments: * 'callback_data': pointer given to callback when it is called by WeeChat Default completion codes are: -include::autogen/plugin_api/completions.txt[] + +include::autogen/plugin_api/completions.asciidoc[] Special codes: @@ -7238,7 +7239,7 @@ available: For command "url:...", following options are available (see `man curl_easy_setopt` for a description of each option): -include::autogen/plugin_api/url_options.txt[] +include::autogen/plugin_api/url_options.asciidoc[] [NOTE] ^(1)^ When constants are available they must be used as value for option. For @@ -12490,7 +12491,7 @@ Return value: Infos: -include::autogen/plugin_api/infos.txt[] +include::autogen/plugin_api/infos.asciidoc[] C example: @@ -12542,7 +12543,7 @@ Return value: Infos: -include::autogen/plugin_api/infos_hashtable.txt[] +include::autogen/plugin_api/infos_hashtable.asciidoc[] C example: @@ -12920,7 +12921,7 @@ Return value: Infolists: -include::autogen/plugin_api/infolists.txt[] +include::autogen/plugin_api/infolists.asciidoc[] C example: @@ -13635,7 +13636,7 @@ Return value: List of hdata: -include::autogen/plugin_api/hdata.txt[] +include::autogen/plugin_api/hdata.asciidoc[] C example: diff --git a/doc/en/weechat_quickstart.en.txt b/doc/en/weechat_quickstart.en.asciidoc similarity index 100% rename from doc/en/weechat_quickstart.en.txt rename to doc/en/weechat_quickstart.en.asciidoc diff --git a/doc/en/weechat_relay_protocol.en.txt b/doc/en/weechat_relay_protocol.en.asciidoc similarity index 100% rename from doc/en/weechat_relay_protocol.en.txt rename to doc/en/weechat_relay_protocol.en.asciidoc diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.asciidoc similarity index 100% rename from doc/en/weechat_scripting.en.txt rename to doc/en/weechat_scripting.en.asciidoc diff --git a/doc/en/weechat_tester.en.txt b/doc/en/weechat_tester.en.asciidoc similarity index 100% rename from doc/en/weechat_tester.en.txt rename to doc/en/weechat_tester.en.asciidoc diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.asciidoc similarity index 98% rename from doc/en/weechat_user.en.txt rename to doc/en/weechat_user.en.asciidoc index 2631c7327..00bd52e78 100644 --- a/doc/en/weechat_user.en.txt +++ b/doc/en/weechat_user.en.asciidoc @@ -433,7 +433,7 @@ Then like for a crash, use command `bt full`: Command line arguments: -include::cmdline_options.en.txt[] +include::cmdline_options.en.asciidoc[] To start WeeChat, issue this command: @@ -1646,7 +1646,7 @@ Sections: Options: -include::autogen/user/sec_options.txt[] +include::autogen/user/sec_options.asciidoc[] [[weechat_options]] ==== WeeChat options (weechat.conf) @@ -1681,12 +1681,12 @@ Sections: Options: -include::autogen/user/weechat_options.txt[] +include::autogen/user/weechat_options.asciidoc[] [[weechat_commands]] ==== WeeChat commands -include::autogen/user/weechat_commands.txt[] +include::autogen/user/weechat_commands.asciidoc[] [[plugins]] == Plugins @@ -1752,7 +1752,7 @@ plugins). [[alias_commands]] ==== Commands -include::autogen/user/alias_commands.txt[] +include::autogen/user/alias_commands.asciidoc[] [[aspell_plugin]] === Aspell plugin @@ -1777,12 +1777,12 @@ Sections: Options: -include::autogen/user/aspell_options.txt[] +include::autogen/user/aspell_options.asciidoc[] [[aspell_commands]] ==== Commands -include::autogen/user/aspell_commands.txt[] +include::autogen/user/aspell_commands.asciidoc[] [[aspell_speller_options]] ==== Speller options @@ -1881,12 +1881,12 @@ Sections: Options: -include::autogen/user/charset_options.txt[] +include::autogen/user/charset_options.asciidoc[] [[charset_commands]] ==== Commands -include::autogen/user/charset_commands.txt[] +include::autogen/user/charset_commands.asciidoc[] [[charset_set]] ==== Set charset @@ -1963,12 +1963,12 @@ Sections: Options: -include::autogen/user/exec_options.txt[] +include::autogen/user/exec_options.asciidoc[] [[exec_commands]] ==== Commands -include::autogen/user/exec_commands.txt[] +include::autogen/user/exec_commands.asciidoc[] [[fifo_plugin]] === Fifo plugin @@ -2078,12 +2078,12 @@ Sections: Options: -include::autogen/user/irc_options.txt[] +include::autogen/user/irc_options.asciidoc[] [[irc_commands]] ==== Commands -include::autogen/user/irc_commands.txt[] +include::autogen/user/irc_commands.asciidoc[] [[irc_ssl_certificates]] ==== SSL certificates @@ -2496,12 +2496,12 @@ Sections: Options: -include::autogen/user/logger_options.txt[] +include::autogen/user/logger_options.asciidoc[] [[logger_commands]] ==== Commands -include::autogen/user/logger_commands.txt[] +include::autogen/user/logger_commands.asciidoc[] [[logger_log_levels]] ==== Log levels @@ -2651,12 +2651,12 @@ Sections: Options: -include::autogen/user/relay_options.txt[] +include::autogen/user/relay_options.asciidoc[] [[relay_commands]] ==== Commands -include::autogen/user/relay_commands.txt[] +include::autogen/user/relay_commands.asciidoc[] [[relay_password]] ==== Password @@ -2793,42 +2793,42 @@ Sections: Options: -include::autogen/user/script_options.txt[] +include::autogen/user/script_options.asciidoc[] [[script_commands]] ==== Script commands -include::autogen/user/script_commands.txt[] +include::autogen/user/script_commands.asciidoc[] [[python_commands]] ==== Python commands -include::autogen/user/python_commands.txt[] +include::autogen/user/python_commands.asciidoc[] [[perl_commands]] ==== Perl commands -include::autogen/user/perl_commands.txt[] +include::autogen/user/perl_commands.asciidoc[] [[ruby_commands]] ==== Ruby commands -include::autogen/user/ruby_commands.txt[] +include::autogen/user/ruby_commands.asciidoc[] [[lua_commands]] ==== Lua commands -include::autogen/user/lua_commands.txt[] +include::autogen/user/lua_commands.asciidoc[] [[tcl_commands]] ==== Tcl commands -include::autogen/user/tcl_commands.txt[] +include::autogen/user/tcl_commands.asciidoc[] [[guile_commands]] ==== Guile commands -include::autogen/user/guile_commands.txt[] +include::autogen/user/guile_commands.asciidoc[] [[trigger_plugin]] === Trigger plugin @@ -2859,12 +2859,12 @@ Sections: Options: -include::autogen/user/trigger_options.txt[] +include::autogen/user/trigger_options.asciidoc[] [[trigger_commands]] ==== Commands -include::autogen/user/trigger_commands.txt[] +include::autogen/user/trigger_commands.asciidoc[] [[trigger_anatomy]] ==== Anatomy of a trigger @@ -3370,12 +3370,12 @@ Sections: Options: -include::autogen/user/xfer_options.txt[] +include::autogen/user/xfer_options.asciidoc[] [[xfer_commands]] ==== Commands -include::autogen/user/xfer_commands.txt[] +include::autogen/user/xfer_commands.asciidoc[] [[support]] == Support diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt index f73eb15ea..22f58f4f4 100644 --- a/doc/es/CMakeLists.txt +++ b/doc/es/CMakeLists.txt @@ -22,9 +22,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc COMMENT "Building weechat_quickstart.es.html" ) add_custom_target(doc-quickstart-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html) diff --git a/doc/es/Makefile.am b/doc/es/Makefile.am index ffc45338b..37b79de64 100644 --- a/doc/es/Makefile.am +++ b/doc/es/Makefile.am @@ -20,7 +20,7 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat_quickstart.es.txt + weechat_quickstart.es.asciidoc if MAN man_targets = @@ -35,8 +35,8 @@ endif all-local: $(man_targets) $(doc_targets) # quickstart -weechat_quickstart.es.html: weechat_quickstart.es.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.txt +weechat_quickstart.es.html: weechat_quickstart.es.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.asciidoc # install man/docs diff --git a/doc/es/weechat_quickstart.es.txt b/doc/es/weechat_quickstart.es.asciidoc similarity index 100% rename from doc/es/weechat_quickstart.es.txt rename to doc/es/weechat_quickstart.es.asciidoc diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt index 62a89376a..f735c1ede 100644 --- a/doc/fr/CMakeLists.txt +++ b/doc/fr/CMakeLists.txt @@ -21,12 +21,12 @@ if(ENABLE_MAN) # man page add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.fr.txt + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.asciidoc COMMENT "Building weechat.1 (fr)" ) add_custom_target(doc-man-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1) @@ -38,11 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc COMMENT "Building weechat_user.fr.html" ) add_custom_target(doc-user-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html) @@ -51,10 +51,10 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # plugin API reference add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc COMMENT "Building weechat_plugin_api.fr.html" ) add_custom_target(doc-plugin-api-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html) @@ -63,9 +63,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # scripting guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.asciidoc COMMENT "Building weechat_scripting.fr.html" ) add_custom_target(doc-scripting-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html) @@ -74,9 +74,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.asciidoc COMMENT "Building weechat_faq.fr.html" ) add_custom_target(doc-faq-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html) @@ -85,9 +85,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.asciidoc COMMENT "Building weechat_quickstart.fr.html" ) add_custom_target(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html) @@ -96,9 +96,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # tester's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.asciidoc COMMENT "Building weechat_tester.fr.html" ) add_custom_target(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html) @@ -107,9 +107,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # relay protocol add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.asciidoc COMMENT "Building weechat_relay_protocol.fr.html" ) add_custom_target(doc-relay-protocol-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html) @@ -118,9 +118,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # developer's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.asciidoc COMMENT "Building weechat_dev.fr.html" ) add_custom_target(doc-dev-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html) diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am index a6d20803c..d31f52676 100644 --- a/doc/fr/Makefile.am +++ b/doc/fr/Makefile.am @@ -21,18 +21,18 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat.1.fr.txt \ - cmdline_options.fr.txt \ - weechat_user.fr.txt \ - weechat_plugin_api.fr.txt \ - weechat_scripting.fr.txt \ - weechat_faq.fr.txt \ - weechat_quickstart.fr.txt \ - weechat_tester.fr.txt \ - weechat_relay_protocol.fr.txt \ - weechat_dev.fr.txt \ - $(wildcard autogen/user/*.txt) \ - $(wildcard autogen/plugin_api/*.txt) + weechat.1.fr.asciidoc \ + cmdline_options.fr.asciidoc \ + weechat_user.fr.asciidoc \ + weechat_plugin_api.fr.asciidoc \ + weechat_scripting.fr.asciidoc \ + weechat_faq.fr.asciidoc \ + weechat_quickstart.fr.asciidoc \ + weechat_tester.fr.asciidoc \ + weechat_relay_protocol.fr.asciidoc \ + weechat_dev.fr.asciidoc \ + $(wildcard autogen/user/*.asciidoc) \ + $(wildcard autogen/plugin_api/*.asciidoc) if MAN man_targets = weechat.1 @@ -54,42 +54,42 @@ endif all-local: $(man_targets) $(doc_targets) # man page -weechat.1: weechat.1.fr.txt cmdline_options.fr.txt - cp -f $(abs_top_srcdir)/doc/fr/weechat.1.fr.txt . - cp -f $(abs_top_srcdir)/doc/fr/cmdline_options.fr.txt . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.fr.txt +weechat.1: weechat.1.fr.asciidoc cmdline_options.fr.asciidoc + cp -f $(abs_top_srcdir)/doc/fr/weechat.1.fr.asciidoc . + cp -f $(abs_top_srcdir)/doc/fr/cmdline_options.fr.asciidoc . + $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.fr.asciidoc # user's guide -weechat_user.fr.html: weechat_user.fr.txt cmdline_options.fr.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.txt +weechat_user.fr.html: weechat_user.fr.asciidoc cmdline_options.fr.asciidoc $(wildcard autogen/user/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.asciidoc # plugin API reference -weechat_plugin_api.fr.html: weechat_plugin_api.fr.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.txt +weechat_plugin_api.fr.html: weechat_plugin_api.fr.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.asciidoc # scripting guide -weechat_scripting.fr.html: weechat_scripting.fr.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.txt +weechat_scripting.fr.html: weechat_scripting.fr.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.asciidoc # FAQ -weechat_faq.fr.html: weechat_faq.fr.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.txt +weechat_faq.fr.html: weechat_faq.fr.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.asciidoc # quickstart -weechat_quickstart.fr.html: weechat_quickstart.fr.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.txt +weechat_quickstart.fr.html: weechat_quickstart.fr.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.asciidoc # tester's guide -weechat_tester.fr.html: weechat_tester.fr.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.txt +weechat_tester.fr.html: weechat_tester.fr.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.asciidoc # relay protocol -weechat_relay_protocol.fr.html: weechat_relay_protocol.fr.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.fr.html $(abs_top_srcdir)/doc/fr/weechat_relay_protocol.fr.txt +weechat_relay_protocol.fr.html: weechat_relay_protocol.fr.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.fr.html $(abs_top_srcdir)/doc/fr/weechat_relay_protocol.fr.asciidoc # developer's guide -weechat_dev.fr.html: weechat_dev.fr.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.fr.html $(abs_top_srcdir)/doc/fr/weechat_dev.fr.txt +weechat_dev.fr.html: weechat_dev.fr.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.fr.html $(abs_top_srcdir)/doc/fr/weechat_dev.fr.asciidoc # install man/docs @@ -118,5 +118,5 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.fr.txt cmdline_options.fr.txt + -rm -f weechat.1 weechat.1.fr.asciidoc cmdline_options.fr.asciidoc -rm -f *.html diff --git a/doc/fr/autogen/plugin_api/completions.txt b/doc/fr/autogen/plugin_api/completions.asciidoc similarity index 100% rename from doc/fr/autogen/plugin_api/completions.txt rename to doc/fr/autogen/plugin_api/completions.asciidoc diff --git a/doc/fr/autogen/plugin_api/hdata.txt b/doc/fr/autogen/plugin_api/hdata.asciidoc similarity index 100% rename from doc/fr/autogen/plugin_api/hdata.txt rename to doc/fr/autogen/plugin_api/hdata.asciidoc diff --git a/doc/fr/autogen/plugin_api/infolists.txt b/doc/fr/autogen/plugin_api/infolists.asciidoc similarity index 100% rename from doc/fr/autogen/plugin_api/infolists.txt rename to doc/fr/autogen/plugin_api/infolists.asciidoc diff --git a/doc/fr/autogen/plugin_api/infos.txt b/doc/fr/autogen/plugin_api/infos.asciidoc similarity index 100% rename from doc/fr/autogen/plugin_api/infos.txt rename to doc/fr/autogen/plugin_api/infos.asciidoc diff --git a/doc/fr/autogen/plugin_api/infos_hashtable.txt b/doc/fr/autogen/plugin_api/infos_hashtable.asciidoc similarity index 100% rename from doc/fr/autogen/plugin_api/infos_hashtable.txt rename to doc/fr/autogen/plugin_api/infos_hashtable.asciidoc diff --git a/doc/fr/autogen/plugin_api/url_options.txt b/doc/fr/autogen/plugin_api/url_options.asciidoc similarity index 100% rename from doc/fr/autogen/plugin_api/url_options.txt rename to doc/fr/autogen/plugin_api/url_options.asciidoc diff --git a/doc/fr/autogen/user/alias_commands.txt b/doc/fr/autogen/user/alias_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/alias_commands.txt rename to doc/fr/autogen/user/alias_commands.asciidoc diff --git a/doc/fr/autogen/user/aspell_commands.txt b/doc/fr/autogen/user/aspell_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/aspell_commands.txt rename to doc/fr/autogen/user/aspell_commands.asciidoc diff --git a/doc/fr/autogen/user/aspell_options.txt b/doc/fr/autogen/user/aspell_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/aspell_options.txt rename to doc/fr/autogen/user/aspell_options.asciidoc diff --git a/doc/fr/autogen/user/charset_commands.txt b/doc/fr/autogen/user/charset_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/charset_commands.txt rename to doc/fr/autogen/user/charset_commands.asciidoc diff --git a/doc/fr/autogen/user/charset_options.txt b/doc/fr/autogen/user/charset_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/charset_options.txt rename to doc/fr/autogen/user/charset_options.asciidoc diff --git a/doc/fr/autogen/user/exec_commands.txt b/doc/fr/autogen/user/exec_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/exec_commands.txt rename to doc/fr/autogen/user/exec_commands.asciidoc diff --git a/doc/fr/autogen/user/exec_options.txt b/doc/fr/autogen/user/exec_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/exec_options.txt rename to doc/fr/autogen/user/exec_options.asciidoc diff --git a/doc/fr/autogen/user/guile_commands.txt b/doc/fr/autogen/user/guile_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/guile_commands.txt rename to doc/fr/autogen/user/guile_commands.asciidoc diff --git a/doc/fr/autogen/user/irc_commands.txt b/doc/fr/autogen/user/irc_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/irc_commands.txt rename to doc/fr/autogen/user/irc_commands.asciidoc diff --git a/doc/fr/autogen/user/irc_options.txt b/doc/fr/autogen/user/irc_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/irc_options.txt rename to doc/fr/autogen/user/irc_options.asciidoc diff --git a/doc/fr/autogen/user/logger_commands.txt b/doc/fr/autogen/user/logger_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/logger_commands.txt rename to doc/fr/autogen/user/logger_commands.asciidoc diff --git a/doc/fr/autogen/user/logger_options.txt b/doc/fr/autogen/user/logger_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/logger_options.txt rename to doc/fr/autogen/user/logger_options.asciidoc diff --git a/doc/fr/autogen/user/lua_commands.txt b/doc/fr/autogen/user/lua_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/lua_commands.txt rename to doc/fr/autogen/user/lua_commands.asciidoc diff --git a/doc/fr/autogen/user/perl_commands.txt b/doc/fr/autogen/user/perl_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/perl_commands.txt rename to doc/fr/autogen/user/perl_commands.asciidoc diff --git a/doc/fr/autogen/user/python_commands.txt b/doc/fr/autogen/user/python_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/python_commands.txt rename to doc/fr/autogen/user/python_commands.asciidoc diff --git a/doc/fr/autogen/user/relay_commands.txt b/doc/fr/autogen/user/relay_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/relay_commands.txt rename to doc/fr/autogen/user/relay_commands.asciidoc diff --git a/doc/fr/autogen/user/relay_options.txt b/doc/fr/autogen/user/relay_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/relay_options.txt rename to doc/fr/autogen/user/relay_options.asciidoc diff --git a/doc/fr/autogen/user/ruby_commands.txt b/doc/fr/autogen/user/ruby_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/ruby_commands.txt rename to doc/fr/autogen/user/ruby_commands.asciidoc diff --git a/doc/fr/autogen/user/script_commands.txt b/doc/fr/autogen/user/script_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/script_commands.txt rename to doc/fr/autogen/user/script_commands.asciidoc diff --git a/doc/fr/autogen/user/script_options.txt b/doc/fr/autogen/user/script_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/script_options.txt rename to doc/fr/autogen/user/script_options.asciidoc diff --git a/doc/fr/autogen/user/sec_options.txt b/doc/fr/autogen/user/sec_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/sec_options.txt rename to doc/fr/autogen/user/sec_options.asciidoc diff --git a/doc/fr/autogen/user/tcl_commands.txt b/doc/fr/autogen/user/tcl_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/tcl_commands.txt rename to doc/fr/autogen/user/tcl_commands.asciidoc diff --git a/doc/fr/autogen/user/trigger_commands.txt b/doc/fr/autogen/user/trigger_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/trigger_commands.txt rename to doc/fr/autogen/user/trigger_commands.asciidoc diff --git a/doc/fr/autogen/user/trigger_options.txt b/doc/fr/autogen/user/trigger_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/trigger_options.txt rename to doc/fr/autogen/user/trigger_options.asciidoc diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/weechat_commands.txt rename to doc/fr/autogen/user/weechat_commands.asciidoc diff --git a/doc/fr/autogen/user/weechat_options.txt b/doc/fr/autogen/user/weechat_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/weechat_options.txt rename to doc/fr/autogen/user/weechat_options.asciidoc diff --git a/doc/fr/autogen/user/xfer_commands.txt b/doc/fr/autogen/user/xfer_commands.asciidoc similarity index 100% rename from doc/fr/autogen/user/xfer_commands.txt rename to doc/fr/autogen/user/xfer_commands.asciidoc diff --git a/doc/fr/autogen/user/xfer_options.txt b/doc/fr/autogen/user/xfer_options.asciidoc similarity index 100% rename from doc/fr/autogen/user/xfer_options.txt rename to doc/fr/autogen/user/xfer_options.asciidoc diff --git a/doc/fr/cmdline_options.fr.txt b/doc/fr/cmdline_options.fr.asciidoc similarity index 100% rename from doc/fr/cmdline_options.fr.txt rename to doc/fr/cmdline_options.fr.asciidoc diff --git a/doc/fr/weechat.1.fr.txt b/doc/fr/weechat.1.fr.asciidoc similarity index 98% rename from doc/fr/weechat.1.fr.txt rename to doc/fr/weechat.1.fr.asciidoc index ddbbb6e15..efa987992 100644 --- a/doc/fr/weechat.1.fr.txt +++ b/doc/fr/weechat.1.fr.asciidoc @@ -24,7 +24,7 @@ Jabber), extensible avec du C et des scripts écrits en différents langages. == OPTIONS -include::cmdline_options.fr.txt[] +include::cmdline_options.fr.asciidoc[] == OPTIONS D'EXTENSION diff --git a/doc/fr/weechat_dev.fr.txt b/doc/fr/weechat_dev.fr.asciidoc similarity index 96% rename from doc/fr/weechat_dev.fr.txt rename to doc/fr/weechat_dev.fr.asciidoc index 2afedaee6..5a9269115 100644 --- a/doc/fr/weechat_dev.fr.txt +++ b/doc/fr/weechat_dev.fr.asciidoc @@ -289,25 +289,25 @@ Fichiers de documentation : [width="100%",cols="1v,5",options="header"] |=== -| Chemin/fichier | Description -| doc/ | Documentation -| asciidoc.conf | Fichier de configuration Asciidoc (quelques macros) -| asciidoc.css | Style Asciidoc -| 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, ...) -| weechat.1.XX.txt | Page de manuel (`man weechat`) -| weechat_quickstart.XX.txt | Guide de démarrage -| weechat_user.XX.txt | Guide utilisateur -| weechat_faq.XX.txt | FAQ (questions fréquemment posées) -| weechat_plugin_api.XX.txt | Référence API extension -| weechat_scripting.XX.txt | Guide pour scripts -| weechat_tester.XX.txt | Guide du testeur -| weechat_dev.XX.txt | Guide du développeur (ce document) -| weechat_relay_protocol.XX.txt | Protocole Relay (pour les interfaces distantes) -| cmdline_options.XX.txt | Options de ligne de commande (fichier inclus dans la page de manuel et le guide utilisateur) -| autogen/ | Fichiers automatiquement générés avec le script docgen.py -| user/ | Fichiers automatiquement générés pour le guide utilisateur (ne *JAMAIS* les mettre à jour manuellement !) -| plugin_api/ | Fichiers automatiquement générés pour l'API extension (ne *JAMAIS* les mettre à jour manuellement !) +| Chemin/fichier | Description +| doc/ | Documentation +| asciidoc.conf | Fichier de configuration Asciidoc (quelques macros) +| asciidoc.css | Style Asciidoc +| 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, ...) +| weechat.1.XX.asciidoc | Page de manuel (`man weechat`) +| weechat_quickstart.XX.asciidoc | Guide de démarrage +| weechat_user.XX.asciidoc | Guide utilisateur +| weechat_faq.XX.asciidoc | FAQ (questions fréquemment posées) +| weechat_plugin_api.XX.asciidoc | Référence API extension +| weechat_scripting.XX.asciidoc | Guide pour scripts +| weechat_tester.XX.asciidoc | Guide du testeur +| weechat_dev.XX.asciidoc | Guide du développeur (ce document) +| weechat_relay_protocol.XX.asciidoc | Protocole Relay (pour les interfaces distantes) +| cmdline_options.XX.asciidoc | Options de ligne de commande (fichier inclus dans la page de manuel et le guide utilisateur) +| autogen/ | Fichiers automatiquement générés avec le script docgen.py +| user/ | Fichiers automatiquement générés pour le guide utilisateur (ne *JAMAIS* les mettre à jour manuellement !) +| plugin_api/ | Fichiers automatiquement générés pour l'API extension (ne *JAMAIS* les mettre à jour manuellement !) |=== Les traductions pour WeeChat et les extensions sont effectuées avec gettext, les diff --git a/doc/fr/weechat_faq.fr.txt b/doc/fr/weechat_faq.fr.asciidoc similarity index 100% rename from doc/fr/weechat_faq.fr.txt rename to doc/fr/weechat_faq.fr.asciidoc diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.asciidoc similarity index 99% rename from doc/fr/weechat_plugin_api.fr.txt rename to doc/fr/weechat_plugin_api.fr.asciidoc index 48fc2245a..c060afa07 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.asciidoc @@ -6847,7 +6847,8 @@ Paramètres : WeeChat Les codes complétions par défaut sont : -include::autogen/plugin_api/completions.txt[] + +include::autogen/plugin_api/completions.asciidoc[] Codes spéciaux : @@ -7363,7 +7364,7 @@ sont disponibles : Pour la commande "url:...", les options suivantes sont disponibles (voir `man curl_easy_setopt` pour une description de chaque option) : -include::autogen/plugin_api/url_options.txt[] +include::autogen/plugin_api/url_options.asciidoc[] [NOTE] ^(1)^ Lorsque des constantes sont disponibles, elles doivent être utilisées @@ -12731,7 +12732,7 @@ Valeur de retour : Infos : -include::autogen/plugin_api/infos.txt[] +include::autogen/plugin_api/infos.asciidoc[] Exemple en C : @@ -12784,7 +12785,7 @@ Valeur de retour : Infos : -include::autogen/plugin_api/infos_hashtable.txt[] +include::autogen/plugin_api/infos_hashtable.asciidoc[] Exemple en C : @@ -13166,7 +13167,7 @@ Valeur de retour : Infolists : -include::autogen/plugin_api/infolists.txt[] +include::autogen/plugin_api/infolists.asciidoc[] Exemple en C : @@ -13901,7 +13902,7 @@ Valeur de retour : Liste des hdata : -include::autogen/plugin_api/hdata.txt[] +include::autogen/plugin_api/hdata.asciidoc[] Exemple en C : diff --git a/doc/fr/weechat_quickstart.fr.txt b/doc/fr/weechat_quickstart.fr.asciidoc similarity index 100% rename from doc/fr/weechat_quickstart.fr.txt rename to doc/fr/weechat_quickstart.fr.asciidoc diff --git a/doc/fr/weechat_relay_protocol.fr.txt b/doc/fr/weechat_relay_protocol.fr.asciidoc similarity index 100% rename from doc/fr/weechat_relay_protocol.fr.txt rename to doc/fr/weechat_relay_protocol.fr.asciidoc diff --git a/doc/fr/weechat_scripting.fr.txt b/doc/fr/weechat_scripting.fr.asciidoc similarity index 100% rename from doc/fr/weechat_scripting.fr.txt rename to doc/fr/weechat_scripting.fr.asciidoc diff --git a/doc/fr/weechat_tester.fr.txt b/doc/fr/weechat_tester.fr.asciidoc similarity index 100% rename from doc/fr/weechat_tester.fr.txt rename to doc/fr/weechat_tester.fr.asciidoc diff --git a/doc/fr/weechat_user.fr.txt b/doc/fr/weechat_user.fr.asciidoc similarity index 98% rename from doc/fr/weechat_user.fr.txt rename to doc/fr/weechat_user.fr.asciidoc index 2aa0d1d4c..ae18a616f 100644 --- a/doc/fr/weechat_user.fr.txt +++ b/doc/fr/weechat_user.fr.asciidoc @@ -442,7 +442,7 @@ Ensuite comme pour un crash, utilisez la commande `bt full` : Paramètres de ligne de commande : -include::cmdline_options.fr.txt[] +include::cmdline_options.fr.asciidoc[] Pour lancer WeeChat, tapez cette commande : @@ -1699,7 +1699,7 @@ Sections : Options : -include::autogen/user/sec_options.txt[] +include::autogen/user/sec_options.asciidoc[] [[weechat_options]] ==== Options WeeChat (weechat.conf) @@ -1734,12 +1734,12 @@ Sections : Options : -include::autogen/user/weechat_options.txt[] +include::autogen/user/weechat_options.asciidoc[] [[weechat_commands]] ==== Commandes WeeChat -include::autogen/user/weechat_commands.txt[] +include::autogen/user/weechat_commands.asciidoc[] [[plugins]] == Extensions @@ -1807,7 +1807,7 @@ d'autres extensions). [[alias_commands]] ==== Commandes -include::autogen/user/alias_commands.txt[] +include::autogen/user/alias_commands.asciidoc[] [[aspell_plugin]] === Extension Aspell @@ -1832,12 +1832,12 @@ Sections : Options : -include::autogen/user/aspell_options.txt[] +include::autogen/user/aspell_options.asciidoc[] [[aspell_commands]] ==== Commandes -include::autogen/user/aspell_commands.txt[] +include::autogen/user/aspell_commands.asciidoc[] [[aspell_speller_options]] ==== Options du vérificateur d'orthographe @@ -1940,12 +1940,12 @@ Sections : Options : -include::autogen/user/charset_options.txt[] +include::autogen/user/charset_options.asciidoc[] [[charset_commands]] ==== Commandes -include::autogen/user/charset_commands.txt[] +include::autogen/user/charset_commands.asciidoc[] [[charset_set]] ==== Définir le jeu de caractère @@ -2028,12 +2028,12 @@ Sections : Options : -include::autogen/user/exec_options.txt[] +include::autogen/user/exec_options.asciidoc[] [[exec_commands]] ==== Commandes -include::autogen/user/exec_commands.txt[] +include::autogen/user/exec_commands.asciidoc[] [[fifo_plugin]] === Extension Fifo @@ -2148,12 +2148,12 @@ Sections : Options : -include::autogen/user/irc_options.txt[] +include::autogen/user/irc_options.asciidoc[] [[irc_commands]] ==== Commandes -include::autogen/user/irc_commands.txt[] +include::autogen/user/irc_commands.asciidoc[] [[irc_ssl_certificates]] ==== Certificats SSL @@ -2577,12 +2577,12 @@ Sections : Options : -include::autogen/user/logger_options.txt[] +include::autogen/user/logger_options.asciidoc[] [[logger_commands]] ==== Commandes -include::autogen/user/logger_commands.txt[] +include::autogen/user/logger_commands.asciidoc[] [[logger_log_levels]] ==== Niveaux d'enregistrement @@ -2735,12 +2735,12 @@ Sections : Options : -include::autogen/user/relay_options.txt[] +include::autogen/user/relay_options.asciidoc[] [[relay_commands]] ==== Commandes -include::autogen/user/relay_commands.txt[] +include::autogen/user/relay_commands.asciidoc[] [[relay_password]] ==== Mot de passe @@ -2887,42 +2887,42 @@ Sections : Options : -include::autogen/user/script_options.txt[] +include::autogen/user/script_options.asciidoc[] [[script_commands]] ==== Commandes Script -include::autogen/user/script_commands.txt[] +include::autogen/user/script_commands.asciidoc[] [[python_commands]] ==== Commandes Python -include::autogen/user/python_commands.txt[] +include::autogen/user/python_commands.asciidoc[] [[perl_commands]] ==== Commandes Perl -include::autogen/user/perl_commands.txt[] +include::autogen/user/perl_commands.asciidoc[] [[ruby_commands]] ==== Commandes Ruby -include::autogen/user/ruby_commands.txt[] +include::autogen/user/ruby_commands.asciidoc[] [[lua_commands]] ==== Commandes Lua -include::autogen/user/lua_commands.txt[] +include::autogen/user/lua_commands.asciidoc[] [[tcl_commands]] ==== Commandes Tcl -include::autogen/user/tcl_commands.txt[] +include::autogen/user/tcl_commands.asciidoc[] [[guile_commands]] ==== Commandes Guile -include::autogen/user/guile_commands.txt[] +include::autogen/user/guile_commands.asciidoc[] [[trigger_plugin]] === Extension Trigger @@ -2953,12 +2953,12 @@ Sections: Options: -include::autogen/user/trigger_options.txt[] +include::autogen/user/trigger_options.asciidoc[] [[trigger_commands]] ==== Commandes -include::autogen/user/trigger_commands.txt[] +include::autogen/user/trigger_commands.asciidoc[] [[trigger_anatomy]] ==== Anatomie d'un trigger @@ -3480,12 +3480,12 @@ Sections : Options : -include::autogen/user/xfer_options.txt[] +include::autogen/user/xfer_options.asciidoc[] [[xfer_commands]] ==== Commandes -include::autogen/user/xfer_commands.txt[] +include::autogen/user/xfer_commands.asciidoc[] [[support]] == Support diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt index 05b94d973..eabc0bb92 100644 --- a/doc/it/CMakeLists.txt +++ b/doc/it/CMakeLists.txt @@ -21,12 +21,12 @@ if(ENABLE_MAN) # man page add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.it.txt + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.asciidoc COMMENT "Building weechat.1 (it)" ) add_custom_target(doc-man-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1) @@ -38,11 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc COMMENT "Building weechat_user.it.html" ) add_custom_target(doc-user-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html) @@ -51,10 +51,10 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # plugin API reference add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc COMMENT "Building weechat_plugin_api.it.html" ) add_custom_target(doc-plugin-api-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html) @@ -63,9 +63,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # scripting guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.asciidoc COMMENT "Building weechat_scripting.it.html" ) add_custom_target(doc-scripting-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html) @@ -74,9 +74,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.asciidoc COMMENT "Building weechat_faq.it.html" ) add_custom_target(doc-faq-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html) @@ -85,9 +85,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.asciidoc COMMENT "Building weechat_quickstart.it.html" ) add_custom_target(doc-quickstart-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html) @@ -96,9 +96,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # tester's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.asciidoc COMMENT "Building weechat_tester.it.html" ) add_custom_target(doc-tester-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html) diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am index b8fc07772..c87c0d28b 100644 --- a/doc/it/Makefile.am +++ b/doc/it/Makefile.am @@ -20,16 +20,16 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat.1.it.txt \ - cmdline_options.it.txt \ - weechat_user.it.txt \ - weechat_plugin_api.it.txt \ - weechat_scripting.it.txt \ - weechat_faq.it.txt \ - weechat_quickstart.it.txt \ - weechat_tester.it.txt \ - $(wildcard autogen/user/*.txt) \ - $(wildcard autogen/plugin_api/*.txt) + weechat.1.it.asciidoc \ + cmdline_options.it.asciidoc \ + weechat_user.it.asciidoc \ + weechat_plugin_api.it.asciidoc \ + weechat_scripting.it.asciidoc \ + weechat_faq.it.asciidoc \ + weechat_quickstart.it.asciidoc \ + weechat_tester.it.asciidoc \ + $(wildcard autogen/user/*.asciidoc) \ + $(wildcard autogen/plugin_api/*.asciidoc) if MAN man_targets = weechat.1 @@ -49,34 +49,34 @@ endif all-local: $(man_targets) $(doc_targets) # man page -weechat.1: weechat.1.it.txt cmdline_options.it.txt - cp -f $(abs_top_srcdir)/doc/it/weechat.1.it.txt . - cp -f $(abs_top_srcdir)/doc/it/cmdline_options.it.txt . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.it.txt +weechat.1: weechat.1.it.asciidoc cmdline_options.it.asciidoc + cp -f $(abs_top_srcdir)/doc/it/weechat.1.it.asciidoc . + cp -f $(abs_top_srcdir)/doc/it/cmdline_options.it.asciidoc . + $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.it.asciidoc # user's guide -weechat_user.it.html: weechat_user.it.txt cmdline_options.it.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.txt +weechat_user.it.html: weechat_user.it.asciidoc cmdline_options.it.asciidoc $(wildcard autogen/user/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.asciidoc # plugin API reference -weechat_plugin_api.it.html: weechat_plugin_api.it.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.it.html $(abs_top_srcdir)/doc/it/weechat_plugin_api.it.txt +weechat_plugin_api.it.html: weechat_plugin_api.it.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.it.html $(abs_top_srcdir)/doc/it/weechat_plugin_api.it.asciidoc # scripting guide -weechat_scripting.it.html: weechat_scripting.it.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.it.html $(abs_top_srcdir)/doc/it/weechat_scripting.it.txt +weechat_scripting.it.html: weechat_scripting.it.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.it.html $(abs_top_srcdir)/doc/it/weechat_scripting.it.asciidoc # FAQ -weechat_faq.it.html: weechat_faq.it.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.it.html $(abs_top_srcdir)/doc/it/weechat_faq.it.txt +weechat_faq.it.html: weechat_faq.it.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.it.html $(abs_top_srcdir)/doc/it/weechat_faq.it.asciidoc # quickstart -weechat_quickstart.it.html: weechat_quickstart.it.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.it.html $(abs_top_srcdir)/doc/it/weechat_quickstart.it.txt +weechat_quickstart.it.html: weechat_quickstart.it.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.it.html $(abs_top_srcdir)/doc/it/weechat_quickstart.it.asciidoc # tester's guide -weechat_tester.it.html: weechat_tester.it.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.it.html $(abs_top_srcdir)/doc/it/weechat_tester.it.txt +weechat_tester.it.html: weechat_tester.it.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.it.html $(abs_top_srcdir)/doc/it/weechat_tester.it.asciidoc # install man/docs @@ -105,5 +105,5 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.it.txt cmdline_options.it.txt + -rm -f weechat.1 weechat.1.it.asciidoc cmdline_options.it.asciidoc -rm -f *.html diff --git a/doc/it/autogen/plugin_api/completions.txt b/doc/it/autogen/plugin_api/completions.asciidoc similarity index 100% rename from doc/it/autogen/plugin_api/completions.txt rename to doc/it/autogen/plugin_api/completions.asciidoc diff --git a/doc/it/autogen/plugin_api/hdata.txt b/doc/it/autogen/plugin_api/hdata.asciidoc similarity index 100% rename from doc/it/autogen/plugin_api/hdata.txt rename to doc/it/autogen/plugin_api/hdata.asciidoc diff --git a/doc/it/autogen/plugin_api/infolists.txt b/doc/it/autogen/plugin_api/infolists.asciidoc similarity index 100% rename from doc/it/autogen/plugin_api/infolists.txt rename to doc/it/autogen/plugin_api/infolists.asciidoc diff --git a/doc/it/autogen/plugin_api/infos.txt b/doc/it/autogen/plugin_api/infos.asciidoc similarity index 100% rename from doc/it/autogen/plugin_api/infos.txt rename to doc/it/autogen/plugin_api/infos.asciidoc diff --git a/doc/it/autogen/plugin_api/infos_hashtable.txt b/doc/it/autogen/plugin_api/infos_hashtable.asciidoc similarity index 100% rename from doc/it/autogen/plugin_api/infos_hashtable.txt rename to doc/it/autogen/plugin_api/infos_hashtable.asciidoc diff --git a/doc/it/autogen/plugin_api/url_options.txt b/doc/it/autogen/plugin_api/url_options.asciidoc similarity index 100% rename from doc/it/autogen/plugin_api/url_options.txt rename to doc/it/autogen/plugin_api/url_options.asciidoc diff --git a/doc/it/autogen/user/alias_commands.txt b/doc/it/autogen/user/alias_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/alias_commands.txt rename to doc/it/autogen/user/alias_commands.asciidoc diff --git a/doc/it/autogen/user/aspell_commands.txt b/doc/it/autogen/user/aspell_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/aspell_commands.txt rename to doc/it/autogen/user/aspell_commands.asciidoc diff --git a/doc/it/autogen/user/aspell_options.txt b/doc/it/autogen/user/aspell_options.asciidoc similarity index 100% rename from doc/it/autogen/user/aspell_options.txt rename to doc/it/autogen/user/aspell_options.asciidoc diff --git a/doc/it/autogen/user/charset_commands.txt b/doc/it/autogen/user/charset_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/charset_commands.txt rename to doc/it/autogen/user/charset_commands.asciidoc diff --git a/doc/it/autogen/user/charset_options.txt b/doc/it/autogen/user/charset_options.asciidoc similarity index 100% rename from doc/it/autogen/user/charset_options.txt rename to doc/it/autogen/user/charset_options.asciidoc diff --git a/doc/it/autogen/user/exec_commands.txt b/doc/it/autogen/user/exec_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/exec_commands.txt rename to doc/it/autogen/user/exec_commands.asciidoc diff --git a/doc/it/autogen/user/exec_options.txt b/doc/it/autogen/user/exec_options.asciidoc similarity index 100% rename from doc/it/autogen/user/exec_options.txt rename to doc/it/autogen/user/exec_options.asciidoc diff --git a/doc/it/autogen/user/guile_commands.txt b/doc/it/autogen/user/guile_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/guile_commands.txt rename to doc/it/autogen/user/guile_commands.asciidoc diff --git a/doc/it/autogen/user/irc_commands.txt b/doc/it/autogen/user/irc_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/irc_commands.txt rename to doc/it/autogen/user/irc_commands.asciidoc diff --git a/doc/it/autogen/user/irc_options.txt b/doc/it/autogen/user/irc_options.asciidoc similarity index 100% rename from doc/it/autogen/user/irc_options.txt rename to doc/it/autogen/user/irc_options.asciidoc diff --git a/doc/it/autogen/user/logger_commands.txt b/doc/it/autogen/user/logger_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/logger_commands.txt rename to doc/it/autogen/user/logger_commands.asciidoc diff --git a/doc/it/autogen/user/logger_options.txt b/doc/it/autogen/user/logger_options.asciidoc similarity index 100% rename from doc/it/autogen/user/logger_options.txt rename to doc/it/autogen/user/logger_options.asciidoc diff --git a/doc/it/autogen/user/lua_commands.txt b/doc/it/autogen/user/lua_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/lua_commands.txt rename to doc/it/autogen/user/lua_commands.asciidoc diff --git a/doc/it/autogen/user/perl_commands.txt b/doc/it/autogen/user/perl_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/perl_commands.txt rename to doc/it/autogen/user/perl_commands.asciidoc diff --git a/doc/it/autogen/user/python_commands.txt b/doc/it/autogen/user/python_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/python_commands.txt rename to doc/it/autogen/user/python_commands.asciidoc diff --git a/doc/it/autogen/user/relay_commands.txt b/doc/it/autogen/user/relay_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/relay_commands.txt rename to doc/it/autogen/user/relay_commands.asciidoc diff --git a/doc/it/autogen/user/relay_options.txt b/doc/it/autogen/user/relay_options.asciidoc similarity index 100% rename from doc/it/autogen/user/relay_options.txt rename to doc/it/autogen/user/relay_options.asciidoc diff --git a/doc/it/autogen/user/ruby_commands.txt b/doc/it/autogen/user/ruby_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/ruby_commands.txt rename to doc/it/autogen/user/ruby_commands.asciidoc diff --git a/doc/it/autogen/user/script_commands.txt b/doc/it/autogen/user/script_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/script_commands.txt rename to doc/it/autogen/user/script_commands.asciidoc diff --git a/doc/it/autogen/user/script_options.txt b/doc/it/autogen/user/script_options.asciidoc similarity index 100% rename from doc/it/autogen/user/script_options.txt rename to doc/it/autogen/user/script_options.asciidoc diff --git a/doc/it/autogen/user/sec_options.txt b/doc/it/autogen/user/sec_options.asciidoc similarity index 100% rename from doc/it/autogen/user/sec_options.txt rename to doc/it/autogen/user/sec_options.asciidoc diff --git a/doc/it/autogen/user/tcl_commands.txt b/doc/it/autogen/user/tcl_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/tcl_commands.txt rename to doc/it/autogen/user/tcl_commands.asciidoc diff --git a/doc/it/autogen/user/trigger_commands.txt b/doc/it/autogen/user/trigger_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/trigger_commands.txt rename to doc/it/autogen/user/trigger_commands.asciidoc diff --git a/doc/it/autogen/user/trigger_options.txt b/doc/it/autogen/user/trigger_options.asciidoc similarity index 100% rename from doc/it/autogen/user/trigger_options.txt rename to doc/it/autogen/user/trigger_options.asciidoc diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/weechat_commands.txt rename to doc/it/autogen/user/weechat_commands.asciidoc diff --git a/doc/it/autogen/user/weechat_options.txt b/doc/it/autogen/user/weechat_options.asciidoc similarity index 100% rename from doc/it/autogen/user/weechat_options.txt rename to doc/it/autogen/user/weechat_options.asciidoc diff --git a/doc/it/autogen/user/xfer_commands.txt b/doc/it/autogen/user/xfer_commands.asciidoc similarity index 100% rename from doc/it/autogen/user/xfer_commands.txt rename to doc/it/autogen/user/xfer_commands.asciidoc diff --git a/doc/it/autogen/user/xfer_options.txt b/doc/it/autogen/user/xfer_options.asciidoc similarity index 100% rename from doc/it/autogen/user/xfer_options.txt rename to doc/it/autogen/user/xfer_options.asciidoc diff --git a/doc/it/cmdline_options.it.txt b/doc/it/cmdline_options.it.asciidoc similarity index 100% rename from doc/it/cmdline_options.it.txt rename to doc/it/cmdline_options.it.asciidoc diff --git a/doc/it/weechat.1.it.txt b/doc/it/weechat.1.it.asciidoc similarity index 98% rename from doc/it/weechat.1.it.txt rename to doc/it/weechat.1.it.asciidoc index ee6cd8126..ac6e600ed 100644 --- a/doc/it/weechat.1.it.txt +++ b/doc/it/weechat.1.it.asciidoc @@ -25,7 +25,7 @@ extensible with C and scripts written in several languages. == OPTIONS -include::cmdline_options.it.txt[] +include::cmdline_options.it.asciidoc[] == PLUGIN OPTIONS diff --git a/doc/it/weechat_faq.it.txt b/doc/it/weechat_faq.it.asciidoc similarity index 100% rename from doc/it/weechat_faq.it.txt rename to doc/it/weechat_faq.it.asciidoc diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.asciidoc similarity index 99% rename from doc/it/weechat_plugin_api.it.txt rename to doc/it/weechat_plugin_api.it.asciidoc index b14b0cfc7..44a95d283 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.asciidoc @@ -6844,7 +6844,8 @@ Argomenti: * 'callback_data': puntatore fornito dalla callback quando chiamata da WeeChat I codici predefiniti per il completamento sono: -include::autogen/plugin_api/completions.txt[] + +include::autogen/plugin_api/completions.asciidoc[] Codici speciali: @@ -7363,7 +7364,7 @@ available: Per il comando "url:..." sono disponibili le seguenti opzioni (consultare `man curl_easy_setopt` per la descrizione di ogni opzione): -include::autogen/plugin_api/url_options.txt[] +include::autogen/plugin_api/url_options.asciidoc[] [NOTE] ^(1)^ Quando sono disponibili le costanti, esse vanno usate come valore per @@ -12841,7 +12842,7 @@ Valore restituito: // TRANSLATION MISSING Infos: -include::autogen/plugin_api/infos.txt[] +include::autogen/plugin_api/infos.asciidoc[] Esempio in C: @@ -12895,7 +12896,7 @@ Valore restituito: // TRANSLATION MISSING Infos: -include::autogen/plugin_api/infos_hashtable.txt[] +include::autogen/plugin_api/infos_hashtable.asciidoc[] Esempio in C: @@ -13280,7 +13281,7 @@ Valore restituito: // TRANSLATION MISSING Infolists: -include::autogen/plugin_api/infolists.txt[] +include::autogen/plugin_api/infolists.asciidoc[] Esempio in C: @@ -14023,7 +14024,7 @@ Valore restituito: // TRANSLATION MISSING List of hdata: -include::autogen/plugin_api/hdata.txt[] +include::autogen/plugin_api/hdata.asciidoc[] Esempio in C: diff --git a/doc/it/weechat_quickstart.it.txt b/doc/it/weechat_quickstart.it.asciidoc similarity index 100% rename from doc/it/weechat_quickstart.it.txt rename to doc/it/weechat_quickstart.it.asciidoc diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.asciidoc similarity index 100% rename from doc/it/weechat_scripting.it.txt rename to doc/it/weechat_scripting.it.asciidoc diff --git a/doc/it/weechat_tester.it.txt b/doc/it/weechat_tester.it.asciidoc similarity index 100% rename from doc/it/weechat_tester.it.txt rename to doc/it/weechat_tester.it.asciidoc diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.asciidoc similarity index 98% rename from doc/it/weechat_user.it.txt rename to doc/it/weechat_user.it.asciidoc index 9023aa3ab..beec0362d 100644 --- a/doc/it/weechat_user.it.txt +++ b/doc/it/weechat_user.it.asciidoc @@ -454,7 +454,7 @@ Poi, come per un crash, usare il comando `bt full`: Argomenti a riga di comando: -include::cmdline_options.it.txt[] +include::cmdline_options.it.asciidoc[] Per avviare WeeChat, digitare questo comando: @@ -1709,7 +1709,7 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/sec_options.txt[] +include::autogen/user/sec_options.asciidoc[] [[weechat_options]] ==== Opzioni di WeeChat (weechat.conf) @@ -1747,12 +1747,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/weechat_options.txt[] +include::autogen/user/weechat_options.asciidoc[] [[weechat_commands]] ==== Comandi di WeeChat -include::autogen/user/weechat_commands.txt[] +include::autogen/user/weechat_commands.asciidoc[] [[plugins]] == Plugin @@ -1821,7 +1821,7 @@ plugin). [[alias_commands]] ==== Comandi -include::autogen/user/alias_commands.txt[] +include::autogen/user/alias_commands.asciidoc[] [[aspell_plugin]] === Plugin Aspell @@ -1849,12 +1849,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/aspell_options.txt[] +include::autogen/user/aspell_options.asciidoc[] [[aspell_commands]] ==== Comandi -include::autogen/user/aspell_commands.txt[] +include::autogen/user/aspell_commands.asciidoc[] [[aspell_speller_options]] ==== Opzioni ortografiche @@ -1959,12 +1959,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/charset_options.txt[] +include::autogen/user/charset_options.asciidoc[] [[charset_commands]] ==== Comandi -include::autogen/user/charset_commands.txt[] +include::autogen/user/charset_commands.asciidoc[] [[charset_set]] ==== Impostare il set caratteri @@ -2047,12 +2047,12 @@ Sections: Options: -include::autogen/user/exec_options.txt[] +include::autogen/user/exec_options.asciidoc[] [[exec_commands]] ==== Commands -include::autogen/user/exec_commands.txt[] +include::autogen/user/exec_commands.asciidoc[] [[fifo_plugin]] === Plugin Fifo @@ -2166,12 +2166,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/irc_options.txt[] +include::autogen/user/irc_options.asciidoc[] [[irc_commands]] ==== Comandi -include::autogen/user/irc_commands.txt[] +include::autogen/user/irc_commands.asciidoc[] [[irc_ssl_certificates]] ==== Certificati SSL @@ -2612,12 +2612,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/logger_options.txt[] +include::autogen/user/logger_options.asciidoc[] [[logger_commands]] ==== Comandi -include::autogen/user/logger_commands.txt[] +include::autogen/user/logger_commands.asciidoc[] [[logger_log_levels]] ==== Livelli di log @@ -2773,12 +2773,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/relay_options.txt[] +include::autogen/user/relay_options.asciidoc[] [[relay_commands]] ==== Comandi -include::autogen/user/relay_commands.txt[] +include::autogen/user/relay_commands.asciidoc[] // TRANSLATION MISSING [[relay_password]] @@ -2927,42 +2927,42 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/script_options.txt[] +include::autogen/user/script_options.asciidoc[] [[script_commands]] ==== Comandi Script -include::autogen/user/script_commands.txt[] +include::autogen/user/script_commands.asciidoc[] [[python_commands]] ==== Comandi Python -include::autogen/user/python_commands.txt[] +include::autogen/user/python_commands.asciidoc[] [[perl_commands]] ==== Comandi Perl -include::autogen/user/perl_commands.txt[] +include::autogen/user/perl_commands.asciidoc[] [[ruby_commands]] ==== Comandi Ruby -include::autogen/user/ruby_commands.txt[] +include::autogen/user/ruby_commands.asciidoc[] [[lua_commands]] ==== Comandi Lua -include::autogen/user/lua_commands.txt[] +include::autogen/user/lua_commands.asciidoc[] [[tcl_commands]] ==== Comandi Tcl -include::autogen/user/tcl_commands.txt[] +include::autogen/user/tcl_commands.asciidoc[] [[guile_commands]] ==== Comandi Guile -include::autogen/user/guile_commands.txt[] +include::autogen/user/guile_commands.asciidoc[] // TRANSLATION MISSING [[trigger_plugin]] @@ -2994,12 +2994,12 @@ Sections: Options: -include::autogen/user/trigger_options.txt[] +include::autogen/user/trigger_options.asciidoc[] [[trigger_commands]] ==== Commands -include::autogen/user/trigger_commands.txt[] +include::autogen/user/trigger_commands.asciidoc[] [[trigger_anatomy]] ==== Anatomy of a trigger @@ -3509,12 +3509,12 @@ Sections: // TRANSLATION MISSING Options: -include::autogen/user/xfer_options.txt[] +include::autogen/user/xfer_options.asciidoc[] [[xfer_commands]] ==== Comandi -include::autogen/user/xfer_commands.txt[] +include::autogen/user/xfer_commands.asciidoc[] [[support]] == Supporto diff --git a/doc/ja/CMakeLists.txt b/doc/ja/CMakeLists.txt index 9e9357460..e7f15508b 100644 --- a/doc/ja/CMakeLists.txt +++ b/doc/ja/CMakeLists.txt @@ -21,12 +21,12 @@ if(ENABLE_MAN) # man page add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.ja.txt + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.asciidoc COMMENT "Building weechat.1 (ja)" ) add_custom_target(doc-man-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1) @@ -38,11 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc COMMENT "Building weechat_user.ja.html" ) add_custom_target(doc-user-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html) @@ -51,10 +51,10 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # plugin API reference add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.ja.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.ja.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc COMMENT "Building weechat_plugin_api.ja.html" ) add_custom_target(doc-plugin-api-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html) @@ -63,9 +63,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # scripting guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.ja.asciidoc COMMENT "Building weechat_scripting.ja.html" ) add_custom_target(doc-scripting-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html) @@ -74,9 +74,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.ja.asciidoc COMMENT "Building weechat_faq.ja.html" ) add_custom_target(doc-faq-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html) @@ -85,9 +85,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ja.asciidoc COMMENT "Building weechat_quickstart.ja.html" ) add_custom_target(doc-quickstart-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html) @@ -96,9 +96,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # tester's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.ja.asciidoc COMMENT "Building weechat_tester.ja.html" ) add_custom_target(doc-tester-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html) @@ -107,9 +107,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # relay protocol add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.ja.asciidoc COMMENT "Building weechat_relay_protocol.ja.html" ) add_custom_target(doc-relay-protocol-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html) @@ -118,9 +118,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # developer's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.ja.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.ja.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.ja.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.ja.asciidoc COMMENT "Building weechat_dev.ja.html" ) add_custom_target(doc-dev-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html) diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am index 62ecbaaa0..b18368003 100644 --- a/doc/ja/Makefile.am +++ b/doc/ja/Makefile.am @@ -20,18 +20,18 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat.1.ja.txt \ - cmdline_options.ja.txt \ - weechat_user.ja.txt \ - weechat_plugin_api.ja.txt \ - weechat_scripting.ja.txt \ - weechat_faq.ja.txt \ - weechat_quickstart.ja.txt \ - weechat_tester.ja.txt \ - weechat_relay_protocol.ja.txt \ - weechat_dev.ja.txt \ - $(wildcard autogen/user/*.txt) \ - $(wildcard autogen/plugin_api/*.txt) + weechat.1.ja.asciidoc \ + cmdline_options.ja.asciidoc \ + weechat_user.ja.asciidoc \ + weechat_plugin_api.ja.asciidoc \ + weechat_scripting.ja.asciidoc \ + weechat_faq.ja.asciidoc \ + weechat_quickstart.ja.asciidoc \ + weechat_tester.ja.asciidoc \ + weechat_relay_protocol.ja.asciidoc \ + weechat_dev.ja.asciidoc \ + $(wildcard autogen/user/*.asciidoc) \ + $(wildcard autogen/plugin_api/*.asciidoc) if MAN man_targets = weechat.1 @@ -53,42 +53,42 @@ endif all-local: $(man_targets) $(doc_targets) # man page -weechat.1: weechat.1.ja.txt cmdline_options.ja.txt - cp -f $(abs_top_srcdir)/doc/ja/weechat.1.ja.txt . - cp -f $(abs_top_srcdir)/doc/ja/cmdline_options.ja.txt . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.ja.txt +weechat.1: weechat.1.ja.asciidoc cmdline_options.ja.asciidoc + cp -f $(abs_top_srcdir)/doc/ja/weechat.1.ja.asciidoc . + cp -f $(abs_top_srcdir)/doc/ja/cmdline_options.ja.asciidoc . + $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.ja.asciidoc # user's guide -weechat_user.ja.html: weechat_user.ja.txt cmdline_options.ja.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.txt +weechat_user.ja.html: weechat_user.ja.asciidoc cmdline_options.ja.asciidoc $(wildcard autogen/user/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.asciidoc # plugin API reference -weechat_plugin_api.ja.html: weechat_plugin_api.ja.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.ja.html $(abs_top_srcdir)/doc/ja/weechat_plugin_api.ja.txt +weechat_plugin_api.ja.html: weechat_plugin_api.ja.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.ja.html $(abs_top_srcdir)/doc/ja/weechat_plugin_api.ja.asciidoc # scripting guide -weechat_scripting.ja.html: weechat_scripting.ja.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.ja.html $(abs_top_srcdir)/doc/ja/weechat_scripting.ja.txt +weechat_scripting.ja.html: weechat_scripting.ja.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.ja.html $(abs_top_srcdir)/doc/ja/weechat_scripting.ja.asciidoc # FAQ -weechat_faq.ja.html: weechat_faq.ja.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.ja.html $(abs_top_srcdir)/doc/ja/weechat_faq.ja.txt +weechat_faq.ja.html: weechat_faq.ja.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.ja.html $(abs_top_srcdir)/doc/ja/weechat_faq.ja.asciidoc # quickstart -weechat_quickstart.ja.html: weechat_quickstart.ja.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ja.html $(abs_top_srcdir)/doc/ja/weechat_quickstart.ja.txt +weechat_quickstart.ja.html: weechat_quickstart.ja.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ja.html $(abs_top_srcdir)/doc/ja/weechat_quickstart.ja.asciidoc # tester's guide -weechat_tester.ja.html: weechat_tester.ja.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.ja.html $(abs_top_srcdir)/doc/ja/weechat_tester.ja.txt +weechat_tester.ja.html: weechat_tester.ja.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.ja.html $(abs_top_srcdir)/doc/ja/weechat_tester.ja.asciidoc # relay protocol -weechat_relay_protocol.ja.html: weechat_relay_protocol.ja.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.ja.html $(abs_top_srcdir)/doc/ja/weechat_relay_protocol.ja.txt +weechat_relay_protocol.ja.html: weechat_relay_protocol.ja.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.ja.html $(abs_top_srcdir)/doc/ja/weechat_relay_protocol.ja.asciidoc # developer's guide -weechat_dev.ja.html: weechat_dev.ja.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.ja.html $(abs_top_srcdir)/doc/ja/weechat_dev.ja.txt +weechat_dev.ja.html: weechat_dev.ja.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.ja.html $(abs_top_srcdir)/doc/ja/weechat_dev.ja.asciidoc # install man/docs @@ -117,5 +117,5 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.ja.txt cmdline_options.ja.txt + -rm -f weechat.1 weechat.1.ja.asciidoc cmdline_options.ja.asciidoc -rm -f *.html diff --git a/doc/ja/autogen/plugin_api/completions.txt b/doc/ja/autogen/plugin_api/completions.asciidoc similarity index 100% rename from doc/ja/autogen/plugin_api/completions.txt rename to doc/ja/autogen/plugin_api/completions.asciidoc diff --git a/doc/ja/autogen/plugin_api/hdata.txt b/doc/ja/autogen/plugin_api/hdata.asciidoc similarity index 100% rename from doc/ja/autogen/plugin_api/hdata.txt rename to doc/ja/autogen/plugin_api/hdata.asciidoc diff --git a/doc/ja/autogen/plugin_api/infolists.txt b/doc/ja/autogen/plugin_api/infolists.asciidoc similarity index 100% rename from doc/ja/autogen/plugin_api/infolists.txt rename to doc/ja/autogen/plugin_api/infolists.asciidoc diff --git a/doc/ja/autogen/plugin_api/infos.txt b/doc/ja/autogen/plugin_api/infos.asciidoc similarity index 100% rename from doc/ja/autogen/plugin_api/infos.txt rename to doc/ja/autogen/plugin_api/infos.asciidoc diff --git a/doc/ja/autogen/plugin_api/infos_hashtable.txt b/doc/ja/autogen/plugin_api/infos_hashtable.asciidoc similarity index 100% rename from doc/ja/autogen/plugin_api/infos_hashtable.txt rename to doc/ja/autogen/plugin_api/infos_hashtable.asciidoc diff --git a/doc/ja/autogen/plugin_api/url_options.txt b/doc/ja/autogen/plugin_api/url_options.asciidoc similarity index 100% rename from doc/ja/autogen/plugin_api/url_options.txt rename to doc/ja/autogen/plugin_api/url_options.asciidoc diff --git a/doc/ja/autogen/user/alias_commands.txt b/doc/ja/autogen/user/alias_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/alias_commands.txt rename to doc/ja/autogen/user/alias_commands.asciidoc diff --git a/doc/ja/autogen/user/aspell_commands.txt b/doc/ja/autogen/user/aspell_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/aspell_commands.txt rename to doc/ja/autogen/user/aspell_commands.asciidoc diff --git a/doc/ja/autogen/user/aspell_options.txt b/doc/ja/autogen/user/aspell_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/aspell_options.txt rename to doc/ja/autogen/user/aspell_options.asciidoc diff --git a/doc/ja/autogen/user/charset_commands.txt b/doc/ja/autogen/user/charset_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/charset_commands.txt rename to doc/ja/autogen/user/charset_commands.asciidoc diff --git a/doc/ja/autogen/user/charset_options.txt b/doc/ja/autogen/user/charset_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/charset_options.txt rename to doc/ja/autogen/user/charset_options.asciidoc diff --git a/doc/ja/autogen/user/exec_commands.txt b/doc/ja/autogen/user/exec_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/exec_commands.txt rename to doc/ja/autogen/user/exec_commands.asciidoc diff --git a/doc/ja/autogen/user/exec_options.txt b/doc/ja/autogen/user/exec_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/exec_options.txt rename to doc/ja/autogen/user/exec_options.asciidoc diff --git a/doc/ja/autogen/user/guile_commands.txt b/doc/ja/autogen/user/guile_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/guile_commands.txt rename to doc/ja/autogen/user/guile_commands.asciidoc diff --git a/doc/ja/autogen/user/irc_commands.txt b/doc/ja/autogen/user/irc_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/irc_commands.txt rename to doc/ja/autogen/user/irc_commands.asciidoc diff --git a/doc/ja/autogen/user/irc_options.txt b/doc/ja/autogen/user/irc_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/irc_options.txt rename to doc/ja/autogen/user/irc_options.asciidoc diff --git a/doc/ja/autogen/user/logger_commands.txt b/doc/ja/autogen/user/logger_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/logger_commands.txt rename to doc/ja/autogen/user/logger_commands.asciidoc diff --git a/doc/ja/autogen/user/logger_options.txt b/doc/ja/autogen/user/logger_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/logger_options.txt rename to doc/ja/autogen/user/logger_options.asciidoc diff --git a/doc/ja/autogen/user/lua_commands.txt b/doc/ja/autogen/user/lua_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/lua_commands.txt rename to doc/ja/autogen/user/lua_commands.asciidoc diff --git a/doc/ja/autogen/user/perl_commands.txt b/doc/ja/autogen/user/perl_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/perl_commands.txt rename to doc/ja/autogen/user/perl_commands.asciidoc diff --git a/doc/ja/autogen/user/python_commands.txt b/doc/ja/autogen/user/python_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/python_commands.txt rename to doc/ja/autogen/user/python_commands.asciidoc diff --git a/doc/ja/autogen/user/relay_commands.txt b/doc/ja/autogen/user/relay_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/relay_commands.txt rename to doc/ja/autogen/user/relay_commands.asciidoc diff --git a/doc/ja/autogen/user/relay_options.txt b/doc/ja/autogen/user/relay_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/relay_options.txt rename to doc/ja/autogen/user/relay_options.asciidoc diff --git a/doc/ja/autogen/user/ruby_commands.txt b/doc/ja/autogen/user/ruby_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/ruby_commands.txt rename to doc/ja/autogen/user/ruby_commands.asciidoc diff --git a/doc/ja/autogen/user/script_commands.txt b/doc/ja/autogen/user/script_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/script_commands.txt rename to doc/ja/autogen/user/script_commands.asciidoc diff --git a/doc/ja/autogen/user/script_options.txt b/doc/ja/autogen/user/script_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/script_options.txt rename to doc/ja/autogen/user/script_options.asciidoc diff --git a/doc/ja/autogen/user/sec_options.txt b/doc/ja/autogen/user/sec_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/sec_options.txt rename to doc/ja/autogen/user/sec_options.asciidoc diff --git a/doc/ja/autogen/user/tcl_commands.txt b/doc/ja/autogen/user/tcl_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/tcl_commands.txt rename to doc/ja/autogen/user/tcl_commands.asciidoc diff --git a/doc/ja/autogen/user/trigger_commands.txt b/doc/ja/autogen/user/trigger_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/trigger_commands.txt rename to doc/ja/autogen/user/trigger_commands.asciidoc diff --git a/doc/ja/autogen/user/trigger_options.txt b/doc/ja/autogen/user/trigger_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/trigger_options.txt rename to doc/ja/autogen/user/trigger_options.asciidoc diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/weechat_commands.txt rename to doc/ja/autogen/user/weechat_commands.asciidoc diff --git a/doc/ja/autogen/user/weechat_options.txt b/doc/ja/autogen/user/weechat_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/weechat_options.txt rename to doc/ja/autogen/user/weechat_options.asciidoc diff --git a/doc/ja/autogen/user/xfer_commands.txt b/doc/ja/autogen/user/xfer_commands.asciidoc similarity index 100% rename from doc/ja/autogen/user/xfer_commands.txt rename to doc/ja/autogen/user/xfer_commands.asciidoc diff --git a/doc/ja/autogen/user/xfer_options.txt b/doc/ja/autogen/user/xfer_options.asciidoc similarity index 100% rename from doc/ja/autogen/user/xfer_options.txt rename to doc/ja/autogen/user/xfer_options.asciidoc diff --git a/doc/ja/cmdline_options.ja.txt b/doc/ja/cmdline_options.ja.asciidoc similarity index 100% rename from doc/ja/cmdline_options.ja.txt rename to doc/ja/cmdline_options.ja.asciidoc diff --git a/doc/ja/weechat.1.ja.txt b/doc/ja/weechat.1.ja.asciidoc similarity index 98% rename from doc/ja/weechat.1.ja.txt rename to doc/ja/weechat.1.ja.asciidoc index 3b167ea81..5c8efaf79 100644 --- a/doc/ja/weechat.1.ja.txt +++ b/doc/ja/weechat.1.ja.asciidoc @@ -23,7 +23,7 @@ C 言語と様々なプログラミング言語で書かれたスクリプトを == オプション -include::cmdline_options.ja.txt[] +include::cmdline_options.ja.asciidoc[] == プラグインオプション diff --git a/doc/ja/weechat_dev.ja.txt b/doc/ja/weechat_dev.ja.asciidoc similarity index 96% rename from doc/ja/weechat_dev.ja.txt rename to doc/ja/weechat_dev.ja.asciidoc index 1c69d9808..329c42e8e 100644 --- a/doc/ja/weechat_dev.ja.txt +++ b/doc/ja/weechat_dev.ja.asciidoc @@ -288,25 +288,25 @@ WeeChat "core" は以下のディレクトリに配置されています: [width="100%",cols="1v,5",options="header"] |=== -| パス/ファイル名 | 説明 -| doc/ | 文書 -| asciidoc.conf | asciidoc 設定ファイル (マクロ) -| asciidoc.css | asciidoc スタイル -| docgen.py | 'autogen/' ディレクトリ内のファイルを作成する Python スクリプト (以下を参照) -| XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ -| weechat.1.XX.txt | man ページ (`man weechat`) -| weechat_quickstart.XX.txt | クイックスタートガイド -| weechat_user.XX.txt | ユーザーガイド -| weechat_faq.XX.txt | FAQ -| weechat_plugin_api.XX.txt | プラグイン API リファレンス -| weechat_scripting.XX.txt | スクリプト作成ガイド -| weechat_tester.XX.txt | テスターガイド -| weechat_dev.XX.txt | 開発者リファレンス (この文書) -| weechat_relay_protocol.XX.txt | リレープロトコル (リモートインターフェイス用) -| cmdline_options.XX.txt | コマンドラインオプション (man ページとユーザガイドに含まれるファイル) -| autogen/ | docgen.py スクリプトが自動生成するファイル -| user/ | ユーザーガイド用の自動生成ファイル (手作業による編集は*禁止* !) -| plugin_api/ | プラグイン API 用の自動生成ファイル (手作業による編集は*禁止* !) +| パス/ファイル名 | 説明 +| doc/ | 文書 +| asciidoc.conf | asciidoc 設定ファイル (マクロ) +| asciidoc.css | asciidoc スタイル +| docgen.py | 'autogen/' ディレクトリ内のファイルを作成する Python スクリプト (以下を参照) +| XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ +| weechat.1.XX.asciidoc | man ページ (`man weechat`) +| weechat_quickstart.XX.asciidoc | クイックスタートガイド +| weechat_user.XX.asciidoc | ユーザーガイド +| weechat_faq.XX.asciidoc | FAQ +| weechat_plugin_api.XX.asciidoc | プラグイン API リファレンス +| weechat_scripting.XX.asciidoc | スクリプト作成ガイド +| weechat_tester.XX.asciidoc | テスターガイド +| weechat_dev.XX.asciidoc | 開発者リファレンス (この文書) +| weechat_relay_protocol.XX.asciidoc | リレープロトコル (リモートインターフェイス用) +| cmdline_options.XX.asciidoc | コマンドラインオプション (man ページとユーザガイドに含まれるファイル) +| autogen/ | docgen.py スクリプトが自動生成するファイル +| user/ | ユーザーガイド用の自動生成ファイル (手作業による編集は*禁止* !) +| plugin_api/ | プラグイン API 用の自動生成ファイル (手作業による編集は*禁止* !) |=== WeeChat とプラグインの翻訳は gettext で行います、ファイルは 'po/' ディレクトリに含まれています: diff --git a/doc/ja/weechat_faq.ja.txt b/doc/ja/weechat_faq.ja.asciidoc similarity index 100% rename from doc/ja/weechat_faq.ja.txt rename to doc/ja/weechat_faq.ja.asciidoc diff --git a/doc/ja/weechat_plugin_api.ja.txt b/doc/ja/weechat_plugin_api.ja.asciidoc similarity index 99% rename from doc/ja/weechat_plugin_api.ja.txt rename to doc/ja/weechat_plugin_api.ja.asciidoc index f9875e64d..e00fe00e4 100644 --- a/doc/ja/weechat_plugin_api.ja.txt +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -6733,7 +6733,8 @@ struct t_hook *weechat_hook_command (const char *command, * 'callback_data': WeeChat がコールバックを呼び出す際にコールバックに渡すポインタ デフォルトの補完候補コードは: -include::autogen/plugin_api/completions.txt[] + +include::autogen/plugin_api/completions.asciidoc[] 特殊コード: @@ -7232,7 +7233,7 @@ struct t_hook *weechat_hook_process_hashtable (const char *command, "url:..." 型のコマンドでは、以下のコマンドを使うことができます (それぞれのオプションについては `man curl_easy_setopt` を参照): -include::autogen/plugin_api/url_options.txt[] +include::autogen/plugin_api/url_options.asciidoc[] [NOTE] ^(1)^ 定数が利用可能な場合、定数は必ずオプションの値に含めてください。"mask" @@ -12481,7 +12482,7 @@ const char *weechat_info_get (const char *info_name, const char *arguments); 情報: -include::autogen/plugin_api/infos.txt[] +include::autogen/plugin_api/infos.asciidoc[] C 言語での使用例: @@ -12533,7 +12534,7 @@ struct t_hashtable *weechat_info_get_hashtable (const char *info_name, 情報: -include::autogen/plugin_api/infos_hashtable.txt[] +include::autogen/plugin_api/infos_hashtable.asciidoc[] C 言語での使用例: @@ -12911,7 +12912,7 @@ struct t_infolist *weechat_infolist_get (const char *infolist_name, インフォリスト: -include::autogen/plugin_api/infolists.txt[] +include::autogen/plugin_api/infolists.asciidoc[] C 言語での使用例: @@ -13628,7 +13629,7 @@ struct t_hdata *weechat_hdata_get (const char *hdata_name); hdata のリスト: -include::autogen/plugin_api/hdata.txt[] +include::autogen/plugin_api/hdata.asciidoc[] C 言語での使用例: diff --git a/doc/ja/weechat_quickstart.ja.txt b/doc/ja/weechat_quickstart.ja.asciidoc similarity index 100% rename from doc/ja/weechat_quickstart.ja.txt rename to doc/ja/weechat_quickstart.ja.asciidoc diff --git a/doc/ja/weechat_relay_protocol.ja.txt b/doc/ja/weechat_relay_protocol.ja.asciidoc similarity index 100% rename from doc/ja/weechat_relay_protocol.ja.txt rename to doc/ja/weechat_relay_protocol.ja.asciidoc diff --git a/doc/ja/weechat_scripting.ja.txt b/doc/ja/weechat_scripting.ja.asciidoc similarity index 100% rename from doc/ja/weechat_scripting.ja.txt rename to doc/ja/weechat_scripting.ja.asciidoc diff --git a/doc/ja/weechat_tester.ja.txt b/doc/ja/weechat_tester.ja.asciidoc similarity index 100% rename from doc/ja/weechat_tester.ja.txt rename to doc/ja/weechat_tester.ja.asciidoc diff --git a/doc/ja/weechat_user.ja.txt b/doc/ja/weechat_user.ja.asciidoc similarity index 99% rename from doc/ja/weechat_user.ja.txt rename to doc/ja/weechat_user.ja.asciidoc index bfcdbfb0e..c373af340 100644 --- a/doc/ja/weechat_user.ja.txt +++ b/doc/ja/weechat_user.ja.asciidoc @@ -432,7 +432,7 @@ gdb /usr/bin/weechat 12345 コマンドライン引数: -include::cmdline_options.ja.txt[] +include::cmdline_options.ja.asciidoc[] WeeChat を起動させるには、以下コマンドを実行: @@ -1645,7 +1645,7 @@ IRC サーバのパスワードを設定する例: オプション: -include::autogen/user/sec_options.txt[] +include::autogen/user/sec_options.asciidoc[] [[weechat_options]] ==== WeeChat オプション (weechat.conf) @@ -1680,12 +1680,12 @@ include::autogen/user/sec_options.txt[] オプション: -include::autogen/user/weechat_options.txt[] +include::autogen/user/weechat_options.asciidoc[] [[weechat_commands]] ==== WeeChat コマンド -include::autogen/user/weechat_commands.txt[] +include::autogen/user/weechat_commands.asciidoc[] [[plugins]] == プラグイン @@ -1751,7 +1751,7 @@ Alias プラグインを使うことで、コマンドの別名を定義でき [[alias_commands]] ==== コマンド -include::autogen/user/alias_commands.txt[] +include::autogen/user/alias_commands.asciidoc[] [[aspell_plugin]] === Aspell プラグイン @@ -1776,12 +1776,12 @@ Aspell プラグインを使うことで、コマンドラインに入力した オプション: -include::autogen/user/aspell_options.txt[] +include::autogen/user/aspell_options.asciidoc[] [[aspell_commands]] ==== コマンド -include::autogen/user/aspell_commands.txt[] +include::autogen/user/aspell_commands.asciidoc[] [[aspell_speller_options]] ==== Speller オプション @@ -1880,12 +1880,12 @@ charset: terminal: ISO-8859-15, internal: UTF-8 オプション: -include::autogen/user/charset_options.txt[] +include::autogen/user/charset_options.asciidoc[] [[charset_commands]] ==== コマンド -include::autogen/user/charset_commands.txt[] +include::autogen/user/charset_commands.asciidoc[] [[charset_set]] ==== 文字コードの設定 @@ -1962,12 +1962,12 @@ IRC サーバの全てのチャンネルおよびプライベートバッファ オプション: -include::autogen/user/exec_options.txt[] +include::autogen/user/exec_options.asciidoc[] [[exec_commands]] ==== コマンド -include::autogen/user/exec_commands.txt[] +include::autogen/user/exec_commands.asciidoc[] [[fifo_plugin]] === Fifo プラグイン @@ -2077,12 +2077,12 @@ $ weechat irc://nono@irc.freenode.net/#weechat,#toto オプション: -include::autogen/user/irc_options.txt[] +include::autogen/user/irc_options.asciidoc[] [[irc_commands]] ==== コマンド -include::autogen/user/irc_commands.txt[] +include::autogen/user/irc_commands.asciidoc[] [[irc_ssl_certificates]] ==== SSL 証明書 @@ -2495,12 +2495,12 @@ Logger プラグインを使うことで、バッファの内容をファイル オプション: -include::autogen/user/logger_options.txt[] +include::autogen/user/logger_options.asciidoc[] [[logger_commands]] ==== コマンド -include::autogen/user/logger_commands.txt[] +include::autogen/user/logger_commands.asciidoc[] [[logger_log_levels]] ==== ログレベル @@ -2650,12 +2650,12 @@ Relay プラグインはネットワークを介して異なるプロトコル オプション: -include::autogen/user/relay_options.txt[] +include::autogen/user/relay_options.asciidoc[] [[relay_commands]] ==== コマンド -include::autogen/user/relay_commands.txt[] +include::autogen/user/relay_commands.asciidoc[] [[relay_password]] ==== パスワード @@ -2792,42 +2792,42 @@ WeeChat は 6 種類のスクリプトプラグインを備えています: Pyth オプション: -include::autogen/user/script_options.txt[] +include::autogen/user/script_options.asciidoc[] [[script_commands]] ==== Script コマンド -include::autogen/user/script_commands.txt[] +include::autogen/user/script_commands.asciidoc[] [[python_commands]] ==== Python コマンド -include::autogen/user/python_commands.txt[] +include::autogen/user/python_commands.asciidoc[] [[perl_commands]] ==== Perl コマンド -include::autogen/user/perl_commands.txt[] +include::autogen/user/perl_commands.asciidoc[] [[ruby_commands]] ==== Ruby コマンド -include::autogen/user/ruby_commands.txt[] +include::autogen/user/ruby_commands.asciidoc[] [[lua_commands]] ==== Lua コマンド -include::autogen/user/lua_commands.txt[] +include::autogen/user/lua_commands.asciidoc[] [[tcl_commands]] ==== Tcl コマンド -include::autogen/user/tcl_commands.txt[] +include::autogen/user/tcl_commands.asciidoc[] [[guile_commands]] ==== Guile コマンド -include::autogen/user/guile_commands.txt[] +include::autogen/user/guile_commands.asciidoc[] [[trigger_plugin]] === トリガプラグイン @@ -2858,12 +2858,12 @@ include::autogen/user/guile_commands.txt[] オプション: -include::autogen/user/trigger_options.txt[] +include::autogen/user/trigger_options.asciidoc[] [[trigger_commands]] ==== コマンド -include::autogen/user/trigger_commands.txt[] +include::autogen/user/trigger_commands.asciidoc[] [[trigger_anatomy]] ==== トリガの構造 @@ -3366,12 +3366,12 @@ Xfer プラグインの機能: オプション: -include::autogen/user/xfer_options.txt[] +include::autogen/user/xfer_options.asciidoc[] [[xfer_commands]] ==== コマンド -include::autogen/user/xfer_commands.txt[] +include::autogen/user/xfer_commands.asciidoc[] [[support]] == サポート diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt index f084f33cb..31775e897 100644 --- a/doc/pl/CMakeLists.txt +++ b/doc/pl/CMakeLists.txt @@ -21,12 +21,12 @@ if(ENABLE_MAN) # man page add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.txt ${CMAKE_CURRENT_BINARY_DIR}/ - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.pl.txt + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/ + COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.pl.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.asciidoc COMMENT "Building weechat.1 (pl)" ) add_custom_target(doc-man-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1) @@ -38,11 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.pl.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.txt - ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.txt - ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.asciidoc + ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc COMMENT "Building weechat_user.pl.html" ) add_custom_target(doc-user-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.pl.html) @@ -51,9 +51,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # scripting guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.asciidoc COMMENT "Building weechat_scripting.pl.html" ) add_custom_target(doc-scripting-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html) @@ -62,9 +62,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.asciidoc COMMENT "Building weechat_faq.pl.html" ) add_custom_target(doc-faq-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html) @@ -73,9 +73,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.asciidoc COMMENT "Building weechat_quickstart.pl.html" ) add_custom_target(doc-quickstart-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html) @@ -84,9 +84,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # tester's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.asciidoc COMMENT "Building weechat_tester.pl.html" ) add_custom_target(doc-tester-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html) diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am index 7de5a9bab..bc5384ccb 100644 --- a/doc/pl/Makefile.am +++ b/doc/pl/Makefile.am @@ -21,14 +21,14 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat.1.pl.txt \ - cmdline_options.pl.txt \ - weechat_user.pl.txt \ - weechat_scripting.pl.txt \ - weechat_faq.pl.txt \ - weechat_quickstart.pl.txt \ - weechat_tester.pl.txt \ - $(wildcard autogen/user/*.txt) + weechat.1.pl.asciidoc \ + cmdline_options.pl.asciidoc \ + weechat_user.pl.asciidoc \ + weechat_scripting.pl.asciidoc \ + weechat_faq.pl.asciidoc \ + weechat_quickstart.pl.asciidoc \ + weechat_tester.pl.asciidoc \ + $(wildcard autogen/user/*.asciidoc) if MAN man_targets = weechat.1 @@ -47,30 +47,30 @@ endif all-local: $(man_targets) $(doc_targets) # man page -weechat.1: weechat.1.pl.txt cmdline_options.pl.txt - cp -f $(abs_top_srcdir)/doc/pl/weechat.1.pl.txt . - cp -f $(abs_top_srcdir)/doc/pl/cmdline_options.pl.txt . - $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.pl.txt +weechat.1: weechat.1.pl.asciidoc cmdline_options.pl.asciidoc + cp -f $(abs_top_srcdir)/doc/pl/weechat.1.pl.asciidoc . + cp -f $(abs_top_srcdir)/doc/pl/cmdline_options.pl.asciidoc . + $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.pl.asciidoc # user's guide -weechat_user.pl.html: weechat_user.pl.txt cmdline_options.pl.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.txt +weechat_user.pl.html: weechat_user.pl.asciidoc cmdline_options.pl.asciidoc $(wildcard autogen/user/*.asciidoc) + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.asciidoc # scripting guide -weechat_scripting.pl.html: weechat_scripting.pl.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.pl.html $(abs_top_srcdir)/doc/pl/weechat_scripting.pl.txt +weechat_scripting.pl.html: weechat_scripting.pl.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.pl.html $(abs_top_srcdir)/doc/pl/weechat_scripting.pl.asciidoc # FAQ -weechat_faq.pl.html: weechat_faq.pl.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.pl.html $(abs_top_srcdir)/doc/pl/weechat_faq.pl.txt +weechat_faq.pl.html: weechat_faq.pl.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.pl.html $(abs_top_srcdir)/doc/pl/weechat_faq.pl.asciidoc # quickstart -weechat_quickstart.pl.html: weechat_quickstart.pl.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.pl.html $(abs_top_srcdir)/doc/pl/weechat_quickstart.pl.txt +weechat_quickstart.pl.html: weechat_quickstart.pl.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.pl.html $(abs_top_srcdir)/doc/pl/weechat_quickstart.pl.asciidoc # tester's guide -weechat_tester.pl.html: weechat_tester.pl.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.pl.html $(abs_top_srcdir)/doc/pl/weechat_tester.pl.txt +weechat_tester.pl.html: weechat_tester.pl.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.pl.html $(abs_top_srcdir)/doc/pl/weechat_tester.pl.asciidoc # install man/docs @@ -99,5 +99,5 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.pl.txt cmdline_options.pl.txt + -rm -f weechat.1 weechat.1.pl.asciidoc cmdline_options.pl.asciidoc -rm -f *.html diff --git a/doc/pl/autogen/plugin_api/completions.txt b/doc/pl/autogen/plugin_api/completions.asciidoc similarity index 100% rename from doc/pl/autogen/plugin_api/completions.txt rename to doc/pl/autogen/plugin_api/completions.asciidoc diff --git a/doc/pl/autogen/plugin_api/hdata.txt b/doc/pl/autogen/plugin_api/hdata.asciidoc similarity index 100% rename from doc/pl/autogen/plugin_api/hdata.txt rename to doc/pl/autogen/plugin_api/hdata.asciidoc diff --git a/doc/pl/autogen/plugin_api/infolists.txt b/doc/pl/autogen/plugin_api/infolists.asciidoc similarity index 100% rename from doc/pl/autogen/plugin_api/infolists.txt rename to doc/pl/autogen/plugin_api/infolists.asciidoc diff --git a/doc/pl/autogen/plugin_api/infos.txt b/doc/pl/autogen/plugin_api/infos.asciidoc similarity index 100% rename from doc/pl/autogen/plugin_api/infos.txt rename to doc/pl/autogen/plugin_api/infos.asciidoc diff --git a/doc/pl/autogen/plugin_api/infos_hashtable.txt b/doc/pl/autogen/plugin_api/infos_hashtable.asciidoc similarity index 100% rename from doc/pl/autogen/plugin_api/infos_hashtable.txt rename to doc/pl/autogen/plugin_api/infos_hashtable.asciidoc diff --git a/doc/pl/autogen/plugin_api/url_options.txt b/doc/pl/autogen/plugin_api/url_options.asciidoc similarity index 100% rename from doc/pl/autogen/plugin_api/url_options.txt rename to doc/pl/autogen/plugin_api/url_options.asciidoc diff --git a/doc/pl/autogen/user/alias_commands.txt b/doc/pl/autogen/user/alias_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/alias_commands.txt rename to doc/pl/autogen/user/alias_commands.asciidoc diff --git a/doc/pl/autogen/user/aspell_commands.txt b/doc/pl/autogen/user/aspell_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/aspell_commands.txt rename to doc/pl/autogen/user/aspell_commands.asciidoc diff --git a/doc/pl/autogen/user/aspell_options.txt b/doc/pl/autogen/user/aspell_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/aspell_options.txt rename to doc/pl/autogen/user/aspell_options.asciidoc diff --git a/doc/pl/autogen/user/charset_commands.txt b/doc/pl/autogen/user/charset_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/charset_commands.txt rename to doc/pl/autogen/user/charset_commands.asciidoc diff --git a/doc/pl/autogen/user/charset_options.txt b/doc/pl/autogen/user/charset_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/charset_options.txt rename to doc/pl/autogen/user/charset_options.asciidoc diff --git a/doc/pl/autogen/user/exec_commands.txt b/doc/pl/autogen/user/exec_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/exec_commands.txt rename to doc/pl/autogen/user/exec_commands.asciidoc diff --git a/doc/pl/autogen/user/exec_options.txt b/doc/pl/autogen/user/exec_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/exec_options.txt rename to doc/pl/autogen/user/exec_options.asciidoc diff --git a/doc/pl/autogen/user/guile_commands.txt b/doc/pl/autogen/user/guile_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/guile_commands.txt rename to doc/pl/autogen/user/guile_commands.asciidoc diff --git a/doc/pl/autogen/user/irc_commands.txt b/doc/pl/autogen/user/irc_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/irc_commands.txt rename to doc/pl/autogen/user/irc_commands.asciidoc diff --git a/doc/pl/autogen/user/irc_options.txt b/doc/pl/autogen/user/irc_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/irc_options.txt rename to doc/pl/autogen/user/irc_options.asciidoc diff --git a/doc/pl/autogen/user/logger_commands.txt b/doc/pl/autogen/user/logger_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/logger_commands.txt rename to doc/pl/autogen/user/logger_commands.asciidoc diff --git a/doc/pl/autogen/user/logger_options.txt b/doc/pl/autogen/user/logger_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/logger_options.txt rename to doc/pl/autogen/user/logger_options.asciidoc diff --git a/doc/pl/autogen/user/lua_commands.txt b/doc/pl/autogen/user/lua_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/lua_commands.txt rename to doc/pl/autogen/user/lua_commands.asciidoc diff --git a/doc/pl/autogen/user/perl_commands.txt b/doc/pl/autogen/user/perl_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/perl_commands.txt rename to doc/pl/autogen/user/perl_commands.asciidoc diff --git a/doc/pl/autogen/user/python_commands.txt b/doc/pl/autogen/user/python_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/python_commands.txt rename to doc/pl/autogen/user/python_commands.asciidoc diff --git a/doc/pl/autogen/user/relay_commands.txt b/doc/pl/autogen/user/relay_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/relay_commands.txt rename to doc/pl/autogen/user/relay_commands.asciidoc diff --git a/doc/pl/autogen/user/relay_options.txt b/doc/pl/autogen/user/relay_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/relay_options.txt rename to doc/pl/autogen/user/relay_options.asciidoc diff --git a/doc/pl/autogen/user/ruby_commands.txt b/doc/pl/autogen/user/ruby_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/ruby_commands.txt rename to doc/pl/autogen/user/ruby_commands.asciidoc diff --git a/doc/pl/autogen/user/script_commands.txt b/doc/pl/autogen/user/script_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/script_commands.txt rename to doc/pl/autogen/user/script_commands.asciidoc diff --git a/doc/pl/autogen/user/script_options.txt b/doc/pl/autogen/user/script_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/script_options.txt rename to doc/pl/autogen/user/script_options.asciidoc diff --git a/doc/pl/autogen/user/sec_options.txt b/doc/pl/autogen/user/sec_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/sec_options.txt rename to doc/pl/autogen/user/sec_options.asciidoc diff --git a/doc/pl/autogen/user/tcl_commands.txt b/doc/pl/autogen/user/tcl_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/tcl_commands.txt rename to doc/pl/autogen/user/tcl_commands.asciidoc diff --git a/doc/pl/autogen/user/trigger_commands.txt b/doc/pl/autogen/user/trigger_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/trigger_commands.txt rename to doc/pl/autogen/user/trigger_commands.asciidoc diff --git a/doc/pl/autogen/user/trigger_options.txt b/doc/pl/autogen/user/trigger_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/trigger_options.txt rename to doc/pl/autogen/user/trigger_options.asciidoc diff --git a/doc/pl/autogen/user/weechat_commands.txt b/doc/pl/autogen/user/weechat_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/weechat_commands.txt rename to doc/pl/autogen/user/weechat_commands.asciidoc diff --git a/doc/pl/autogen/user/weechat_options.txt b/doc/pl/autogen/user/weechat_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/weechat_options.txt rename to doc/pl/autogen/user/weechat_options.asciidoc diff --git a/doc/pl/autogen/user/xfer_commands.txt b/doc/pl/autogen/user/xfer_commands.asciidoc similarity index 100% rename from doc/pl/autogen/user/xfer_commands.txt rename to doc/pl/autogen/user/xfer_commands.asciidoc diff --git a/doc/pl/autogen/user/xfer_options.txt b/doc/pl/autogen/user/xfer_options.asciidoc similarity index 100% rename from doc/pl/autogen/user/xfer_options.txt rename to doc/pl/autogen/user/xfer_options.asciidoc diff --git a/doc/pl/cmdline_options.pl.txt b/doc/pl/cmdline_options.pl.asciidoc similarity index 100% rename from doc/pl/cmdline_options.pl.txt rename to doc/pl/cmdline_options.pl.asciidoc diff --git a/doc/pl/weechat.1.pl.txt b/doc/pl/weechat.1.pl.asciidoc similarity index 98% rename from doc/pl/weechat.1.pl.txt rename to doc/pl/weechat.1.pl.asciidoc index d41aabdca..76902a997 100644 --- a/doc/pl/weechat.1.pl.txt +++ b/doc/pl/weechat.1.pl.asciidoc @@ -23,7 +23,7 @@ rozszerzalny za pomocą C i skryptów pisanych w kilku językach. == OPCJE -include::cmdline_options.pl.txt[] +include::cmdline_options.pl.asciidoc[] == OPCJE WTYCZEK diff --git a/doc/pl/weechat_faq.pl.txt b/doc/pl/weechat_faq.pl.asciidoc similarity index 100% rename from doc/pl/weechat_faq.pl.txt rename to doc/pl/weechat_faq.pl.asciidoc diff --git a/doc/pl/weechat_quickstart.pl.txt b/doc/pl/weechat_quickstart.pl.asciidoc similarity index 100% rename from doc/pl/weechat_quickstart.pl.txt rename to doc/pl/weechat_quickstart.pl.asciidoc diff --git a/doc/pl/weechat_scripting.pl.txt b/doc/pl/weechat_scripting.pl.asciidoc similarity index 100% rename from doc/pl/weechat_scripting.pl.txt rename to doc/pl/weechat_scripting.pl.asciidoc diff --git a/doc/pl/weechat_tester.pl.txt b/doc/pl/weechat_tester.pl.asciidoc similarity index 100% rename from doc/pl/weechat_tester.pl.txt rename to doc/pl/weechat_tester.pl.asciidoc diff --git a/doc/pl/weechat_user.pl.txt b/doc/pl/weechat_user.pl.asciidoc similarity index 98% rename from doc/pl/weechat_user.pl.txt rename to doc/pl/weechat_user.pl.asciidoc index 4ce1939e6..51c100580 100644 --- a/doc/pl/weechat_user.pl.txt +++ b/doc/pl/weechat_user.pl.asciidoc @@ -436,7 +436,7 @@ Następnie jak w przypadku awarii, użyj polecenia `bt full`: Parametry z linii poleceń: -include::cmdline_options.pl.txt[] +include::cmdline_options.pl.asciidoc[] Żeby uruchomić WeeChat, wykonaj polecenie: @@ -1660,7 +1660,7 @@ Sekcje: Opcje: -include::autogen/user/sec_options.txt[] +include::autogen/user/sec_options.asciidoc[] [[weechat_options]] ==== Opcje WeeChat (weechat.conf) @@ -1695,12 +1695,12 @@ Sekcje: Opcje: -include::autogen/user/weechat_options.txt[] +include::autogen/user/weechat_options.asciidoc[] [[weechat_commands]] ==== Komendy WeeChat -include::autogen/user/weechat_commands.txt[] +include::autogen/user/weechat_commands.asciidoc[] [[plugins]] == Wtyczki @@ -1767,7 +1767,7 @@ Wtyczka alias pozwala tworzyć aliasy dla komend (z WeeChat lub innych wtyczek). [[alias_commands]] ==== Komendy -include::autogen/user/alias_commands.txt[] +include::autogen/user/alias_commands.asciidoc[] [[aspell_plugin]] === Wtyczka aspell @@ -1792,12 +1792,12 @@ Sekcje: Opcje: -include::autogen/user/aspell_options.txt[] +include::autogen/user/aspell_options.asciidoc[] [[aspell_commands]] ==== Komendy -include::autogen/user/aspell_commands.txt[] +include::autogen/user/aspell_commands.asciidoc[] [[aspell_speller_options]] ==== Opcje słowników @@ -1897,12 +1897,12 @@ Sekcje: Opcje: -include::autogen/user/charset_options.txt[] +include::autogen/user/charset_options.asciidoc[] [[charset_commands]] ==== Komendy -include::autogen/user/charset_commands.txt[] +include::autogen/user/charset_commands.asciidoc[] [[charset_set]] ==== Ustawianie kodowania @@ -1983,12 +1983,12 @@ Sections: Options: -include::autogen/user/exec_options.txt[] +include::autogen/user/exec_options.asciidoc[] [[exec_commands]] ==== Commands -include::autogen/user/exec_commands.txt[] +include::autogen/user/exec_commands.asciidoc[] [[fifo_plugin]] === Wtyczka fifo @@ -2101,12 +2101,12 @@ Sekcje: Opcje: -include::autogen/user/irc_options.txt[] +include::autogen/user/irc_options.asciidoc[] [[irc_commands]] ==== Komendy -include::autogen/user/irc_commands.txt[] +include::autogen/user/irc_commands.asciidoc[] [[irc_ssl_certificates]] ==== Certyfikaty SSL @@ -2522,12 +2522,12 @@ Sekcje: Opcje: -include::autogen/user/logger_options.txt[] +include::autogen/user/logger_options.asciidoc[] [[logger_commands]] ==== Komendy -include::autogen/user/logger_commands.txt[] +include::autogen/user/logger_commands.asciidoc[] [[logger_log_levels]] ==== Poziomy logowania @@ -2681,12 +2681,12 @@ Sekcje: Opcje: -include::autogen/user/relay_options.txt[] +include::autogen/user/relay_options.asciidoc[] [[relay_commands]] ==== Komendy -include::autogen/user/relay_commands.txt[] +include::autogen/user/relay_commands.asciidoc[] [[relay_password]] ==== Hasło @@ -2826,42 +2826,42 @@ Sekcje: Opcje: -include::autogen/user/script_options.txt[] +include::autogen/user/script_options.asciidoc[] [[script_commands]] ==== Komendy wtyczki script -include::autogen/user/script_commands.txt[] +include::autogen/user/script_commands.asciidoc[] [[python_commands]] ==== Komendy wtyczki python -include::autogen/user/python_commands.txt[] +include::autogen/user/python_commands.asciidoc[] [[perl_commands]] ==== Komendy wtyczki perl -include::autogen/user/perl_commands.txt[] +include::autogen/user/perl_commands.asciidoc[] [[ruby_commands]] ==== Komendy wtyczki ruby -include::autogen/user/ruby_commands.txt[] +include::autogen/user/ruby_commands.asciidoc[] [[lua_commands]] ==== Komendy wtyczki lua -include::autogen/user/lua_commands.txt[] +include::autogen/user/lua_commands.asciidoc[] [[tcl_commands]] ==== Komendy wtyczki tcl -include::autogen/user/tcl_commands.txt[] +include::autogen/user/tcl_commands.asciidoc[] [[guile_commands]] ==== Komendy wtyczki guile -include::autogen/user/guile_commands.txt[] +include::autogen/user/guile_commands.asciidoc[] // TRANSLATION MISSING [[trigger_plugin]] @@ -2893,12 +2893,12 @@ Sections: Options: -include::autogen/user/trigger_options.txt[] +include::autogen/user/trigger_options.asciidoc[] [[trigger_commands]] ==== Commands -include::autogen/user/trigger_commands.txt[] +include::autogen/user/trigger_commands.asciidoc[] [[trigger_anatomy]] ==== Anatomy of a trigger @@ -3405,12 +3405,12 @@ Sekcje: Opcje: -include::autogen/user/xfer_options.txt[] +include::autogen/user/xfer_options.asciidoc[] [[xfer_commands]] ==== Komendy -include::autogen/user/xfer_commands.txt[] +include::autogen/user/xfer_commands.asciidoc[] [[support]] == Wsparcie diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt index d8b46930e..b40a5183b 100644 --- a/doc/ru/CMakeLists.txt +++ b/doc/ru/CMakeLists.txt @@ -22,9 +22,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ru.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ru.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.txt + COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ru.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.txt + ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.asciidoc COMMENT "Building weechat_quickstart.ru.html" ) add_custom_target(doc-quickstart-ru ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ru.html) diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am index f18159213..b36503a23 100644 --- a/doc/ru/Makefile.am +++ b/doc/ru/Makefile.am @@ -20,7 +20,7 @@ docdir = $(datadir)/doc/$(PACKAGE) EXTRA_DIST = CMakeLists.txt \ - weechat_quickstart.ru.txt + weechat_quickstart.ru.asciidoc if MAN man_targets = @@ -35,8 +35,8 @@ endif all-local: $(man_targets) $(doc_targets) # quickstart -weechat_quickstart.ru.html: weechat_quickstart.ru.txt - $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.txt +weechat_quickstart.ru.html: weechat_quickstart.ru.asciidoc + $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.asciidoc # install man/docs diff --git a/doc/ru/weechat_quickstart.ru.txt b/doc/ru/weechat_quickstart.ru.asciidoc similarity index 100% rename from doc/ru/weechat_quickstart.ru.txt rename to doc/ru/weechat_quickstart.ru.asciidoc