From f64d5e1db6689a2ce1b0f631e2cdca83634b0b43 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Thu, 20 Jul 2023 21:34:20 -0500 Subject: [PATCH] help: Remove "Invite users" relative help link. - Replaces `{relative|gear|invite}` with a Markdown include since we no longer use the `#invite` hash in the web-app. --- help/include/invite-users.md | 4 ++++ help/invite-new-users.md | 4 ++-- zerver/lib/markdown/help_relative_links.py | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 help/include/invite-users.md diff --git a/help/include/invite-users.md b/help/include/invite-users.md new file mode 100644 index 0000000000..fb26832a43 --- /dev/null +++ b/help/include/invite-users.md @@ -0,0 +1,4 @@ +1. Click on the **gear** () icon in the upper + right corner of the web or desktop app. + +1. Select **Invite users**. diff --git a/help/invite-new-users.md b/help/invite-new-users.md index 7a75a4eff0..4416866bcb 100644 --- a/help/invite-new-users.md +++ b/help/invite-new-users.md @@ -29,7 +29,7 @@ permission to invite users. {start_tabs} -{relative|gear|invite} +{!invite-users.md!} 1. Click **Send an email**. @@ -61,7 +61,7 @@ permission to invite users. {start_tabs} -{relative|gear|invite} +{!invite-users.md!} 1. Click **Generate invite link**. diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py index 36cebb72f3..4f72c52485 100644 --- a/zerver/lib/markdown/help_relative_links.py +++ b/zerver/lib/markdown/help_relative_links.py @@ -25,7 +25,6 @@ gear_info = { "stats": ["Usage statistics", "/stats"], "plans": ["Plans and pricing", "/plans/"], "billing": ["Billing", "/billing/"], - "invite": ["Invite users", "/#invite"], "keyboard-shortcuts": ["Keyboard shortcuts (?)", "/#keyboard-shortcuts"], "message-formatting": ["Message formatting", "/#message-formatting"], "search-filters": ["Search filters", "/#search-operators"],