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

Fixes part of #20228.
This commit is contained in:
Sahil Batra 2021-11-18 14:58:51 +05:30 committed by Tim Abbott
parent b61d48d94b
commit 08404f2824
8 changed files with 13 additions and 8 deletions

View File

@ -14,7 +14,7 @@ preference settings, including the following:
* Display settings, including: * Display settings, including:
* Default view ([Recent topics](/help/recent-topics) vs. [All messages](/help/reading-strategies#all-messages)) * 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) * [Emoji theme](/help/emoji-and-emoticons#change-your-emoji-set)
* Notification settings, including: * Notification settings, including:
* [What types of messages trigger notifications][default-notifications] * [What types of messages trigger notifications][default-notifications]

View File

@ -12,4 +12,4 @@ transparent background, and trim any bordering whitespace. To upload a logo:
{end_tabs} {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).

View File

@ -7,7 +7,7 @@
[edit your profile information](https://zulip.com/help/edit-your-profile) to tell others [edit your profile information](https://zulip.com/help/edit-your-profile) to tell others
about yourself. about yourself.
- [Review your display settings](/help/review-your-settings#review-your-display-settings). - [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), [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. [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). - [Browse and subscribe to streams](/help/browse-and-subscribe-to-streams).

View File

@ -44,7 +44,7 @@
## Display settings ## Display settings
* [Review your settings](/help/review-your-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 language](/help/change-your-language)
* [Change your timezone](/help/change-your-timezone) * [Change your timezone](/help/change-your-timezone)
* [Use 24-hour time](/help/change-the-time-format) * [Use 24-hour time](/help/change-the-time-format)

View File

@ -477,6 +477,7 @@ def write_instrumentation_reports(full_suite: bool, include_webhooks: bool) -> N
"help/troubleshooting-desktop-notifications", "help/troubleshooting-desktop-notifications",
"for/working-groups-and-communities/", "for/working-groups-and-communities/",
"help/only-allow-admins-to-add-emoji", "help/only-allow-admins-to-add-emoji",
"help/night-mode",
"api/delete-stream", "api/delete-stream",
"casper/(?P<path>.+)", "casper/(?P<path>.+)",
"static/(?P<path>.+)", "static/(?P<path>.+)",

View File

@ -7535,7 +7535,7 @@ paths:
- name: color_scheme - name: color_scheme
in: query in: query
description: | description: |
Controls which [color theme](/help/night-mode) to use. Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic - 1 - Automatic
- 2 - Night mode - 2 - Night mode
@ -9474,7 +9474,7 @@ paths:
color_scheme: color_scheme:
type: integer type: integer
description: | description: |
Controls which [color theme](/help/night-mode) to use. Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic - 1 - Automatic
- 2 - Night mode - 2 - Night mode
@ -11182,7 +11182,7 @@ paths:
color_scheme: color_scheme:
type: integer type: integer
description: | description: |
Controls which [color theme](/help/night-mode) to use. Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic - 1 - Automatic
- 2 - Night mode - 2 - Night mode
@ -12079,7 +12079,7 @@ paths:
- name: color_scheme - name: color_scheme
in: query in: query
description: | description: |
Controls which [color theme](/help/night-mode) to use. Controls which [color theme](/help/dark-theme) to use.
- 1 - Automatic - 1 - Automatic
- 2 - Night mode - 2 - Night mode

View File

@ -867,6 +867,10 @@ urls += [
"help/add-custom-emoji", "help/add-custom-emoji",
RedirectView.as_view(url="/help/custom-emoji", permanent=True), 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/", help_documentation_view),
path("help/<path:article>", help_documentation_view), path("help/<path:article>", help_documentation_view),
path("api/", api_documentation_view), path("api/", api_documentation_view),