Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help-docs: Move help center documentation to top level directory.
Lauryn Menarddedea237456b
diff --git a/.prettierignore b/.prettierignoreindex 5891d3d288d..0457e60a3ee 100644--- a/.prettierignore+++ b/.prettierignore@@ -1,4 +1,5 @@/corporate/tests/stripe_fixtures+/help/**/*.md/locale/static/third/templates/**/*.mddiff --git a/docs/documentation/helpcenter.md b/docs/documentation/helpcenter.mdindex 616053e056a..74999318bb2 100644--- a/docs/documentation/helpcenter.md+++ b/docs/documentation/helpcenter.md@@ -26,20 +26,18 @@ from the Internet, and we'd like the documentation to be available in thatenvironment.The source for help center documentation is the Markdown files under-`templates/zerver/help/` in the-[main Zulip server repository](https://github.com/zulip/zulip). The file-`foo.md` is automatically rendered by the `render_markdown_path` function in-`zerver/templatetags/app_filters.py` when the user accesses a URL of the-form `/help/foo`; with special cases for `/help/` going to `index.md` and-`/help/unknown_article` going to `missing.md` (with a 404 response). Images-are usually linked from `static/images/help/`.+`help/` in the [main Zulip server repository](https://github.com/zulip/zulip).+The file `foo.md` is automatically rendered by the `render_markdown_path`+function in `zerver/templatetags/app_filters.py` when the user accesses a URL+of the form `/help/foo`; with special cases for `/help/` going to `index.md`+and `/help/unknown_article` going to `missing.md` (with a 404 response).+Images are usually linked from `static/images/help/`.This means that you can contribute to the Zulip help center documentationby just adding to or editing the collection of Markdown files under-`templates/zerver/help`. If you have the Zulip development environment-set up, you simply need to reload your browser on-`http://localhost:9991/help/foo` to see the latest version of `foo.md`-rendered.+`help/...`. If you have the Zulip development environment set up, you simply+need to reload your browser on `http://localhost:9991/help/foo` to see the+latest version of `foo.md` rendered.This system is designed to make writing and maintaining such documentationhighly efficient. We link to the docs extensively from the landing pages and@@ -69,9 +67,8 @@ the current documentation as a resource and guide as you begin.- Should the feature you're documenting be added or merged into anexisting article?- - If so, you can locate that article in- `templates/zerver/help` and start working on updating it with- content about the new feature.+ - If so, you can locate that article in `help/` and start working+ on updating it with content about the new feature.- If not, choose an existing article to use as a template for yournew article and make a list of which articles (or guides) would be@@ -352,8 +349,7 @@ make use of `fa` as a base class.phrases and steps at the location of the macros. Macros help eliminaterepeated content in our documentation.-The source for macros is the Markdown files under-`templates/zerver/help/include` in the+The source for macros is the Markdown files under `help/include` in the[main Zulip server repository](https://github.com/zulip/zulip).- **Administrator only feature** `{!admin-only.md!}`: Notes that the featurediff --git a/docs/tutorials/new-feature-tutorial.md b/docs/tutorials/new-feature-tutorial.mdindex 0cebbc6c7b5..56ef7aa2c41 100644--- a/docs/tutorials/new-feature-tutorial.md+++ b/docs/tutorials/new-feature-tutorial.md@@ -68,7 +68,7 @@ organization in Zulip). The following files are involved in the process:- `zerver/openapi/zulip.yaml`: OpenAPI definitions for the Zulip REST API.- `templates/zerver/api/changelog.md`: documentation listing all changes to the Zulip Server API.-- `templates/zerver/help/...`: end user facing documentation (Help Center) for the application.+- `help/...`: end user facing documentation (Help Center) for the application.### Adding a field to the database@@ -157,10 +157,10 @@ For detailed information on the kinds of documentation Zulip has, see[Documentation](../documentation/overview.md).**Help center documentation:** You will likely need to at least update,-extend and link to `/help/` articles that are related to your new-feature. [Writing help center articles](../documentation/helpcenter.md)+extend and link to articles in the `help/` directory that are related+to your new feature. [Writing help center articles](../documentation/helpcenter.md)provides more detailed information about writing and editing feature-`/help/` articles.+`help/` directory articles.**API documentation:** A new feature will probably impact the REST APIdocumentation as well, which will mean updating `zerver/openapi/zulip.yaml`@@ -696,10 +696,10 @@ this feature would be to update and/or augment Zulip's existingchanges and additions.At the very least, this will involve modifying (or adding) a Markdown-file documenting the feature to `templates/zerver/help/` in the main-Zulip server repository, where the source for Zulip's end user-documentation is stored. Details about writing, editing and testing-these Markdown files can be found in:+file documenting the feature in the `help/` directory of the main Zulip+server repository, where the source for Zulip's end user documentation+is stored. Details about writing, editing and testing these Markdown+files can be found in:[Writing help center articles](../documentation/helpcenter.md).Also, new features will often impact Zulip's REST API documentation,diff --git a/templates/zerver/help/add-a-bot-or-integration.md b/help/add-a-bot-or-integration.mdsimilarity index 100%rename from templates/zerver/help/add-a-bot-or-integration.mdrename to help/add-a-bot-or-integration.mddiff --git a/templates/zerver/help/add-a-custom-linkifier.md b/help/add-a-custom-linkifier.mdsimilarity index 100%rename from templates/zerver/help/add-a-custom-linkifier.mdrename to help/add-a-custom-linkifier.mddiff --git a/templates/zerver/help/add-or-remove-users-from-a-stream.md b/help/add-or-remove-users-from-a-stream.mdsimilarity index 100%rename from templates/zerver/help/add-or-remove-users-from-a-stream.mdrename to help/add-or-remove-users-from-a-stream.mddiff --git a/templates/zerver/help/all-messages.md b/help/all-messages.mdsimilarity index 100%rename from templates/zerver/help/all-messages.mdrename to help/all-messages.mddiff --git a/templates/zerver/help/allow-image-link-previews.md b/help/allow-image-link-previews.mdsimilarity index 100%rename from templates/zerver/help/allow-image-link-previews.mdrename to help/allow-image-link-previews.mddiff --git a/templates/zerver/help/analytics.md b/help/analytics.mdsimilarity index 100%rename from templates/zerver/help/analytics.mdrename to help/analytics.mddiff --git a/templates/zerver/help/animated-gifs-from-giphy.md b/help/animated-gifs-from-giphy.mdsimilarity index 100%rename from templates/zerver/help/animated-gifs-from-giphy.mdrename to help/animated-gifs-from-giphy.mddiff --git a/templates/zerver/help/archive-a-stream.md b/help/archive-a-stream.mdsimilarity index 100%rename from templates/zerver/help/archive-a-stream.mdrename to help/archive-a-stream.mddiff --git a/templates/zerver/help/bots-and-integrations.md b/help/bots-and-integrations.mdsimilarity index 100%rename from templates/zerver/help/bots-and-integrations.mdrename to help/bots-and-integrations.mddiff --git a/templates/zerver/help/browse-and-subscribe-to-streams.md b/help/browse-and-subscribe-to-streams.mdsimilarity index 100%rename from templates/zerver/help/browse-and-subscribe-to-streams.mdrename to help/browse-and-subscribe-to-streams.mddiff --git a/templates/zerver/help/change-a-users-name.md b/help/change-a-users-name.mdsimilarity index 100%rename from templates/zerver/help/change-a-users-name.mdrename to help/change-a-users-name.mddiff --git a/templates/zerver/help/change-a-users-role.md b/help/change-a-users-role.mdsimilarity index 100%rename from templates/zerver/help/change-a-users-role.mdrename to help/change-a-users-role.mddiff --git a/templates/zerver/help/change-organization-url.md b/help/change-organization-url.mdsimilarity index 100%rename from templates/zerver/help/change-organization-url.mdrename to help/change-organization-url.mddiff --git a/templates/zerver/help/change-the-color-of-a-stream.md b/help/change-the-color-of-a-stream.mdsimilarity index 100%rename from templates/zerver/help/change-the-color-of-a-stream.mdrename to help/change-the-color-of-a-stream.mddiff --git a/templates/zerver/help/change-the-privacy-of-a-stream.md b/help/change-the-privacy-of-a-stream.mdsimilarity index 100%rename from templates/zerver/help/change-the-privacy-of-a-stream.mdrename to help/change-the-privacy-of-a-stream.mddiff --git a/templates/zerver/help/change-the-stream-description.md b/help/change-the-stream-description.mdsimilarity index 100%rename from templates/zerver/help/change-the-stream-description.mdrename to help/change-the-stream-description.mddiff --git a/templates/zerver/help/change-the-time-format.md b/help/change-the-time-format.mdsimilarity index 100%rename from templates/zerver/help/change-the-time-format.mdrename to help/change-the-time-format.mddiff --git a/templates/zerver/help/change-your-email-address.md b/help/change-your-email-address.mdsimilarity index 100%rename from templates/zerver/help/change-your-email-address.mdrename to help/change-your-email-address.mddiff --git a/templates/zerver/help/change-your-language.md b/help/change-your-language.mdsimilarity index 100%rename from templates/zerver/help/change-your-language.mdrename to help/change-your-language.mddiff --git a/templates/zerver/help/change-your-name.md b/help/change-your-name.mdsimilarity index 100%rename from templates/zerver/help/change-your-name.mdrename to help/change-your-name.mddiff --git a/templates/zerver/help/change-your-password.md b/help/change-your-password.mdsimilarity index 100%rename from templates/zerver/help/change-your-password.mdrename to help/change-your-password.mddiff --git a/templates/zerver/help/change-your-profile-picture.md b/help/change-your-profile-picture.mdsimilarity index 100%rename from templates/zerver/help/change-your-profile-picture.mdrename to help/change-your-profile-picture.mddiff --git a/templates/zerver/help/change-your-timezone.md b/help/change-your-timezone.mdsimilarity index 100%rename from templates/zerver/help/change-your-timezone.mdrename to help/change-your-timezone.mddiff --git a/templates/zerver/help/code-blocks.md b/help/code-blocks.mdsimilarity index 100%rename from templates/zerver/help/code-blocks.mdrename to help/code-blocks.mddiff --git a/templates/zerver/help/collapse-a-message.md b/help/collapse-a-message.mdsimilarity index 100%rename from templates/zerver/help/collapse-a-message.mdrename to help/collapse-a-message.mddiff --git a/templates/zerver/help/communities-directory.md b/help/communities-directory.mdsimilarity index 100%rename from templates/zerver/help/communities-directory.mdrename to help/communities-directory.mddiff --git a/templates/zerver/help/configure-authentication-methods.md b/help/configure-authentication-methods.mdsimilarity index 100%rename from templates/zerver/help/configure-authentication-methods.mdrename to help/configure-authentication-methods.mddiff --git a/templates/zerver/help/configure-default-new-user-settings.md b/help/configure-default-new-user-settings.mdsimilarity index 100%rename from templates/zerver/help/configure-default-new-user-settings.mdrename to help/configure-default-new-user-settings.mddiff --git a/templates/zerver/help/configure-default-view.md b/help/configure-default-view.mdsimilarity index 100%rename from templates/zerver/help/configure-default-view.mdrename to help/configure-default-view.mddiff --git a/templates/zerver/help/configure-message-editing-and-deletion.md b/help/configure-message-editing-and-deletion.mdsimilarity index 100%rename from templates/zerver/help/configure-message-editing-and-deletion.mdrename to help/configure-message-editing-and-deletion.mddiff --git a/templates/zerver/help/configure-multi-language-search.md b/help/configure-multi-language-search.mdsimilarity index 100%rename from templates/zerver/help/configure-multi-language-search.mdrename to help/configure-multi-language-search.mddiff --git a/templates/zerver/help/configure-notification-bot.md b/help/configure-notification-bot.mdsimilarity index 100%rename from templates/zerver/help/configure-notification-bot.mdrename to help/configure-notification-bot.mddiff --git a/templates/zerver/help/configure-organization-language.md b/help/configure-organization-language.mdsimilarity index 100%rename from templates/zerver/help/configure-organization-language.mdrename to help/configure-organization-language.mddiff --git a/templates/zerver/help/configure-who-can-create-streams.md b/help/configure-who-can-create-streams.mdsimilarity index 100%rename from templates/zerver/help/configure-who-can-create-streams.mdrename to help/configure-who-can-create-streams.mddiff --git a/templates/zerver/help/configure-who-can-edit-topics.md b/help/configure-who-can-edit-topics.mdsimilarity index 100%rename from templates/zerver/help/configure-who-can-edit-topics.mdrename to help/configure-who-can-edit-topics.mddiff --git a/templates/zerver/help/configure-who-can-invite-to-streams.md b/help/configure-who-can-invite-to-streams.mdsimilarity index 100%rename from templates/zerver/help/configure-who-can-invite-to-streams.mdrename to help/configure-who-can-invite-to-streams.mddiff --git a/templates/zerver/help/connect-through-a-proxy.md b/help/connect-through-a-proxy.mdsimilarity index 100%rename from templates/zerver/help/connect-through-a-proxy.mdrename to help/connect-through-a-proxy.mddiff --git a/templates/zerver/help/contact-support.md b/help/contact-support.mdsimilarity index 100%rename from templates/zerver/help/contact-support.mdrename to help/contact-support.mddiff --git a/templates/zerver/help/create-a-poll.md b/help/create-a-poll.mdsimilarity index 100%rename from templates/zerver/help/create-a-poll.mdrename to help/create-a-poll.mddiff --git a/templates/zerver/help/create-a-stream.md b/help/create-a-stream.mdsimilarity index 100%rename from templates/zerver/help/create-a-stream.mdrename to help/create-a-stream.mddiff --git a/templates/zerver/help/create-streams.md b/help/create-streams.mdsimilarity index 100%rename from templates/zerver/help/create-streams.mdrename to help/create-streams.mddiff --git a/templates/zerver/help/create-user-groups.md b/help/create-user-groups.mdsimilarity index 100%rename from templates/zerver/help/create-user-groups.mdrename to help/create-user-groups.mddiff --git a/templates/zerver/help/create-your-organization-profile.md b/help/create-your-organization-profile.mdsimilarity index 100%rename from templates/zerver/help/create-your-organization-profile.mdrename to help/create-your-organization-profile.mddiff --git a/templates/zerver/help/custom-certificates.md b/help/custom-certificates.mdsimilarity index 100%rename from templates/zerver/help/custom-certificates.mdrename to help/custom-certificates.mddiff --git a/templates/zerver/help/custom-emoji.md b/help/custom-emoji.mdsimilarity index 100%rename from templates/zerver/help/custom-emoji.mdrename to help/custom-emoji.mddiff --git a/templates/zerver/help/custom-profile-fields.md b/help/custom-profile-fields.mdsimilarity index 100%rename from templates/zerver/help/custom-profile-fields.mdrename to help/custom-profile-fields.mddiff --git a/templates/zerver/help/customize-organization-settings.md b/help/customize-organization-settings.mdsimilarity index 100%rename from templates/zerver/help/customize-organization-settings.mdrename to help/customize-organization-settings.mddiff --git a/templates/zerver/help/customize-settings-for-new-users.md b/help/customize-settings-for-new-users.mdsimilarity index 100%rename from templates/zerver/help/customize-settings-for-new-users.mdrename to help/customize-settings-for-new-users.mddiff --git a/templates/zerver/help/dark-theme.md b/help/dark-theme.mdsimilarity index 100%rename from templates/zerver/help/dark-theme.mdrename to help/dark-theme.mddiff --git a/templates/zerver/help/deactivate-or-reactivate-a-bot.md b/help/deactivate-or-reactivate-a-bot.mdsimilarity index 100%rename from templates/zerver/help/deactivate-or-reactivate-a-bot.mdrename to help/deactivate-or-reactivate-a-bot.mddiff --git a/templates/zerver/help/deactivate-or-reactivate-a-user.md b/help/deactivate-or-reactivate-a-user.mdsimilarity index 100%rename from templates/zerver/help/deactivate-or-reactivate-a-user.mdrename to help/deactivate-or-reactivate-a-user.mddiff --git a/templates/zerver/help/deactivate-your-account.md b/help/deactivate-your-account.mdsimilarity index 100%rename from templates/zerver/help/deactivate-your-account.mdrename to help/deactivate-your-account.mddiff --git a/templates/zerver/help/deactivate-your-organization.md b/help/deactivate-your-organization.mdsimilarity index 100%rename from templates/zerver/help/deactivate-your-organization.mdrename to help/deactivate-your-organization.mddiff --git a/templates/zerver/help/delete-a-topic.md b/help/delete-a-topic.mdsimilarity index 100%rename from templates/zerver/help/delete-a-topic.mdrename to help/delete-a-topic.mddiff --git a/templates/zerver/help/demo-organizations.md b/help/demo-organizations.mdsimilarity index 100%rename from templates/zerver/help/demo-organizations.mdrename to help/demo-organizations.mddiff --git a/templates/zerver/help/desktop-app-install-guide.md b/help/desktop-app-install-guide.mdsimilarity index 100%rename from templates/zerver/help/desktop-app-install-guide.mdrename to help/desktop-app-install-guide.mddiff --git a/templates/zerver/help/desktop-notifications.md b/help/desktop-notifications.mdsimilarity index 100%rename from templates/zerver/help/desktop-notifications.mdrename to help/desktop-notifications.mddiff --git a/templates/zerver/help/digest-emails.md b/help/digest-emails.mdsimilarity index 100%rename from templates/zerver/help/digest-emails.mdrename to help/digest-emails.mddiff --git a/templates/zerver/help/disable-message-edit-history.md b/help/disable-message-edit-history.mdsimilarity index 100%rename from templates/zerver/help/disable-message-edit-history.mdrename to help/disable-message-edit-history.mddiff --git a/templates/zerver/help/disable-welcome-emails.md b/help/disable-welcome-emails.mdsimilarity index 100%rename from templates/zerver/help/disable-welcome-emails.mdrename to help/disable-welcome-emails.mddiff --git a/templates/zerver/help/edit-a-bot.md b/help/edit-a-bot.mdsimilarity index 100%rename from templates/zerver/help/edit-a-bot.mdrename to help/edit-a-bot.mddiff --git a/templates/zerver/help/edit-or-delete-a-message.md b/help/edit-or-delete-a-message.mdsimilarity index 100%rename from templates/zerver/help/edit-or-delete-a-message.mdrename to help/edit-or-delete-a-message.mddiff --git a/templates/zerver/help/edit-your-profile.md b/help/edit-your-profile.mdsimilarity index 100%rename from templates/zerver/help/edit-your-profile.mdrename to help/edit-your-profile.mddiff --git a/templates/zerver/help/email-notifications.md b/help/email-notifications.mdsimilarity index 100%rename from templates/zerver/help/email-notifications.mdrename to help/email-notifications.mddiff --git a/templates/zerver/help/emoji-and-emoticons.md b/help/emoji-and-emoticons.mdsimilarity index 100%rename from templates/zerver/help/emoji-and-emoticons.mdrename to help/emoji-and-emoticons.mddiff --git a/templates/zerver/help/emoji-reactions.md b/help/emoji-reactions.mdsimilarity index 100%rename from templates/zerver/help/emoji-reactions.mdrename to help/emoji-reactions.mddiff --git a/templates/zerver/help/enable-emoticon-translations.md b/help/enable-emoticon-translations.mdsimilarity index 100%rename from templates/zerver/help/enable-emoticon-translations.mdrename to help/enable-emoticon-translations.mddiff --git a/templates/zerver/help/enable-full-width-display.md b/help/enable-full-width-display.mdsimilarity index 100%rename from templates/zerver/help/enable-full-width-display.mdrename to help/enable-full-width-display.mddiff --git a/templates/zerver/help/export-your-organization.md b/help/export-your-organization.mdsimilarity index 100%rename from templates/zerver/help/export-your-organization.mdrename to help/export-your-organization.mddiff --git a/templates/zerver/help/finding-a-topic-to-read.md b/help/finding-a-topic-to-read.mdsimilarity index 100%rename from templates/zerver/help/finding-a-topic-to-read.mdrename to help/finding-a-topic-to-read.mddiff --git a/templates/zerver/help/format-your-message-using-markdown.md b/help/format-your-message-using-markdown.mdsimilarity index 100%rename from templates/zerver/help/format-your-message-using-markdown.mdrename to help/format-your-message-using-markdown.mddiff --git a/templates/zerver/help/gdpr-compliance.md b/help/gdpr-compliance.mdsimilarity index 100%rename from templates/zerver/help/gdpr-compliance.mdrename to help/gdpr-compliance.mddiff --git a/templates/zerver/help/getting-started-with-zulip.md b/help/getting-started-with-zulip.mdsimilarity index 100%rename from templates/zerver/help/getting-started-with-zulip.mdrename to help/getting-started-with-zulip.mddiff --git a/templates/zerver/help/getting-your-organization-started-with-zulip.md b/help/getting-your-organization-started-with-zulip.mdsimilarity index 100%rename from templates/zerver/help/getting-your-organization-started-with-zulip.mdrename to help/getting-your-organization-started-with-zulip.mddiff --git a/templates/zerver/help/hide-message-content-in-emails.md b/help/hide-message-content-in-emails.mdsimilarity index 100%rename from templates/zerver/help/hide-message-content-in-emails.mdrename to help/hide-message-content-in-emails.mddiff --git a/templates/zerver/help/high-contrast-mode.md b/help/high-contrast-mode.mdsimilarity index 100%rename from templates/zerver/help/high-contrast-mode.mdrename to help/high-contrast-mode.mddiff --git a/templates/zerver/help/import-from-gitter.md b/help/import-from-gitter.mdsimilarity index 100%rename from templates/zerver/help/import-from-gitter.mdrename to help/import-from-gitter.mddiff --git a/templates/zerver/help/import-from-mattermost.md b/help/import-from-mattermost.mdsimilarity index 100%rename from templates/zerver/help/import-from-mattermost.mdrename to help/import-from-mattermost.mddiff --git a/templates/zerver/help/import-from-rocketchat.md b/help/import-from-rocketchat.mdsimilarity index 100%rename from templates/zerver/help/import-from-rocketchat.mdrename to help/import-from-rocketchat.mddiff --git a/templates/zerver/help/import-from-slack.md b/help/import-from-slack.mdsimilarity index 100%rename from templates/zerver/help/import-from-slack.mdrename to help/import-from-slack.mddiff --git a/templates/zerver/help/import-your-settings.md b/help/import-your-settings.mdsimilarity index 100%rename from templates/zerver/help/import-your-settings.mdrename to help/import-your-settings.mddiff --git a/templates/zerver/help/include/add-a-wide-logo.md b/help/include/add-a-wide-logo.mdsimilarity index 100%rename from templates/zerver/help/include/add-a-wide-logo.mdrename to help/include/add-a-wide-logo.mddiff --git a/templates/zerver/help/include/admin-only.md b/help/include/admin-only.mdsimilarity index 100%rename from templates/zerver/help/include/admin-only.mdrename to help/include/admin-only.mddiff --git a/templates/zerver/help/include/advantages-of-self-hosting-zulip.md b/help/include/advantages-of-self-hosting-zulip.mdsimilarity index 100%rename from templates/zerver/help/include/advantages-of-self-hosting-zulip.mdrename to help/include/advantages-of-self-hosting-zulip.mddiff --git a/templates/zerver/help/include/advantages-of-zulip-cloud.md b/help/include/advantages-of-zulip-cloud.mdsimilarity index 100%rename from templates/zerver/help/include/advantages-of-zulip-cloud.mdrename to help/include/advantages-of-zulip-cloud.mddiff --git a/templates/zerver/help/include/all-messages.md b/help/include/all-messages.mdsimilarity index 100%rename from templates/zerver/help/include/all-messages.mdrename to help/include/all-messages.mddiff --git a/templates/zerver/help/include/automated-notice-stream-event.md b/help/include/automated-notice-stream-event.mdsimilarity index 100%rename from templates/zerver/help/include/automated-notice-stream-event.mdrename to help/include/automated-notice-stream-event.mddiff --git a/templates/zerver/help/include/automated-pm-stream-subscription.md b/help/include/automated-pm-stream-subscription.mdsimilarity index 100%rename from templates/zerver/help/include/automated-pm-stream-subscription.mdrename to help/include/automated-pm-stream-subscription.mddiff --git a/templates/zerver/help/include/change-password-via-email-confirmation.md b/help/include/change-password-via-email-confirmation.mdsimilarity index 100%rename from templates/zerver/help/include/change-password-via-email-confirmation.mdrename to help/include/change-password-via-email-confirmation.mddiff --git a/templates/zerver/help/include/cloud-plus-only.md b/help/include/cloud-plus-only.mdsimilarity index 100%rename from templates/zerver/help/include/cloud-plus-only.mdrename to help/include/cloud-plus-only.mddiff --git a/templates/zerver/help/include/cloud-standard-only.md b/help/include/cloud-standard-only.mdsimilarity index 100%rename from templates/zerver/help/include/cloud-standard-only.mdrename to help/include/cloud-standard-only.mddiff --git a/templates/zerver/help/include/communities-directory-instructions.md b/help/include/communities-directory-instructions.mdsimilarity index 100%rename from templates/zerver/help/include/communities-directory-instructions.mdrename to help/include/communities-directory-instructions.mddiff --git a/templates/zerver/help/include/communities-directory-intro.md b/help/include/communities-directory-intro.mdsimilarity index 100%rename from templates/zerver/help/include/communities-directory-intro.mdrename to help/include/communities-directory-intro.mddiff --git a/templates/zerver/help/include/compose-and-send-message.md b/help/include/compose-and-send-message.mdsimilarity index 100%rename from templates/zerver/help/include/compose-and-send-message.mdrename to help/include/compose-and-send-message.mddiff --git a/templates/zerver/help/include/create-streams-intro.md b/help/include/create-streams-intro.mdsimilarity index 100%rename from templates/zerver/help/include/create-streams-intro.mdrename to help/include/create-streams-intro.mddiff --git a/templates/zerver/help/include/customize-organization-settings.md b/help/include/customize-organization-settings.mdsimilarity index 100%rename from templates/zerver/help/include/customize-organization-settings.mdrename to help/include/customize-organization-settings.mddiff --git a/templates/zerver/help/include/customize-settings-for-new-users.md b/help/include/customize-settings-for-new-users.mdsimilarity index 100%rename from templates/zerver/help/include/customize-settings-for-new-users.mdrename to help/include/customize-settings-for-new-users.mddiff --git a/templates/zerver/help/include/desktop-sidebar-settings-menu.md b/help/include/desktop-sidebar-settings-menu.mdsimilarity index 100%rename from templates/zerver/help/include/desktop-sidebar-settings-menu.mdrename to help/include/desktop-sidebar-settings-menu.mddiff --git a/templates/zerver/help/include/desktop-toggle-sidebar-tip.md b/help/include/desktop-toggle-sidebar-tip.mdsimilarity index 100%rename from templates/zerver/help/include/desktop-toggle-sidebar-tip.mdrename to help/include/desktop-toggle-sidebar-tip.mddiff --git a/templates/zerver/help/include/edit-organization-profile.md b/help/include/edit-organization-profile.mdsimilarity index 100%rename from templates/zerver/help/include/edit-organization-profile.mdrename to help/include/edit-organization-profile.mddiff --git a/templates/zerver/help/include/how-to-create-a-user-group.md b/help/include/how-to-create-a-user-group.mdsimilarity index 100%rename from templates/zerver/help/include/how-to-create-a-user-group.mdrename to help/include/how-to-create-a-user-group.mddiff --git a/templates/zerver/help/include/how-to-invite-users-to-join.md b/help/include/how-to-invite-users-to-join.mdsimilarity index 100%rename from templates/zerver/help/include/how-to-invite-users-to-join.mdrename to help/include/how-to-invite-users-to-join.mddiff --git a/templates/zerver/help/include/how-to-start-a-new-topic.md b/help/include/how-to-start-a-new-topic.mdsimilarity index 100%rename from templates/zerver/help/include/how-to-start-a-new-topic.mdrename to help/include/how-to-start-a-new-topic.mddiff --git a/templates/zerver/help/include/import-get-your-organization-started.md b/help/include/import-get-your-organization-started.mdsimilarity index 100%rename from templates/zerver/help/include/import-get-your-organization-started.mdrename to help/include/import-get-your-organization-started.mddiff --git a/templates/zerver/help/include/import-how-users-will-log-in.md b/help/include/import-how-users-will-log-in.mdsimilarity index 100%rename from templates/zerver/help/include/import-how-users-will-log-in.mdrename to help/include/import-how-users-will-log-in.mddiff --git a/templates/zerver/help/include/import-into-a-self-hosted-zulip-server.md b/help/include/import-into-a-self-hosted-zulip-server.mdsimilarity index 100%rename from templates/zerver/help/include/import-into-a-self-hosted-zulip-server.mdrename to help/include/import-into-a-self-hosted-zulip-server.mddiff --git a/templates/zerver/help/include/import-into-a-zulip-cloud-organization.md b/help/include/import-into-a-zulip-cloud-organization.mdsimilarity index 100%rename from templates/zerver/help/include/import-into-a-zulip-cloud-organization.mdrename to help/include/import-into-a-zulip-cloud-organization.mddiff --git a/templates/zerver/help/include/import-login.md b/help/include/import-login.mdsimilarity index 100%rename from templates/zerver/help/include/import-login.mdrename to help/include/import-login.mddiff --git a/templates/zerver/help/include/import-self-hosted-server-tips.md b/help/include/import-self-hosted-server-tips.mdsimilarity index 100%rename from templates/zerver/help/include/import-self-hosted-server-tips.mdrename to help/include/import-self-hosted-server-tips.mddiff --git a/templates/zerver/help/include/import-workspace-to-zulip.md b/help/include/import-workspace-to-zulip.mdsimilarity index 100%rename from templates/zerver/help/include/import-workspace-to-zulip.mdrename to help/include/import-workspace-to-zulip.mddiff --git a/templates/zerver/help/include/import-your-data-into-zulip.md b/help/include/import-your-data-into-zulip.mdsimilarity index 100%rename from templates/zerver/help/include/import-your-data-into-zulip.mdrename to help/include/import-your-data-into-zulip.mddiff --git a/templates/zerver/help/include/import-zulip-cloud-organization-warning.md b/help/include/import-zulip-cloud-organization-warning.mdsimilarity index 100%rename from templates/zerver/help/include/import-zulip-cloud-organization-warning.mdrename to help/include/import-zulip-cloud-organization-warning.mddiff --git a/templates/zerver/help/include/left-sidebar-topics.md b/help/include/left-sidebar-topics.mdsimilarity index 100%rename from templates/zerver/help/include/left-sidebar-topics.mdrename to help/include/left-sidebar-topics.mddiff --git a/templates/zerver/help/include/manage-this-user.md b/help/include/manage-this-user.mdsimilarity index 100%rename from templates/zerver/help/include/manage-this-user.mdrename to help/include/manage-this-user.mddiff --git a/templates/zerver/help/include/message-actions-menu.md b/help/include/message-actions-menu.mdsimilarity index 100%rename from templates/zerver/help/include/message-actions-menu.mdrename to help/include/message-actions-menu.mddiff --git a/templates/zerver/help/include/message-actions.md b/help/include/message-actions.mdsimilarity index 100%rename from templates/zerver/help/include/message-actions.mdrename to help/include/message-actions.mddiff --git a/templates/zerver/help/include/message-long-press-menu.md b/help/include/message-long-press-menu.mdsimilarity index 100%rename from templates/zerver/help/include/message-long-press-menu.mdrename to help/include/message-long-press-menu.mddiff --git a/templates/zerver/help/include/messaging-tips.md b/help/include/messaging-tips.mdsimilarity index 100%rename from templates/zerver/help/include/messaging-tips.mdrename to help/include/messaging-tips.mddiff --git a/templates/zerver/help/include/migrating-from-other-chat-tools.md b/help/include/migrating-from-other-chat-tools.mdsimilarity index 100%rename from templates/zerver/help/include/migrating-from-other-chat-tools.mdrename to help/include/migrating-from-other-chat-tools.mddiff --git a/templates/zerver/help/include/mobile-profile-menu.md b/help/include/mobile-profile-menu.mdsimilarity index 100%rename from templates/zerver/help/include/mobile-profile-menu.mdrename to help/include/mobile-profile-menu.mddiff --git a/templates/zerver/help/include/mobile-stream-settings-menu-tip.md b/help/include/mobile-stream-settings-menu-tip.mdsimilarity index 100%rename from templates/zerver/help/include/mobile-stream-settings-menu-tip.mdrename to help/include/mobile-stream-settings-menu-tip.mddiff --git a/templates/zerver/help/include/organization-profile-intro.md b/help/include/organization-profile-intro.mdsimilarity index 100%rename from templates/zerver/help/include/organization-profile-intro.mdrename to help/include/organization-profile-intro.mddiff --git a/templates/zerver/help/include/owner-only.md b/help/include/owner-only.mdsimilarity index 100%rename from templates/zerver/help/include/owner-only.mdrename to help/include/owner-only.mddiff --git a/templates/zerver/help/include/reading-pms.md b/help/include/reading-pms.mdsimilarity index 100%rename from templates/zerver/help/include/reading-pms.mdrename to help/include/reading-pms.mddiff --git a/templates/zerver/help/include/reading-topics.md b/help/include/reading-topics.mdsimilarity index 100%rename from templates/zerver/help/include/reading-topics.mdrename to help/include/reading-topics.mddiff --git a/templates/zerver/help/include/recent-conversations.md b/help/include/recent-conversations.mdsimilarity index 100%rename from templates/zerver/help/include/recent-conversations.mdrename to help/include/recent-conversations.mddiff --git a/templates/zerver/help/include/replying-to-messages.md b/help/include/replying-to-messages.mdsimilarity index 100%rename from templates/zerver/help/include/replying-to-messages.mdrename to help/include/replying-to-messages.mddiff --git a/templates/zerver/help/include/review-organization-settings-instructions.md b/help/include/review-organization-settings-instructions.mdsimilarity index 100%rename from templates/zerver/help/include/review-organization-settings-instructions.mdrename to help/include/review-organization-settings-instructions.mddiff --git a/templates/zerver/help/include/right-sidebar-user-card.md b/help/include/right-sidebar-user-card.mdsimilarity index 100%rename from templates/zerver/help/include/right-sidebar-user-card.mdrename to help/include/right-sidebar-user-card.mddiff --git a/templates/zerver/help/include/right-sidebar-view-profile.md b/help/include/right-sidebar-view-profile.mdsimilarity index 100%rename from templates/zerver/help/include/right-sidebar-view-profile.mdrename to help/include/right-sidebar-view-profile.mddiff --git a/templates/zerver/help/include/saml-login-button.md b/help/include/saml-login-button.mdsimilarity index 100%rename from templates/zerver/help/include/saml-login-button.mdrename to help/include/saml-login-button.mddiff --git a/templates/zerver/help/include/save-changes.md b/help/include/save-changes.mdsimilarity index 100%rename from templates/zerver/help/include/save-changes.mdrename to help/include/save-changes.mddiff --git a/templates/zerver/help/include/select-stream-view-general.md b/help/include/select-stream-view-general.mdsimilarity index 100%rename from templates/zerver/help/include/select-stream-view-general.mdrename to help/include/select-stream-view-general.mddiff --git a/templates/zerver/help/include/select-stream-view-personal.md b/help/include/select-stream-view-personal.mdsimilarity index 100%rename from templates/zerver/help/include/select-stream-view-personal.mdrename to help/include/select-stream-view-personal.mddiff --git a/templates/zerver/help/include/select-stream-view-subscribers.md b/help/include/select-stream-view-subscribers.mdsimilarity index 100%rename from templates/zerver/help/include/select-stream-view-subscribers.mdrename to help/include/select-stream-view-subscribers.mddiff --git a/templates/zerver/help/include/self-user-card.md b/help/include/self-user-card.mdsimilarity index 100%rename from templates/zerver/help/include/self-user-card.mdrename to help/include/self-user-card.mddiff --git a/templates/zerver/help/include/send-group-pm.md b/help/include/send-group-pm.mdsimilarity index 100%rename from templates/zerver/help/include/send-group-pm.mdrename to help/include/send-group-pm.mddiff --git a/templates/zerver/help/include/send-us-info.md b/help/include/send-us-info.mdsimilarity index 100%rename from templates/zerver/help/include/send-us-info.mdrename to help/include/send-us-info.mddiff --git a/templates/zerver/help/include/set-up-integrations.md b/help/include/set-up-integrations.mdsimilarity index 100%rename from templates/zerver/help/include/set-up-integrations.mdrename to help/include/set-up-integrations.mddiff --git a/templates/zerver/help/include/set-up-your-account.md b/help/include/set-up-your-account.mdsimilarity index 100%rename from templates/zerver/help/include/set-up-your-account.mdrename to help/include/set-up-your-account.mddiff --git a/templates/zerver/help/include/sidebar_index.md b/help/include/sidebar_index.mdsimilarity index 100%rename from templates/zerver/help/include/sidebar_index.mdrename to help/include/sidebar_index.mddiff --git a/templates/zerver/help/include/start-composing.md b/help/include/start-composing.mdsimilarity index 100%rename from templates/zerver/help/include/start-composing.mdrename to help/include/start-composing.mddiff --git a/templates/zerver/help/include/starting-a-new-private-thread.md b/help/include/starting-a-new-private-thread.mdsimilarity index 100%rename from templates/zerver/help/include/starting-a-new-private-thread.mdrename to help/include/starting-a-new-private-thread.mddiff --git a/templates/zerver/help/include/stream-actions.md b/help/include/stream-actions.mdsimilarity index 100%rename from templates/zerver/help/include/stream-actions.mdrename to help/include/stream-actions.mddiff --git a/templates/zerver/help/include/stream-long-press-menu-tip.md b/help/include/stream-long-press-menu-tip.mdsimilarity index 100%rename from templates/zerver/help/include/stream-long-press-menu-tip.mdrename to help/include/stream-long-press-menu-tip.mddiff --git a/templates/zerver/help/include/stream-long-press-menu.md b/help/include/stream-long-press-menu.mdsimilarity index 100%rename from templates/zerver/help/include/stream-long-press-menu.mdrename to help/include/stream-long-press-menu.mddiff --git a/templates/zerver/help/include/streams-and-topics.md b/help/include/streams-and-topics.mdsimilarity index 100%rename from templates/zerver/help/include/streams-and-topics.mdrename to help/include/streams-and-topics.mddiff --git a/templates/zerver/help/include/switching-between-organizations.md b/help/include/switching-between-organizations.mdsimilarity index 100%rename from templates/zerver/help/include/switching-between-organizations.mdrename to help/include/switching-between-organizations.mddiff --git a/templates/zerver/help/include/tips-for-creating-streams.md b/help/include/tips-for-creating-streams.mdsimilarity index 100%rename from templates/zerver/help/include/tips-for-creating-streams.mdrename to help/include/tips-for-creating-streams.mddiff --git a/templates/zerver/help/include/topic-actions.md b/help/include/topic-actions.mdsimilarity index 100%rename from templates/zerver/help/include/topic-actions.mdrename to help/include/topic-actions.mddiff --git a/templates/zerver/help/include/topic-long-press-menu-tip.md b/help/include/topic-long-press-menu-tip.mdsimilarity index 100%rename from templates/zerver/help/include/topic-long-press-menu-tip.mdrename to help/include/topic-long-press-menu-tip.mddiff --git a/templates/zerver/help/include/topic-long-press-menu.md b/help/include/topic-long-press-menu.mdsimilarity index 100%rename from templates/zerver/help/include/topic-long-press-menu.mdrename to help/include/topic-long-press-menu.mddiff --git a/templates/zerver/help/include/translation-project-info.md b/help/include/translation-project-info.mdsimilarity index 100%rename from templates/zerver/help/include/translation-project-info.mdrename to help/include/translation-project-info.mddiff --git a/templates/zerver/help/include/trying-out-zulip.md b/help/include/trying-out-zulip.mdsimilarity index 100%rename from templates/zerver/help/include/trying-out-zulip.mdrename to help/include/trying-out-zulip.mddiff --git a/templates/zerver/help/include/upgrade-to-plus-if-needed.md b/help/include/upgrade-to-plus-if-needed.mdsimilarity index 100%rename from templates/zerver/help/include/upgrade-to-plus-if-needed.mdrename to help/include/upgrade-to-plus-if-needed.mddiff --git a/templates/zerver/help/include/user-card-three-dot-menu.md b/help/include/user-card-three-dot-menu.mdsimilarity index 100%rename from templates/zerver/help/include/user-card-three-dot-menu.mdrename to help/include/user-card-three-dot-menu.mddiff --git a/templates/zerver/help/include/web-public-streams-intro.md b/help/include/web-public-streams-intro.mdsimilarity index 100%rename from templates/zerver/help/include/web-public-streams-intro.mdrename to help/include/web-public-streams-intro.mddiff --git a/templates/zerver/help/include/when-to-start-a-new-topic.md b/help/include/when-to-start-a-new-topic.mdsimilarity index 100%rename from templates/zerver/help/include/when-to-start-a-new-topic.mdrename to help/include/when-to-start-a-new-topic.mddiff --git a/templates/zerver/help/index.md b/help/index.mdsimilarity index 100%rename from templates/zerver/help/index.mdrename to help/index.mddiff --git a/templates/zerver/help/invite-new-users.md b/help/invite-new-users.mdsimilarity index 100%rename from templates/zerver/help/invite-new-users.mdrename to help/invite-new-users.mddiff --git a/templates/zerver/help/invite-users-to-join.md b/help/invite-users-to-join.mdsimilarity index 100%rename from templates/zerver/help/invite-users-to-join.mdrename to help/invite-users-to-join.mddiff --git a/templates/zerver/help/join-a-zulip-organization.md b/help/join-a-zulip-organization.mdsimilarity index 100%rename from templates/zerver/help/join-a-zulip-organization.mdrename to help/join-a-zulip-organization.mddiff --git a/templates/zerver/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.mdsimilarity index 100%rename from templates/zerver/help/keyboard-shortcuts.mdrename to help/keyboard-shortcuts.mddiff --git a/templates/zerver/help/link-to-a-message-or-conversation.md b/help/link-to-a-message-or-conversation.mdsimilarity index 100%rename from templates/zerver/help/link-to-a-message-or-conversation.mdrename to help/link-to-a-message-or-conversation.mddiff --git a/templates/zerver/help/linking-to-zulip.md b/help/linking-to-zulip.mdsimilarity index 100%rename from templates/zerver/help/linking-to-zulip.mdrename to help/linking-to-zulip.mddiff --git a/templates/zerver/help/logging-in.md b/help/logging-in.mdsimilarity index 100%rename from templates/zerver/help/logging-in.mdrename to help/logging-in.mddiff --git a/templates/zerver/help/logging-out.md b/help/logging-out.mdsimilarity index 100%rename from templates/zerver/help/logging-out.mdrename to help/logging-out.mddiff --git a/templates/zerver/help/manage-inactive-streams.md b/help/manage-inactive-streams.mdsimilarity index 100%rename from templates/zerver/help/manage-inactive-streams.mdrename to help/manage-inactive-streams.mddiff --git a/templates/zerver/help/manage-user-stream-subscriptions.md b/help/manage-user-stream-subscriptions.mdsimilarity index 100%rename from templates/zerver/help/manage-user-stream-subscriptions.mdrename to help/manage-user-stream-subscriptions.mddiff --git a/templates/zerver/help/manage-your-uploaded-files.md b/help/manage-your-uploaded-files.mdsimilarity index 100%rename from templates/zerver/help/manage-your-uploaded-files.mdrename to help/manage-your-uploaded-files.mddiff --git a/templates/zerver/help/marking-messages-as-read.md b/help/marking-messages-as-read.mdsimilarity index 100%rename from templates/zerver/help/marking-messages-as-read.mdrename to help/marking-messages-as-read.mddiff --git a/templates/zerver/help/marking-messages-as-unread.md b/help/marking-messages-as-unread.mdsimilarity index 100%rename from templates/zerver/help/marking-messages-as-unread.mdrename to help/marking-messages-as-unread.mddiff --git a/templates/zerver/help/mastering-the-compose-box.md b/help/mastering-the-compose-box.mdsimilarity index 100%rename from templates/zerver/help/mastering-the-compose-box.mdrename to help/mastering-the-compose-box.mddiff --git a/templates/zerver/help/mention-a-user-or-group.md b/help/mention-a-user-or-group.mdsimilarity index 100%rename from templates/zerver/help/mention-a-user-or-group.mdrename to help/mention-a-user-or-group.mddiff --git a/templates/zerver/help/message-a-stream-by-email.md b/help/message-a-stream-by-email.mdsimilarity index 100%rename from templates/zerver/help/message-a-stream-by-email.mdrename to help/message-a-stream-by-email.mddiff --git a/templates/zerver/help/message-actions.md b/help/message-actions.mdsimilarity index 100%rename from templates/zerver/help/message-actions.mdrename to help/message-actions.mddiff --git a/templates/zerver/help/message-retention-policy.md b/help/message-retention-policy.mdsimilarity index 100%rename from templates/zerver/help/message-retention-policy.mdrename to help/message-retention-policy.mddiff --git a/templates/zerver/help/messaging-tips.md b/help/messaging-tips.mdsimilarity index 100%rename from templates/zerver/help/messaging-tips.mdrename to help/messaging-tips.mddiff --git a/templates/zerver/help/migrating-from-other-chat-tools.md b/help/migrating-from-other-chat-tools.mdsimilarity index 100%rename from templates/zerver/help/migrating-from-other-chat-tools.mdrename to help/migrating-from-other-chat-tools.mddiff --git a/templates/zerver/help/missing.md b/help/missing.mdsimilarity index 100%rename from templates/zerver/help/missing.mdrename to help/missing.mddiff --git a/templates/zerver/help/mobile-notifications.md b/help/mobile-notifications.mdsimilarity index 100%rename from templates/zerver/help/mobile-notifications.mdrename to help/mobile-notifications.mddiff --git a/templates/zerver/help/moderating-open-organizations.md b/help/moderating-open-organizations.mdsimilarity index 100%rename from templates/zerver/help/moderating-open-organizations.mdrename to help/moderating-open-organizations.mddiff --git a/templates/zerver/help/move-content-to-another-stream.md b/help/move-content-to-another-stream.mdsimilarity index 100%rename from templates/zerver/help/move-content-to-another-stream.mdrename to help/move-content-to-another-stream.mddiff --git a/templates/zerver/help/move-content-to-another-topic.md b/help/move-content-to-another-topic.mdsimilarity index 100%rename from templates/zerver/help/move-content-to-another-topic.mdrename to help/move-content-to-another-topic.mddiff --git a/templates/zerver/help/mute-a-stream.md b/help/mute-a-stream.mdsimilarity index 100%rename from templates/zerver/help/mute-a-stream.mdrename to help/mute-a-stream.mddiff --git a/templates/zerver/help/mute-a-topic.md b/help/mute-a-topic.mdsimilarity index 100%rename from templates/zerver/help/mute-a-topic.mdrename to help/mute-a-topic.mddiff --git a/templates/zerver/help/mute-a-user.md b/help/mute-a-user.mdsimilarity index 100%rename from templates/zerver/help/mute-a-user.mdrename to help/mute-a-user.mddiff --git a/templates/zerver/help/open-the-compose-box.md b/help/open-the-compose-box.mdsimilarity index 100%rename from templates/zerver/help/open-the-compose-box.mdrename to help/open-the-compose-box.mddiff --git a/templates/zerver/help/organization-type.md b/help/organization-type.mdsimilarity index 100%rename from templates/zerver/help/organization-type.mdrename to help/organization-type.mddiff --git a/templates/zerver/help/organize-the-streams-sidebar.md b/help/organize-the-streams-sidebar.mdsimilarity index 100%rename from templates/zerver/help/organize-the-streams-sidebar.mdrename to help/organize-the-streams-sidebar.mddiff --git a/templates/zerver/help/pin-a-stream.md b/help/pin-a-stream.mdsimilarity index 100%rename from templates/zerver/help/pin-a-stream.mdrename to help/pin-a-stream.mddiff --git a/templates/zerver/help/pm-mention-alert-notifications.md b/help/pm-mention-alert-notifications.mdsimilarity index 100%rename from templates/zerver/help/pm-mention-alert-notifications.mdrename to help/pm-mention-alert-notifications.mddiff --git a/templates/zerver/help/preview-your-message-before-sending.md b/help/preview-your-message-before-sending.mdsimilarity index 100%rename from templates/zerver/help/preview-your-message-before-sending.mdrename to help/preview-your-message-before-sending.mddiff --git a/templates/zerver/help/private-messages.md b/help/private-messages.mdsimilarity index 100%rename from templates/zerver/help/private-messages.mdrename to help/private-messages.mddiff --git a/templates/zerver/help/public-access-option.md b/help/public-access-option.mdsimilarity index 100%rename from templates/zerver/help/public-access-option.mdrename to help/public-access-option.mddiff --git a/templates/zerver/help/quote-and-reply.md b/help/quote-and-reply.mdsimilarity index 100%rename from templates/zerver/help/quote-and-reply.mdrename to help/quote-and-reply.mddiff --git a/templates/zerver/help/read-receipts.md b/help/read-receipts.mdsimilarity index 100%rename from templates/zerver/help/read-receipts.mdrename to help/read-receipts.mddiff --git a/templates/zerver/help/reading-pms.md b/help/reading-pms.mdsimilarity index 100%rename from templates/zerver/help/reading-pms.mdrename to help/reading-pms.mddiff --git a/templates/zerver/help/reading-strategies.md b/help/reading-strategies.mdsimilarity index 100%rename from templates/zerver/help/reading-strategies.mdrename to help/reading-strategies.mddiff --git a/templates/zerver/help/reading-topics.md b/help/reading-topics.mdsimilarity index 100%rename from templates/zerver/help/reading-topics.mdrename to help/reading-topics.mddiff --git a/templates/zerver/help/recent-conversations.md b/help/recent-conversations.mdsimilarity index 100%rename from templates/zerver/help/recent-conversations.mdrename to help/recent-conversations.mddiff --git a/templates/zerver/help/rename-a-stream.md b/help/rename-a-stream.mdsimilarity index 100%rename from templates/zerver/help/rename-a-stream.mdrename to help/rename-a-stream.mddiff --git a/templates/zerver/help/rename-a-topic.md b/help/rename-a-topic.mdsimilarity index 100%rename from templates/zerver/help/rename-a-topic.mdrename to help/rename-a-topic.mddiff --git a/templates/zerver/help/replying-to-messages.md b/help/replying-to-messages.mdsimilarity index 100%rename from templates/zerver/help/replying-to-messages.mdrename to help/replying-to-messages.mddiff --git a/templates/zerver/help/request-an-integration.md b/help/request-an-integration.mdsimilarity index 100%rename from templates/zerver/help/request-an-integration.mdrename to help/request-an-integration.mddiff --git a/templates/zerver/help/require-topics.md b/help/require-topics.mdsimilarity index 100%rename from templates/zerver/help/require-topics.mdrename to help/require-topics.mddiff --git a/templates/zerver/help/resize-the-compose-box.md b/help/resize-the-compose-box.mdsimilarity index 100%rename from templates/zerver/help/resize-the-compose-box.mdrename to help/resize-the-compose-box.mddiff --git a/templates/zerver/help/resolve-a-topic.md b/help/resolve-a-topic.mdsimilarity index 100%rename from templates/zerver/help/resolve-a-topic.mdrename to help/resolve-a-topic.mddiff --git a/templates/zerver/help/restrict-account-creation.md b/help/restrict-account-creation.mdsimilarity index 100%rename from templates/zerver/help/restrict-account-creation.mdrename to help/restrict-account-creation.mddiff --git a/templates/zerver/help/restrict-bot-creation.md b/help/restrict-bot-creation.mdsimilarity index 100%rename from templates/zerver/help/restrict-bot-creation.mdrename to help/restrict-bot-creation.mddiff --git a/templates/zerver/help/restrict-name-and-email-changes.md b/help/restrict-name-and-email-changes.mdsimilarity index 100%rename from templates/zerver/help/restrict-name-and-email-changes.mdrename to help/restrict-name-and-email-changes.mddiff --git a/templates/zerver/help/restrict-permissions-of-new-members.md b/help/restrict-permissions-of-new-members.mdsimilarity index 100%rename from templates/zerver/help/restrict-permissions-of-new-members.mdrename to help/restrict-permissions-of-new-members.mddiff --git a/templates/zerver/help/restrict-private-messages.md b/help/restrict-private-messages.mdsimilarity index 100%rename from templates/zerver/help/restrict-private-messages.mdrename to help/restrict-private-messages.mddiff --git a/templates/zerver/help/restrict-profile-picture-changes.md b/help/restrict-profile-picture-changes.mdsimilarity index 100%rename from templates/zerver/help/restrict-profile-picture-changes.mdrename to help/restrict-profile-picture-changes.mddiff --git a/templates/zerver/help/restrict-visibility-of-email-addresses.md b/help/restrict-visibility-of-email-addresses.mdsimilarity index 100%rename from templates/zerver/help/restrict-visibility-of-email-addresses.mdrename to help/restrict-visibility-of-email-addresses.mddiff --git a/templates/zerver/help/restrict-wildcard-mentions.md b/help/restrict-wildcard-mentions.mdsimilarity index 100%rename from templates/zerver/help/restrict-wildcard-mentions.mdrename to help/restrict-wildcard-mentions.mddiff --git a/templates/zerver/help/review-your-organization-settings.md b/help/review-your-organization-settings.mdsimilarity index 100%rename from templates/zerver/help/review-your-organization-settings.mdrename to help/review-your-organization-settings.mddiff --git a/templates/zerver/help/review-your-settings.md b/help/review-your-settings.mdsimilarity index 100%rename from templates/zerver/help/review-your-settings.mdrename to help/review-your-settings.mddiff --git a/templates/zerver/help/roles-and-permissions.md b/help/roles-and-permissions.mdsimilarity index 100%rename from templates/zerver/help/roles-and-permissions.mdrename to help/roles-and-permissions.mddiff --git a/templates/zerver/help/saml-authentication.md b/help/saml-authentication.mdsimilarity index 100%rename from templates/zerver/help/saml-authentication.mdrename to help/saml-authentication.mddiff --git a/templates/zerver/help/scim.md b/help/scim.mdsimilarity index 100%rename from templates/zerver/help/scim.mdrename to help/scim.mddiff --git a/templates/zerver/help/search-for-messages.md b/help/search-for-messages.mdsimilarity index 100%rename from templates/zerver/help/search-for-messages.mdrename to help/search-for-messages.mddiff --git a/templates/zerver/help/set-default-streams-for-new-users.md b/help/set-default-streams-for-new-users.mdsimilarity index 100%rename from templates/zerver/help/set-default-streams-for-new-users.mdrename to help/set-default-streams-for-new-users.mddiff --git a/templates/zerver/help/set-up-integrations.md b/help/set-up-integrations.mdsimilarity index 100%rename from templates/zerver/help/set-up-integrations.mdrename to help/set-up-integrations.mddiff --git a/templates/zerver/help/set-up-your-account.md b/help/set-up-your-account.mdsimilarity index 100%rename from templates/zerver/help/set-up-your-account.mdrename to help/set-up-your-account.mddiff --git a/templates/zerver/help/setting-up-zulip-for-a-class.md b/help/setting-up-zulip-for-a-class.mdsimilarity index 100%rename from templates/zerver/help/setting-up-zulip-for-a-class.mdrename to help/setting-up-zulip-for-a-class.mddiff --git a/templates/zerver/help/share-and-upload-files.md b/help/share-and-upload-files.mdsimilarity index 100%rename from templates/zerver/help/share-and-upload-files.mdrename to help/share-and-upload-files.mddiff --git a/templates/zerver/help/star-a-message.md b/help/star-a-message.mdsimilarity index 100%rename from templates/zerver/help/star-a-message.mdrename to help/star-a-message.mddiff --git a/templates/zerver/help/start-a-call.md b/help/start-a-call.mdsimilarity index 100%rename from templates/zerver/help/start-a-call.mdrename to help/start-a-call.mddiff --git a/templates/zerver/help/start-a-new-topic.md b/help/start-a-new-topic.mdsimilarity index 100%rename from templates/zerver/help/start-a-new-topic.mdrename to help/start-a-new-topic.mddiff --git a/templates/zerver/help/starting-a-new-private-thread.md b/help/starting-a-new-private-thread.mdsimilarity index 100%rename from templates/zerver/help/starting-a-new-private-thread.mdrename to help/starting-a-new-private-thread.mddiff --git a/templates/zerver/help/starting-a-new-topic.md b/help/starting-a-new-topic.mdsimilarity index 100%rename from templates/zerver/help/starting-a-new-topic.mdrename to help/starting-a-new-topic.mddiff --git a/templates/zerver/help/status-and-availability.md b/help/status-and-availability.mdsimilarity index 100%rename from templates/zerver/help/status-and-availability.mdrename to help/status-and-availability.mddiff --git a/templates/zerver/help/stream-notifications.md b/help/stream-notifications.mdsimilarity index 100%rename from templates/zerver/help/stream-notifications.mdrename to help/stream-notifications.mddiff --git a/templates/zerver/help/stream-permissions.md b/help/stream-permissions.mdsimilarity index 100%rename from templates/zerver/help/stream-permissions.mdrename to help/stream-permissions.mddiff --git a/templates/zerver/help/stream-sending-policy.md b/help/stream-sending-policy.mdsimilarity index 100%rename from templates/zerver/help/stream-sending-policy.mdrename to help/stream-sending-policy.mddiff --git a/templates/zerver/help/streams-and-topics.md b/help/streams-and-topics.mdsimilarity index 100%rename from templates/zerver/help/streams-and-topics.mdrename to help/streams-and-topics.mddiff --git a/templates/zerver/help/switching-between-organizations.md b/help/switching-between-organizations.mdsimilarity index 100%rename from templates/zerver/help/switching-between-organizations.mdrename to help/switching-between-organizations.mddiff --git a/templates/zerver/help/trying-out-zulip.md b/help/trying-out-zulip.mdsimilarity index 100%rename from templates/zerver/help/trying-out-zulip.mdrename to help/trying-out-zulip.mddiff --git a/templates/zerver/help/typing-notifications.md b/help/typing-notifications.mdsimilarity index 100%rename from templates/zerver/help/typing-notifications.mdrename to help/typing-notifications.mddiff --git a/templates/zerver/help/unsubscribe-from-a-stream.md b/help/unsubscribe-from-a-stream.mdsimilarity index 100%rename from templates/zerver/help/unsubscribe-from-a-stream.mdrename to help/unsubscribe-from-a-stream.mddiff --git a/templates/zerver/help/user-cards.md b/help/user-cards.mdsimilarity index 100%rename from templates/zerver/help/user-cards.mdrename to help/user-cards.mddiff --git a/templates/zerver/help/user-groups.md b/help/user-groups.mdsimilarity index 100%rename from templates/zerver/help/user-groups.mdrename to help/user-groups.mddiff --git a/templates/zerver/help/using-zulip-for-a-class.md b/help/using-zulip-for-a-class.mdsimilarity index 100%rename from templates/zerver/help/using-zulip-for-a-class.mdrename to help/using-zulip-for-a-class.mddiff --git a/templates/zerver/help/using-zulip-via-email.md b/help/using-zulip-via-email.mdsimilarity index 100%rename from templates/zerver/help/using-zulip-via-email.mdrename to help/using-zulip-via-email.mddiff --git a/templates/zerver/help/verify-your-message-was-successfully-sent.md b/help/verify-your-message-was-successfully-sent.mdsimilarity index 100%rename from templates/zerver/help/verify-your-message-was-successfully-sent.mdrename to help/verify-your-message-was-successfully-sent.mddiff --git a/templates/zerver/help/view-a-messages-edit-history.md b/help/view-a-messages-edit-history.mdsimilarity index 100%rename from templates/zerver/help/view-a-messages-edit-history.mdrename to help/view-a-messages-edit-history.mddiff --git a/templates/zerver/help/view-all-bots-in-your-organization.md b/help/view-all-bots-in-your-organization.mdsimilarity index 100%rename from templates/zerver/help/view-all-bots-in-your-organization.mdrename to help/view-all-bots-in-your-organization.mddiff --git a/templates/zerver/help/view-and-browse-images.md b/help/view-and-browse-images.mdsimilarity index 100%rename from templates/zerver/help/view-and-browse-images.mdrename to help/view-and-browse-images.mddiff --git a/templates/zerver/help/view-and-edit-your-message-drafts.md b/help/view-and-edit-your-message-drafts.mdsimilarity index 100%rename from templates/zerver/help/view-and-edit-your-message-drafts.mdrename to help/view-and-edit-your-message-drafts.mddiff --git a/templates/zerver/help/view-messages-sent-by-a-user.md b/help/view-messages-sent-by-a-user.mdsimilarity index 100%rename from templates/zerver/help/view-messages-sent-by-a-user.mdrename to help/view-messages-sent-by-a-user.mddiff --git a/templates/zerver/help/view-someones-profile.md b/help/view-someones-profile.mdsimilarity index 100%rename from templates/zerver/help/view-someones-profile.mdrename to help/view-someones-profile.mddiff --git a/templates/zerver/help/view-the-exact-time-a-message-was-sent.md b/help/view-the-exact-time-a-message-was-sent.mdsimilarity index 100%rename from templates/zerver/help/view-the-exact-time-a-message-was-sent.mdrename to help/view-the-exact-time-a-message-was-sent.mddiff --git a/templates/zerver/help/view-the-markdown-source-of-a-message.md b/help/view-the-markdown-source-of-a-message.mdsimilarity index 100%rename from templates/zerver/help/view-the-markdown-source-of-a-message.mdrename to help/view-the-markdown-source-of-a-message.mddiff --git a/templates/zerver/help/view-your-mentions.md b/help/view-your-mentions.mdsimilarity index 100%rename from templates/zerver/help/view-your-mentions.mdrename to help/view-your-mentions.mddiff --git a/templates/zerver/help/view-zulip-version.md b/help/view-zulip-version.mdsimilarity index 100%rename from templates/zerver/help/view-zulip-version.mdrename to help/view-zulip-version.mddiff --git a/templates/zerver/help/zulip-cloud-billing.md b/help/zulip-cloud-billing.mdsimilarity index 100%rename from templates/zerver/help/zulip-cloud-billing.mdrename to help/zulip-cloud-billing.mddiff --git a/templates/zerver/help/zulip-cloud-or-self-hosting.md b/help/zulip-cloud-or-self-hosting.mdsimilarity index 100%rename from templates/zerver/help/zulip-cloud-or-self-hosting.mdrename to help/zulip-cloud-or-self-hosting.mddiff --git a/templates/zerver/help/zulip-in-a-terminal.md b/help/zulip-in-a-terminal.mdsimilarity index 100%rename from templates/zerver/help/zulip-in-a-terminal.mdrename to help/zulip-in-a-terminal.mddiff --git a/templates/zerver/documentation_main.html b/templates/zerver/documentation_main.htmlindex f6bd8cf2b77..20d5fa1515c 100644--- a/templates/zerver/documentation_main.html+++ b/templates/zerver/documentation_main.html@@ -18,7 +18,7 @@{% if page_is_policy_center %}{{ render_markdown_path(sidebar_index, pure_markdown=True) }}{% elif page_is_help_center %}- {{ render_markdown_path(sidebar_index, context=api_uri_context, help_center=True) }}+ {{ render_markdown_path(sidebar_index, pure_markdown=True) }}{% else %}{{ render_markdown_path(sidebar_index, api_uri_context) }}{% endif %}@@ -38,7 +38,7 @@{% if page_is_policy_center %}{{ render_markdown_path(article, pure_markdown=True) }}{% elif page_is_help_center %}- {{ render_markdown_path(article, context=api_uri_context, help_center=True) }}+ {{ render_markdown_path(article, context=api_uri_context, help_center=True, pure_markdown=True) }}{% else %}{{ render_markdown_path(article, api_uri_context) }}{% endif %}diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex c905fdca2a1..e15de04c6e0 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -857,7 +857,7 @@ markdown_rules = RuleList("description": "Don't link directly to line numbers",},],- exclude_files_in="templates/zerver/help/",+ exclude_files_in="help/",)help_markdown_rules = RuleList(@@ -867,13 +867,13 @@ help_markdown_rules = RuleList({"pattern": "[a-z][.][A-Z]","description": "Likely missing space after end of sentence",- "include_only": {"templates/zerver/help/"},+ "include_only": {"help/"},"exclude_pattern": "Rocket.Chat",},{"pattern": r"\b[rR]ealm[s]?\b",- "include_only": {"templates/zerver/help/"},- "exclude": {"templates/zerver/help/change-organization-url.md"},+ "include_only": {"help/"},+ "exclude": {"help/change-organization-url.md"},"good_lines": ["Organization", "deactivate_realm", "realm_filter"],"bad_lines": ["Users are in a realm", "Realm is the best model"],"description": "Realms are referred to as Organizations in user-facing docs.",diff --git a/tools/setup/emoji/emoji_setup_utils.py b/tools/setup/emoji/emoji_setup_utils.pyindex d8b5773bdc5..14f87c4e6e2 100644--- a/tools/setup/emoji/emoji_setup_utils.py+++ b/tools/setup/emoji/emoji_setup_utils.py@@ -34,7 +34,7 @@ REMAPPED_EMOJIS = {}# Emoticons and which emoji they should become. Duplicate emoji are allowed.-# Changes here should be mimicked in `templates/zerver/help/enable-emoticon-translations.md`.+# Changes here should be mimicked in `help/enable-emoticon-translations.md`.EMOTICON_CONVERSIONS = {":)": ":smile:","(:": ":smile:",diff --git a/zerver/lib/templates.py b/zerver/lib/templates.pyindex 5b204347041..fdd91822131 100644--- a/zerver/lib/templates.py+++ b/zerver/lib/templates.py@@ -151,9 +151,7 @@ def render_markdown_path(base_path="templates/zerver/integrations/include/")elif help_center:- md_macro_extension = zerver.lib.markdown.include.makeExtension(- base_path="templates/zerver/help/include/"- )+ md_macro_extension = zerver.lib.markdown.include.makeExtension(base_path="help/include/")else:md_macro_extension = zerver.lib.markdown.include.makeExtension(base_path="templates/zerver/api/include/"diff --git a/zerver/tests/test_urls.py b/zerver/tests/test_urls.pyindex 7e5c1450bbd..6cd7c28b838 100644--- a/zerver/tests/test_urls.py+++ b/zerver/tests/test_urls.py@@ -67,12 +67,12 @@ class PublicURLTest(ZulipTestCase):404: ["/help/nonexistent", "/help/include/admin", "/help/" + "z" * 1000],}- # Add all files in 'templates/zerver/help' directory (except for 'main.html' and- # 'index.md') to `get_urls['200']` list.- for doc in os.listdir("./templates/zerver/help"):+ # Add all files in help documentation directory (except for 'index.md',+ # 'missing.md' and `help/include/` files) to `get_urls['200']` list.+ for doc in os.listdir("./help"):if doc.startswith(".") or "~" in doc or "#" in doc:continue # nocoverage -- just here for convenience- if doc not in {"main.html", "index.md", "include", "missing.md"}:+ if doc not in {"index.md", "include", "missing.md"}:get_urls[200].append("/help/" + os.path.splitext(doc)[0]) # Strip the extension.post_urls = {diff --git a/zerver/views/documentation.py b/zerver/views/documentation.pyindex ccb1fbd6b0f..e2f472a3758 100644--- a/zerver/views/documentation.py+++ b/zerver/views/documentation.py@@ -68,6 +68,7 @@ class ApiURLView(TemplateView):class MarkdownDirectoryView(ApiURLView):path_template = ""policies_view = False+ help_view = Falsedef get_path(self, article: str) -> DocumentationArticle:http_status = 200@@ -86,10 +87,8 @@ class MarkdownDirectoryView(ApiURLView):endpoint_name = Noneendpoint_method = None- if self.policies_view and self.path_template.startswith("/"):- # This block is required because neither the Django- # template loader nor the article_path logic below support- # settings.POLICIES_DIRECTORY being an absolute path.+ # Absolute path cases+ if (self.policies_view or self.help_view) and self.path_template.startswith("/"):if not os.path.exists(path):article = "missing"http_status = 404@@ -165,7 +164,7 @@ class MarkdownDirectoryView(ApiURLView):settings.DEPLOY_ROOT, "templates", documentation_article.article_path)- if self.path_template == "/zerver/help/%s.md":+ if self.help_view:context["page_is_help_center"] = Truecontext["doc_root"] = "/help/"context["doc_root_title"] = "Help center"diff --git a/zproject/urls.py b/zproject/urls.pyindex 6f69e3b3380..a808058708c 100644--- a/zproject/urls.py+++ b/zproject/urls.py@@ -781,7 +781,9 @@ urls += [# User documentation sitehelp_documentation_view = MarkdownDirectoryView.as_view(- template_name="zerver/documentation_main.html", path_template="/zerver/help/%s.md"+ template_name="zerver/documentation_main.html",+ path_template=f"{settings.DEPLOY_ROOT}/help/%s.md",+ help_view=True,)api_documentation_view = MarkdownDirectoryView.as_view(template_name="zerver/documentation_main.html", path_template="/zerver/api/%s.md"