From fe0d4db153c42ff740b697734cec7d5ad99becf4 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Wed, 31 Jan 2024 14:18:55 -0800 Subject: [PATCH] help: Improve integrations documentation. - Renames "Bots and integrations" to "Bots overview" everywhere (sidebar, page title, page URL). - Adds a copy of /api/integrations-overview (symbolic link) as the second page in the Bots & integrations section, titled "Integrations overview". Fixes #28758. --- help/{bots-and-integrations.md => bots-overview.md} | 5 +++-- help/include/sidebar_index.md | 3 ++- help/integrations-overview.md | 1 + zerver/lib/url_redirects.py | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) rename help/{bots-and-integrations.md => bots-overview.md} (97%) create mode 120000 help/integrations-overview.md diff --git a/help/bots-and-integrations.md b/help/bots-overview.md similarity index 97% rename from help/bots-and-integrations.md rename to help/bots-overview.md index 2e22b2870a..c63aa46cf6 100644 --- a/help/bots-and-integrations.md +++ b/help/bots-overview.md @@ -1,4 +1,4 @@ -# About bots +# Bots overview Bots allow you to @@ -7,7 +7,7 @@ Bots allow you to * Automate tasks a human user could do. A bot that sends content to or from another product is often called an -**integration**. +[integration](/help/integrations-overview). ## Pre-made bots @@ -83,6 +83,7 @@ is visible and available for anyone to use. ## Related articles +* [Integrations overview](/help/integrations-overview) * [Add a bot or integration](/help/add-a-bot-or-integration) * [Edit a bot](/help/edit-a-bot) * [Request an integration](/help/request-an-integration) diff --git a/help/include/sidebar_index.md b/help/include/sidebar_index.md index a2ece81ab5..ce5ae1825a 100644 --- a/help/include/sidebar_index.md +++ b/help/include/sidebar_index.md @@ -228,7 +228,8 @@ * [Configure multi-language search](/help/configure-multi-language-search) ## Bots & integrations -* [Bots and integrations](/help/bots-and-integrations) +* [Bots overview](/help/bots-overview) +* [Integrations overview](/help/integrations-overview) * [Add a bot or integration](/help/add-a-bot-or-integration) * [Generate integration URL](/help/generate-integration-url) * [Edit a bot](/help/edit-a-bot) diff --git a/help/integrations-overview.md b/help/integrations-overview.md new file mode 120000 index 0000000000..e7756fa5c6 --- /dev/null +++ b/help/integrations-overview.md @@ -0,0 +1 @@ +../api_docs/integrations-overview.md \ No newline at end of file diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.py index 80a97e3554..ee61c26422 100644 --- a/zerver/lib/url_redirects.py +++ b/zerver/lib/url_redirects.py @@ -81,6 +81,7 @@ HELP_DOCUMENTATION_REDIRECTS: List[URLRedirect] = [ URLRedirect("/help/reading-topics", "/help/reading-conversations"), URLRedirect("/help/finding-a-topic-to-read", "/help/finding-a-conversation-to-read"), URLRedirect("/help/view-and-browse-images", "/help/view-images-and-videos"), + URLRedirect("/help/bots-and-integrations", "/help/bots-overview"), ] LANDING_PAGE_REDIRECTS = [