summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-01-23 18:38:53 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-01-23 18:38:53 +0100
commitbf16399096385a6569485230b535be7d5d8a596e (patch)
tree9a7991418e8aa049f34821e8a76c4d1fffcc50a1 /doc/it
parent3acdcee0d94feaf2845c3e74d323f8c5dd01d70a (diff)
downloadweechat-bf16399096385a6569485230b535be7d5d8a596e.zip
doc: move asciidoc attributes from command line into files
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/CMakeLists.txt14
-rw-r--r--doc/it/Makefile.am14
-rw-r--r--doc/it/weechat.1.it.txt1
-rw-r--r--doc/it/weechat_faq.it.txt5
-rw-r--r--doc/it/weechat_plugin_api.it.txt6
-rw-r--r--doc/it/weechat_quickstart.it.txt5
-rw-r--r--doc/it/weechat_scripting.it.txt6
-rw-r--r--doc/it/weechat_tester.it.txt5
-rw-r--r--doc/it/weechat_user.it.txt6
9 files changed, 42 insertions, 20 deletions
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt
index 13bcdc54b..a99313fbc 100644
--- a/doc/it/CMakeLists.txt
+++ b/doc/it/CMakeLists.txt
@@ -23,7 +23,7 @@ IF (ENABLE_MAN)
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 lang=it -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.it.txt
+ COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.it.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt
@@ -38,7 +38,7 @@ 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 lang=it -a toc -a toclevels=4 -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.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt
@@ -51,7 +51,7 @@ 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 lang=it -a toc -a toclevels=4 -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.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
@@ -63,7 +63,7 @@ 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 lang=it -a toc -a toclevels=3 -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.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.txt
COMMENT "Building weechat_scripting.it.html"
@@ -74,7 +74,7 @@ IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html
- COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=it -a toc -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.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.txt
COMMENT "Building weechat_faq.it.html"
@@ -85,7 +85,7 @@ IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html
- COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=it -a toc -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.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.txt
COMMENT "Building weechat_quickstart.it.html"
@@ -96,7 +96,7 @@ 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 lang=it -a toc -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.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.txt
COMMENT "Building weechat_tester.it.html"
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
index 75364dbe2..ca82baf5f 100644
--- a/doc/it/Makefile.am
+++ b/doc/it/Makefile.am
@@ -52,31 +52,31 @@ all-local: $(man_targets) $(doc_targets)
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 lang=it -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.it.txt
+ $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.it.txt
# user's guide
weechat_user.it.html: weechat_user.it.txt cmdline_options.it.txt $(wildcard autogen/user/*.txt)
- $(ASCIIDOC) -a lang=it -a toc -a toclevels=4 -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
+ $(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
# plugin API reference
weechat_plugin_api.it.html: weechat_plugin_api.it.txt $(wildcard autogen/plugin_api/*.txt)
- $(ASCIIDOC) -a lang=it -a toc -a toclevels=4 -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
+ $(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
# scripting guide
weechat_scripting.it.html: weechat_scripting.it.txt
- $(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -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
+ $(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
# FAQ
weechat_faq.it.html: weechat_faq.it.txt
- $(ASCIIDOC) -a lang=it -a toc -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
+ $(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
# quickstart
weechat_quickstart.it.html: weechat_quickstart.it.txt
- $(ASCIIDOC) -a lang=it -a toc -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
+ $(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
# tester's guide
weechat_tester.it.html: weechat_tester.it.txt
- $(ASCIIDOC) -a lang=it -a toc -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
+ $(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
# install man/docs
diff --git a/doc/it/weechat.1.it.txt b/doc/it/weechat.1.it.txt
index 8e681e7b2..37c0c1561 100644
--- a/doc/it/weechat.1.it.txt
+++ b/doc/it/weechat.1.it.txt
@@ -1,6 +1,7 @@
// TRANSLATION MISSING (WHOLE FILE)
= WEECHAT(1)
:doctype: manpage
+:lang: it
== NAME
diff --git a/doc/it/weechat_faq.it.txt b/doc/it/weechat_faq.it.txt
index 6ca7d8259..39abf41b2 100644
--- a/doc/it/weechat_faq.it.txt
+++ b/doc/it/weechat_faq.it.txt
@@ -1,5 +1,8 @@
= FAQ di WeeChat (Domande Frequenti)
-Sébastien Helleu <flashcode@flashtux.org>
+:author: Sébastien Helleu
+:email: flashcode@flashtux.org
+:lang: it
+:toc:
[NOTE]
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index 2bcd7984c..d756f95fa 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -1,5 +1,9 @@
= Referenze API per Plugin di WeeChat
-Sébastien Helleu <flashcode@flashtux.org>
+:author: Sébastien Helleu
+:email: flashcode@flashtux.org
+:lang: it
+:toc:
+:toclevels: 4
Questo manuale documenta il client di chat WeeChat, ed è parte
diff --git a/doc/it/weechat_quickstart.it.txt b/doc/it/weechat_quickstart.it.txt
index a26f0a4ad..4156ac31c 100644
--- a/doc/it/weechat_quickstart.it.txt
+++ b/doc/it/weechat_quickstart.it.txt
@@ -1,5 +1,8 @@
= Guida Rapida a WeeChat
-Sébastien Helleu <flashcode@flashtux.org>
+:author: Sébastien Helleu
+:email: flashcode@flashtux.org
+:lang: it
+:toc:
[[start]]
diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt
index 1481c4ff1..8a8aa57c0 100644
--- a/doc/it/weechat_scripting.it.txt
+++ b/doc/it/weechat_scripting.it.txt
@@ -1,5 +1,9 @@
= Guida allo Scripting di WeeChat
-Sébastien Helleu <flashcode@flashtux.org>
+:author: Sébastien Helleu
+:email: flashcode@flashtux.org
+:lang: it
+:toc:
+:toclevels: 3
Questo manuale documenta il client di chat WeeChat, ed è parte
diff --git a/doc/it/weechat_tester.it.txt b/doc/it/weechat_tester.it.txt
index 3cad8224d..8c08f87df 100644
--- a/doc/it/weechat_tester.it.txt
+++ b/doc/it/weechat_tester.it.txt
@@ -1,5 +1,8 @@
= Guida al Tester di WeeChat
-Sébastien Helleu <flashcode@flashtux.org>
+:author: Sébastien Helleu
+:email: flashcode@flashtux.org
+:lang: it
+:toc:
[[purpose]]
diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt
index 4947dec54..0c363a74e 100644
--- a/doc/it/weechat_user.it.txt
+++ b/doc/it/weechat_user.it.txt
@@ -1,5 +1,9 @@
= Guida per l'Utente di WeeChat
-Sébastien Helleu <flashcode@flashtux.org>
+:author: Sébastien Helleu
+:email: flashcode@flashtux.org
+:lang: it
+:toc:
+:toclevels: 4
Questo manuale documenta il client di chat WeeChat, ed è parte