From 4bb910f9fbf476d814cb5d919618ff3a5597e80a Mon Sep 17 00:00:00 2001 From: David Rosa Date: Thu, 20 Jul 2023 20:22:29 -0500 Subject: [PATCH] help: Offer links to "Keyboard shortcuts" for logged in users. - Replaces instructions for opening the keyboard shortcuts reference with `{relative|gear|keyboard-shortcuts}`. --- help/keyboard-shortcuts.md | 8 ++++++-- zerver/lib/markdown/help_relative_links.py | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.md index bced25d7bb..11adb9befd 100644 --- a/help/keyboard-shortcuts.md +++ b/help/keyboard-shortcuts.md @@ -232,8 +232,12 @@ A summary of the keyboard shortcuts above is available in the Zulip app. {start_tabs} -1. Click the **keyboard** () icon at the bottom - of the app, just below the right sidebar. +{relative|gear|keyboard-shortcuts} + +!!! tip "" + + You can also click the **keyboard** () + icon at the bottom of the app, just below the right sidebar. {end_tabs} diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py index 12d2166136..28a8423cd3 100644 --- a/zerver/lib/markdown/help_relative_links.py +++ b/zerver/lib/markdown/help_relative_links.py @@ -26,6 +26,7 @@ gear_info = { "plans": ["Plans and pricing", "/plans/"], "billing": ["Billing", "/billing/"], "invite": ["Invite users", "/#invite"], + "keyboard-shortcuts": ["Keyboard shortcuts (?)", "/#keyboard-shortcuts"], "about-zulip": ["About Zulip", "/#about-zulip"], }