summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-05-14 19:02:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-05-14 19:19:45 +0200
commit168dbaf0209aea3dc27b935cf2bb4d679f5f44ae (patch)
tree272c37d45d8a5ea30128e9f1d03f8481400af1c5
parent13cb870b9aded55ce96369f725622743b392de8e (diff)
downloadweechat-168dbaf0209aea3dc27b935cf2bb4d679f5f44ae.zip
doc: add link to Python stub in scripting guide (issue #1377)
-rw-r--r--doc/de/weechat_scripting.de.adoc5
-rw-r--r--doc/en/weechat_scripting.en.adoc4
-rw-r--r--doc/fr/weechat_scripting.fr.adoc4
-rw-r--r--doc/it/weechat_scripting.it.adoc4
-rw-r--r--doc/ja/weechat_scripting.ja.adoc4
-rw-r--r--doc/pl/weechat_scripting.pl.adoc5
6 files changed, 20 insertions, 6 deletions
diff --git a/doc/de/weechat_scripting.de.adoc b/doc/de/weechat_scripting.de.adoc
index 3eab42075..ae9cb40aa 100644
--- a/doc/de/weechat_scripting.de.adoc
+++ b/doc/de/weechat_scripting.de.adoc
@@ -77,7 +77,10 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
===== Module
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
-importiert werden muss.
+importiert werden muss. +
+// TRANSLATION MISSING
+A Python stub for WeeChat API is available in the repository:
+https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
===== Funktionen
diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc
index 71a593ef1..29be944f2 100644
--- a/doc/en/weechat_scripting.en.adoc
+++ b/doc/en/weechat_scripting.en.adoc
@@ -70,7 +70,9 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
===== Module
-WeeChat defines a `weechat` module which must be imported with `import weechat`.
+WeeChat defines a `weechat` module which must be imported with `import weechat`. +
+A Python stub for WeeChat API is available in the repository:
+https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
===== Functions
diff --git a/doc/fr/weechat_scripting.fr.adoc b/doc/fr/weechat_scripting.fr.adoc
index f7ecfa301..a917400b1 100644
--- a/doc/fr/weechat_scripting.fr.adoc
+++ b/doc/fr/weechat_scripting.fr.adoc
@@ -76,7 +76,9 @@ link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat]
===== Module
-WeeChat définit un module `weechat` qui doit être importé avec `import weechat`.
+WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. +
+Un "stub" Python pour l'API WeeChat est disponible dans le dépôt :
+https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
===== Fonctions
diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc
index a36b06fac..e59c07618 100644
--- a/doc/it/weechat_scripting.it.adoc
+++ b/doc/it/weechat_scripting.it.adoc
@@ -80,7 +80,9 @@ link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
// TRANSLATION MISSING
===== Module
-WeeChat defines a `weechat` module which must be imported with `import weechat`.
+WeeChat defines a `weechat` module which must be imported with `import weechat`. +
+A Python stub for WeeChat API is available in the repository:
+https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
// TRANSLATION MISSING
===== Functions
diff --git a/doc/ja/weechat_scripting.ja.adoc b/doc/ja/weechat_scripting.ja.adoc
index b7b397b3c..b2c08693e 100644
--- a/doc/ja/weechat_scripting.ja.adoc
+++ b/doc/ja/weechat_scripting.ja.adoc
@@ -77,7 +77,9 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ
// TRANSLATION MISSING
===== Module
-WeeChat defines a `weechat` module which must be imported with `import weechat`.
+WeeChat defines a `weechat` module which must be imported with `import weechat`. +
+A Python stub for WeeChat API is available in the repository:
+https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
// TRANSLATION MISSING
===== Functions
diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc
index 5d552112e..e1548b059 100644
--- a/doc/pl/weechat_scripting.pl.adoc
+++ b/doc/pl/weechat_scripting.pl.adoc
@@ -76,7 +76,10 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angiel
===== Moduł
-WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`.
+WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`. +
+// TRANSLATION MISSING
+A Python stub for WeeChat API is available in the repository:
+https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
===== Funkcje