Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Rename night-mode.md to dark-theme.md.

Sahil Batra08404f2824e7
diff --git a/templates/zerver/help/configure-default-new-user-settings.md b/templates/zerver/help/configure-default-new-user-settings.md
index 93583dba09f..e6f2146a8f6 100644
--- a/templates/zerver/help/configure-default-new-user-settings.md
+++ b/templates/zerver/help/configure-default-new-user-settings.md
@@ -14,7 +14,7 @@ preference settings, including the following:
* Display settings, including:
* Default view ([Recent topics](/help/recent-topics) vs. [All messages](/help/reading-strategies#all-messages))
- * [Light mode vs. dark mode](/help/night-mode)
+ * [Light mode vs. dark mode](/help/dark-theme)
* [Emoji theme](/help/emoji-and-emoticons#change-your-emoji-set)
* Notification settings, including:
* [What types of messages trigger notifications][default-notifications]
diff --git a/templates/zerver/help/night-mode.md b/templates/zerver/help/dark-theme.md
similarity index 100%
rename from templates/zerver/help/night-mode.md
rename to templates/zerver/help/dark-theme.md
diff --git a/templates/zerver/help/include/add-a-wide-logo.md b/templates/zerver/help/include/add-a-wide-logo.md
index 9e713db052f..15ab38747ef 100644
--- a/templates/zerver/help/include/add-a-wide-logo.md
+++ b/templates/zerver/help/include/add-a-wide-logo.md
@@ -12,4 +12,4 @@ transparent background, and trim any bordering whitespace. To upload a logo:
{end_tabs}
-Make sure to test the logo in both light mode and [dark mode](/help/night-mode).
+Make sure to test the logo in both light mode and [dark mode](/help/dark-theme).
diff --git a/templates/zerver/help/include/set-up-your-account.md b/templates/zerver/help/include/set-up-your-account.md
index 20da6946556..1093a23f3cb 100644
--- a/templates/zerver/help/include/set-up-your-account.md
+++ b/templates/zerver/help/include/set-up-your-account.md
@@ -7,7 +7,7 @@
[edit your profile information](https://zulip.com/help/edit-your-profile) to tell others
about yourself.
- [Review your display settings](/help/review-your-settings#review-your-display-settings).
- You can [switch between day and night mode](/help/night-mode),
+ You can [switch between day and night mode](/help/dark-theme),
[pick your favorite emoji theme](/help/emoji-and-emoticons#change-your-emoji-set),
[change your language](/help/change-your-language), and make other tweaks to your Zulip experience.
- [Browse and subscribe to streams](/help/browse-and-subscribe-to-streams).
diff --git a/templates/zerver/help/include/sidebar_index.md b/templates/zerver/help/include/sidebar_index.md
index 6d67fe15f1e..cb10345a1a0 100644
--- a/templates/zerver/help/include/sidebar_index.md
+++ b/templates/zerver/help/include/sidebar_index.md
@@ -44,7 +44,7 @@
## Display settings
* [Review your settings](/help/review-your-settings)
-* [Night mode](/help/night-mode)
+* [Night mode](/help/dark-theme)
* [Change your language](/help/change-your-language)
* [Change your timezone](/help/change-your-timezone)
* [Use 24-hour time](/help/change-the-time-format)
diff --git a/zerver/lib/test_helpers.py b/zerver/lib/test_helpers.py
index b2f358b76c0..a5487012078 100644
--- a/zerver/lib/test_helpers.py
+++ b/zerver/lib/test_helpers.py
@@ -477,6 +477,7 @@ def write_instrumentation_reports(full_suite: bool, include_webhooks: bool) -> N
"help/troubleshooting-desktop-notifications",
"for/working-groups-and-communities/",
"help/only-allow-admins-to-add-emoji",
+ "help/night-mode",
"api/delete-stream",
"casper/(?P<path>.+)",
"static/(?P<path>.+)",
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 34a4c7b2bc4..d29294d15f1 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -7535,7 +7535,7 @@ paths:
- name: color_scheme
in: query
description: |
- Controls which [color theme](/help/night-mode) to use.
+ Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic
- 2 - Night mode
@@ -9474,7 +9474,7 @@ paths:
color_scheme:
type: integer
description: |
- Controls which [color theme](/help/night-mode) to use.
+ Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic
- 2 - Night mode
@@ -11182,7 +11182,7 @@ paths:
color_scheme:
type: integer
description: |
- Controls which [color theme](/help/night-mode) to use.
+ Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic
- 2 - Night mode
@@ -12079,7 +12079,7 @@ paths:
- name: color_scheme
in: query
description: |
- Controls which [color theme](/help/night-mode) to use.
+ Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic
- 2 - Night mode
diff --git a/zproject/urls.py b/zproject/urls.py
index 2c4b293946d..5839c235c45 100644
--- a/zproject/urls.py
+++ b/zproject/urls.py
@@ -867,6 +867,10 @@ urls += [
"help/add-custom-emoji",
RedirectView.as_view(url="/help/custom-emoji", permanent=True),
),
+ path(
+ "help/night-mode",
+ RedirectView.as_view(url="/help/dark-theme", permanent=True),
+ ),
path("help/", help_documentation_view),
path("help/<path:article>", help_documentation_view),
path("api/", api_documentation_view),