diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-05-03 21:31:55 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-05-14 09:42:57 +0200 |
commit | 220bd837aea2fac67594b8b62291f306f70a6230 (patch) | |
tree | 47d3f583bdccfbba4a15e234bbef8d3a50f5d0e6 /doc/de | |
parent | f3163aa271b3f1b45244ec09ba4c566450a07a24 (diff) | |
download | weechat-220bd837aea2fac67594b8b62291f306f70a6230.zip |
doc: use asciidoctor instead of asciidoc (issue #722)
Diffstat (limited to 'doc/de')
-rw-r--r-- | doc/de/CMakeLists.txt | 26 | ||||
-rw-r--r-- | doc/de/Makefile.am | 30 | ||||
l--------- | doc/de/docinfo.html | 1 | ||||
-rw-r--r-- | doc/de/weechat.1.de.asciidoc | 12 | ||||
-rw-r--r-- | doc/de/weechat_faq.de.asciidoc | 6 | ||||
-rw-r--r-- | doc/de/weechat_quickstart.de.asciidoc | 6 | ||||
-rw-r--r-- | doc/de/weechat_scripting.de.asciidoc | 5 | ||||
-rw-r--r-- | doc/de/weechat_tester.de.asciidoc | 5 | ||||
-rw-r--r-- | doc/de/weechat_user.de.asciidoc | 7 |
9 files changed, 51 insertions, 47 deletions
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt index e52352896..508ac7a29 100644 --- a/doc/de/CMakeLists.txt +++ b/doc/de/CMakeLists.txt @@ -21,9 +21,7 @@ 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.asciidoc . - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc . - COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L weechat.1.de.asciidoc + COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc @@ -34,14 +32,14 @@ if(ENABLE_MAN) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1) endif() -if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) +if(ENABLE_DOC) # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc + COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css + ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc @@ -54,9 +52,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 ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc + COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css + ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_scripting.de.html" @@ -67,9 +65,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # FAQ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc + COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css + ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_faq.de.html" @@ -80,9 +78,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html - COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc + COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css + ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_quickstart.de.html" @@ -93,9 +91,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 ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc + COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css + ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_tester.de.html" diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am index 92117135b..29490f77c 100644 --- a/doc/de/Makefile.am +++ b/doc/de/Makefile.am @@ -48,32 +48,27 @@ all-local: $(man_targets) $(doc_targets) # man page weechat.1: weechat.1.de.asciidoc cmdline_options.de.asciidoc - -mkdir tmp_man - cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.asciidoc ./tmp_man/ - cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.asciidoc ./tmp_man/ - (cd tmp_man && $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.asciidoc) - mv -f tmp_man/weechat.1 . - rm -rf tmp_man + $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.asciidoc # user's guide -weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css - $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc +weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/docinfo.html + $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=highlight.js -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc # scripting guide -weechat_scripting.de.html: weechat_scripting.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css - $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc +weechat_scripting.de.html: weechat_scripting.de.asciidoc $(abs_top_srcdir)/doc/docinfo.html + $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=highlight.js -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc # FAQ -weechat_faq.de.html: weechat_faq.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css - $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc +weechat_faq.de.html: weechat_faq.de.asciidoc $(abs_top_srcdir)/doc/docinfo.html + $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=highlight.js -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc # quickstart -weechat_quickstart.de.html: weechat_quickstart.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css - $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc +weechat_quickstart.de.html: weechat_quickstart.de.asciidoc $(abs_top_srcdir)/doc/docinfo.html + $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=highlight.js -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc # tester's guide -weechat_tester.de.html: weechat_tester.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css - $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc +weechat_tester.de.html: weechat_tester.de.asciidoc $(abs_top_srcdir)/doc/docinfo.html + $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=highlight.js -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc # install man/docs @@ -102,5 +97,4 @@ uninstall-doc: # clean clean-local: - -rm -f weechat.1 weechat.1.de.asciidoc cmdline_options.de.asciidoc - -rm -f *.html + -rm -f weechat.1 weechat_*.html diff --git a/doc/de/docinfo.html b/doc/de/docinfo.html new file mode 120000 index 000000000..c413f224f --- /dev/null +++ b/doc/de/docinfo.html @@ -0,0 +1 @@ +../docinfo.html
\ No newline at end of file diff --git a/doc/de/weechat.1.de.asciidoc b/doc/de/weechat.1.de.asciidoc index ff11436b2..15844c098 100644 --- a/doc/de/weechat.1.de.asciidoc +++ b/doc/de/weechat.1.de.asciidoc @@ -1,5 +1,7 @@ = WEECHAT(1) :doctype: manpage +:author: Sébastien Helleu +:email: flashcode@flashtux.org :lang: de == NAME @@ -89,16 +91,16 @@ $HOME/.weechat/weechat.log:: == AUTOREN -Diese manpage wurde von Sébastien Helleu <flashcode@flashtux.org> geschrieben. +Diese manpage wurde von {author} geschrieben. -Übersetzt von Nils Görs <weechatter@arcor.de>. +Übersetzt von Nils Görs. == COPYRIGHT WeeChat wird programmiert von Sébastien Helleu und weiteren Beitragenden (eine vollständige Auflistung findet man in der AUTHORS.asciidoc Datei). -Copyright (C) 2003-{sys:date "+%Y"} Sébastien Helleu <flashcode@flashtux.org> +Copyright (C) 2003-2016 {author} WeeChat is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -107,8 +109,8 @@ the Free Software Foundation; either version 3 of the License, or Please read the COPYING file for more information. -Web: <https://weechat.org/> +Web: https://weechat.org/ == SUPPORT / FEHLER MELDEN -für Hilfe oder um einen Fehler zu melden: <https://weechat.org/dev/support> +für Hilfe oder um einen Fehler zu melden: https://weechat.org/dev/support diff --git a/doc/de/weechat_faq.de.asciidoc b/doc/de/weechat_faq.de.asciidoc index 52e2b7b98..f19651928 100644 --- a/doc/de/weechat_faq.de.asciidoc +++ b/doc/de/weechat_faq.de.asciidoc @@ -2,8 +2,10 @@ :author: Sébastien Helleu :email: flashcode@flashtux.org :lang: de -:toc: -:toc-placement: manual +:toc: macro +:toc-title: Inhaltsverzeichnis +:sectnums: +:docinfo1: Übersetzer: diff --git a/doc/de/weechat_quickstart.de.asciidoc b/doc/de/weechat_quickstart.de.asciidoc index eb0a62ff6..0ccb32f71 100644 --- a/doc/de/weechat_quickstart.de.asciidoc +++ b/doc/de/weechat_quickstart.de.asciidoc @@ -2,8 +2,10 @@ :author: Sébastien Helleu :email: flashcode@flashtux.org :lang: de -:toc2: -:max-width: 100% +:toc: left +:toc-title: Inhaltsverzeichnis +:sectnums: +:docinfo1: Übersetzer: diff --git a/doc/de/weechat_scripting.de.asciidoc b/doc/de/weechat_scripting.de.asciidoc index db806f9a7..ecd4dcc9e 100644 --- a/doc/de/weechat_scripting.de.asciidoc +++ b/doc/de/weechat_scripting.de.asciidoc @@ -2,9 +2,10 @@ :author: Sébastien Helleu :email: flashcode@flashtux.org :lang: de -:toc2: +:toc: left :toclevels: 3 -:max-width: 100% +:toc-title: Inhaltsverzeichnis +:docinfo1: Übersetzer: diff --git a/doc/de/weechat_tester.de.asciidoc b/doc/de/weechat_tester.de.asciidoc index c1b8542ab..8360d3a0a 100644 --- a/doc/de/weechat_tester.de.asciidoc +++ b/doc/de/weechat_tester.de.asciidoc @@ -2,8 +2,9 @@ :author: Sébastien Helleu :email: flashcode@flashtux.org :lang: de -:toc2: -:max-width: 100% +:toc: left +:toc-title: Inhaltsverzeichnis +:docinfo1: Übersetzer: diff --git a/doc/de/weechat_user.de.asciidoc b/doc/de/weechat_user.de.asciidoc index 847bdf410..2f72c35e2 100644 --- a/doc/de/weechat_user.de.asciidoc +++ b/doc/de/weechat_user.de.asciidoc @@ -2,9 +2,12 @@ :author: Sébastien Helleu :email: flashcode@flashtux.org :lang: de -:toc2: +:toc: left :toclevels: 3 -:max-width: 100% +:toc-title: Inhaltsverzeichnis +:sectnums: +:sectnumlevels: 2 +:docinfo1: Übersetzer: |