diff --git a/support/documentation/content/en/contributing/document/_index.md b/support/documentation/content/en/contributing/document/_index.md index 1bc429f8..9c75e386 100644 --- a/support/documentation/content/en/contributing/document/_index.md +++ b/support/documentation/content/en/contributing/document/_index.md @@ -93,11 +93,17 @@ To facilitate translators work, avoid making too long paragraphs. For now, it is not possible to use Markdown tables: the translation tools will break them. {{% notice warning %}} -There may be links to documentation elsewhere on the web. +There may be links to this documentation elsewhere on the web. Try not to change the urls of the documentation pages. Or at the very least, put links to the new location on the previous url. {{% /notice %}} +When a new feature is released, you can use the `livechat_version_notice` short code to display an infobox with the version with which the features is available. +This short code takes the version number as parameter. +Here is an example: + +{{% livechat_version_notice 12.0.0 %}} + ### What if I can't use hugo and/or po4a? Just edit english markdown files, and specify that you can't build translations when you make your Pull Request. diff --git a/support/documentation/content/en/documentation/user/streamers/bot/no_duplicate.md b/support/documentation/content/en/documentation/user/streamers/bot/no_duplicate.md new file mode 100644 index 00000000..d075cb6b --- /dev/null +++ b/support/documentation/content/en/documentation/user/streamers/bot/no_duplicate.md @@ -0,0 +1,28 @@ +--- +title: "No duplicate message" +description: "The bot can automatically moderate duplicate messages." +weight: 12 +chapter: false +--- + +## {{% livechat_label livechat_configuration_channel_no_duplicate_label %}} + +{{% livechat_version_notice 12.0.0 %}} + +### Configuration + +{{% livechat_label livechat_configuration_channel_no_duplicate_desc %}} + +![Screenshot of the channel options page, with several fields to configure the "No duplicate message" option.](/peertube-plugin-livechat/images/bot_no_duplicate.png?classes=shadow,border&height=400px "No duplicate message configuration") + +#### {{% livechat_label livechat_configuration_channel_no_duplicate_delay_label %}} + +{{% livechat_label livechat_configuration_channel_no_duplicate_delay_desc %}} + +#### {{% livechat_label livechat_configuration_channel_retractation_reason_label %}} + +{{% livechat_label livechat_configuration_channel_retractation_reason_desc %}} + +#### {{% livechat_label livechat_configuration_applytomoderators_label %}} + +{{% livechat_label livechat_configuration_applytomoderators_desc %}} diff --git a/support/documentation/content/en/documentation/user/streamers/bot/special_chars.md b/support/documentation/content/en/documentation/user/streamers/bot/special_chars.md index ef48f9b2..70754be1 100644 --- a/support/documentation/content/en/documentation/user/streamers/bot/special_chars.md +++ b/support/documentation/content/en/documentation/user/streamers/bot/special_chars.md @@ -13,7 +13,7 @@ chapter: false {{% livechat_label livechat_configuration_channel_special_chars_desc %}} -![Screenshot of the channel options page, with several fields to configure the option "Forbid special characters".](/peertube-plugin-livechat/images/forbid_special_chars_configuration.png?classes=shadow,border&height=400px "Forbid special characters configuration") +![Screenshot of the channel options page, with several fields to configure the "Forbid special characters" option.](/peertube-plugin-livechat/images/forbid_special_chars_configuration.png?classes=shadow,border&height=400px "Forbid special characters configuration") #### {{% livechat_label livechat_configuration_channel_special_chars_tolerance_label %}} diff --git a/support/documentation/content/en/images/bot_no_duplicate.png b/support/documentation/content/en/images/bot_no_duplicate.png new file mode 100644 index 00000000..bbc05248 Binary files /dev/null and b/support/documentation/content/en/images/bot_no_duplicate.png differ