mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
doc/relay: move diagram to an include file
This commit is contained in:
@@ -283,6 +283,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_relay_weechat.${lang}.html"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
// tag::diagram[]
|
||||
....
|
||||
┌──────────┐ Workstation
|
||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS, …)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Mobile device
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone, …)
|
||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||
└────────┘ │ ┌──────────┐
|
||||
...... └───┤ client N │ Other devices
|
||||
└──────────┘
|
||||
|
||||
|
||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||
network servers ncurses interface relay remote interfaces
|
||||
....
|
||||
// end::diagram[]
|
||||
@@ -24,22 +24,7 @@ The following terms are used in this document:
|
||||
|
||||
The _clients_ are connected to _relay_ like shown in this diagram:
|
||||
|
||||
....
|
||||
┌──────────┐ Workstation
|
||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS ...)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Mobile device
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone ...)
|
||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||
└────────┘ │ ┌──────────┐
|
||||
...... └───┤ client N │ Other devices
|
||||
└──────────┘
|
||||
|
||||
|
||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||
network servers ncurses interface relay remote interfaces
|
||||
....
|
||||
include::includes/relay.en.adoc[tag=diagram]
|
||||
|
||||
[NOTE]
|
||||
All clients here are clients using _weechat_ protocol in _relay_ plugin. +
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
// tag::diagram[]
|
||||
....
|
||||
┌──────────┐ Station de travail
|
||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS, …)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Appareil mobile
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone, …)
|
||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||
└────────┘ │ ┌──────────┐
|
||||
...... └───┤ client N │ Autres appareils
|
||||
└──────────┘
|
||||
|
||||
|
||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||
serveurs interface ncurses relay interfaces distantes
|
||||
....
|
||||
// end::diagram[]
|
||||
@@ -27,23 +27,7 @@ Les termes suivants sont utilisés dans ce document :
|
||||
|
||||
Les _clients_ sont connectés au _relay_ comme dans le diagramme ci-dessous :
|
||||
|
||||
....
|
||||
┌──────────┐ Station de travail
|
||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS ...)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Appareil mobile
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone ...)
|
||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||
└────────┘ │ ┌──────────┐
|
||||
...... └───┤ client N │ Autres appareils
|
||||
└──────────┘
|
||||
|
||||
|
||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||
serveurs interface ncurses protocole interfaces distantes
|
||||
relay
|
||||
....
|
||||
include::includes/relay.fr.adoc[tag=diagram]
|
||||
|
||||
[NOTE]
|
||||
Tous les clients ici utilisent le protocole _weechat_ dans l'extension _relay_.
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
// tag::diagram[]
|
||||
....
|
||||
┌────────────────┐ ワークステーション
|
||||
┌────────┐ ┌───┤ クライアント 1 │ (Linux、Windows、
|
||||
│ irc │◄──┐ ╔═══════════╤════════╗ │ └────────────────┘ BSD、macOS, …)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌────────────────┐
|
||||
...... ║ WeeChat │ リレー ║◄───────┤ クライアント 2 │ 携帯デバイス
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └────────────────┘ (Android、iPhone, …)
|
||||
│ jabber │◄──┘ ╚═══════════╧════════╝ │ ......
|
||||
└────────┘ │ ┌────────────────┐
|
||||
...... └───┤ クライアント N │ その他のデバイス
|
||||
└────────────────┘
|
||||
|
||||
|
||||
└────────────┘ └────────────────────┘╘══════╛└──────────────────────────────────────┘
|
||||
ネットワーク ncurses リレー リモートインターフェース
|
||||
サーバ インターフェース
|
||||
....
|
||||
// end::diagram[]
|
||||
@@ -29,23 +29,7 @@
|
||||
|
||||
以下の図に示すように _クライアント_ は _リレー_ に接続しています:
|
||||
|
||||
....
|
||||
┌────────────────┐ ワークステーション
|
||||
┌────────┐ ┌───┤ クライアント 1 │ (Linux、Windows、
|
||||
│ irc │◄──┐ ╔═══════════╤════════╗ │ └────────────────┘ BSD、macOS ...)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌────────────────┐
|
||||
...... ║ WeeChat │ リレー ║◄───────┤ クライアント 2 │ 携帯デバイス
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └────────────────┘ (Android、iPhone ...)
|
||||
│ jabber │◄──┘ ╚═══════════╧════════╝ │ ......
|
||||
└────────┘ │ ┌────────────────┐
|
||||
...... └───┤ クライアント N │ その他のデバイス
|
||||
└────────────────┘
|
||||
|
||||
|
||||
└────────────┘ └────────────────────┘╘══════╛└──────────────────────────────────────┘
|
||||
ネットワーク ncurses リレー リモートインターフェース
|
||||
サーバ インターフェース プロトコル
|
||||
....
|
||||
include::includes/relay.ja.adoc[tag=diagram]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
// tag::diagram[]
|
||||
....
|
||||
┌───────────┐ Радна станица
|
||||
┌────────┐ ┌───┤ клијент 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └───────────┘ BSD, macOS, …)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌───────────┐
|
||||
...... ║ WeeChat │ Релеј ║◄───────┤ клијент 2 │ Мобилни уређај
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └───────────┘ (Android, iPhone, …)
|
||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||
└────────┘ │ ┌───────────┐
|
||||
...... └───┤ клијент N │ Остали уређаји
|
||||
└───────────┘
|
||||
|
||||
|
||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||
мрежни сервери ncurses интерфејс релеј удаљени интерфејси
|
||||
....
|
||||
// end::diagram[]
|
||||
@@ -26,23 +26,7 @@
|
||||
|
||||
_клијенти_ су повезани са _релејем_ као што је приказано на следећем дијаграму:
|
||||
|
||||
....
|
||||
┌───────────┐ Радна станица
|
||||
┌────────┐ ┌───┤ клијент 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └───────────┘ BSD, macOS...)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌───────────┐
|
||||
...... ║ WeeChat │ Релеј ║◄───────┤ клијент 2 │ Мобилни уређај
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └───────────┘ (Android, iPhone...)
|
||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||
└────────┘ │ ┌───────────┐
|
||||
...... └───┤ клијент N │ Остали уређаји
|
||||
└───────────┘
|
||||
|
||||
|
||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||
мрежни сервери ncurses интерфејс релеј удаљени интерфејси
|
||||
протокол
|
||||
....
|
||||
include::includes/relay.sr.adoc[tag=diagram]
|
||||
|
||||
[NOTE]
|
||||
Сви клијенти овде су клијенти који користе _weechat_ протокол у _релеј_ додатку. +
|
||||
|
||||
Reference in New Issue
Block a user