From a13e42f18a445535726d19159a5cbffdd5352766 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 13 Dec 2023 23:28:24 -0800 Subject: [PATCH] docs: Add missing spaces around code spans. Signed-off-by: Anders Kaseorg --- api_docs/changelog.md | 4 ++-- docs/production/authentication-methods.md | 4 ++-- docs/production/deployment.md | 2 +- scripts/lib/zulip_tools.py | 2 +- tools/oneclickapps/README.md | 2 +- web/src/message_lists.js | 2 +- web/src/search_suggestion.js | 2 +- web/tests/example1.test.js | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/api_docs/changelog.md b/api_docs/changelog.md index 2f5d63d08b..776f221683 100644 --- a/api_docs/changelog.md +++ b/api_docs/changelog.md @@ -24,8 +24,8 @@ format used by the Zulip server that they are interacting with. * [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults), [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings): - Added a new user setting,`automatically_follow_topics_where_mentioned` - that allows user to automatically follow topics where the user is mentioned. + Added a new user setting, `automatically_follow_topics_where_mentioned`, + that allows the user to automatically follow topics where the user is mentioned. **Feature level 234** diff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.md index a1fc75b371..3575e65ad3 100644 --- a/docs/production/authentication-methods.md +++ b/docs/production/authentication-methods.md @@ -747,7 +747,7 @@ integration](../production/scim.md). `https://authentik.company/application/saml//sso/binding/redirect/` where `` is the application slug you've assigned to this application in Authentik settings (e.g `zulip`). 1. Update the attribute mapping in your new entry in `SOCIAL_AUTH_SAML_ENABLED_IDPS` to match how - Authentik specifies attributes in its`SAMLResponse`: + Authentik specifies attributes in its `SAMLResponse`: ``` "attr_user_permanent_id": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", @@ -791,7 +791,7 @@ this with another IdP. Disable `Force POST Binding`, as Zulip only supports the Redirect binding. 1. In `Fine Grain SAML Endpoint Configuration`, set `Logout Service Redirect Binding URL` to the same value you provided for `SSO URL` above. -1. Add the IdP's `Redirect Binding URL`for `SingleLogoutService` to +1. Add the IdP's `Redirect Binding URL` for `SingleLogoutService` to your IdP configuration dict in `SOCIAL_AUTH_SAML_ENABLED_IDPS` in `/etc/zulip/settings.py` as `slo_url`. For example it may look like this: diff --git a/docs/production/deployment.md b/docs/production/deployment.md index 3cfcb2f18c..5d36f45ca5 100644 --- a/docs/production/deployment.md +++ b/docs/production/deployment.md @@ -568,7 +568,7 @@ Apache requires you use the hostname, not the IP address; see ### HAProxy configuration Below is a working example of a HAProxy configuration. It assumes that -your Zulip server sits at `https://10.10.10.10:443`see +your Zulip server sits at `https://10.10.10.10:443`; see [above](#configuring-zulip-to-allow-http) to switch to HTTP. 1. Follow the instructions to [configure Zulip to trust diff --git a/scripts/lib/zulip_tools.py b/scripts/lib/zulip_tools.py index f79cd78d02..ce031d1dad 100755 --- a/scripts/lib/zulip_tools.py +++ b/scripts/lib/zulip_tools.py @@ -341,7 +341,7 @@ def get_caches_to_be_purged( # and threshold days, this function return a list of caches # which can be purged. Remove the cache only if it is: # 1: Not in use by the current installation(in dev as well as in prod). - # 2: Not in use by a deployment not older than `threshold_days`(in prod). + # 2: Not in use by a deployment not older than `threshold_days` (in prod). # 3: Not in use by '/root/zulip'. # 4: Not older than `threshold_days`. caches_to_purge = set() diff --git a/tools/oneclickapps/README.md b/tools/oneclickapps/README.md index 901b85b44c..51094df467 100644 --- a/tools/oneclickapps/README.md +++ b/tools/oneclickapps/README.md @@ -66,7 +66,7 @@ Also pass the following as environment variables in `.github/workflows/update-on - Delete the test droplet `oneclickapp-{release_version}-test` after you have completed testing by going to the [DigitalOcean Zulip team account](https://cloud.digitalocean.com/droplets?i=0242e0). If there are other existing test droplets with the same name format but with with older release versions - feel free to delete them as well. These droplets are also tagged with `github-action` and`temporary` + feel free to delete them as well. These droplets are also tagged with the `github-action` and `temporary` tags. **Errors** diff --git a/web/src/message_lists.js b/web/src/message_lists.js index 36a1823124..cd4faa20cc 100644 --- a/web/src/message_lists.js +++ b/web/src/message_lists.js @@ -54,6 +54,6 @@ export function save_pre_narrow_offset_for_reload() { export function initialize() { // For users with automatic color scheme, we need to detect change - // in `prefers-color-scheme`as it changes based on time. + // in `prefers-color-scheme` as it changes based on time. ui_util.listener_for_preferred_color_scheme_change(update_recipient_bar_background_color); } diff --git a/web/src/search_suggestion.js b/web/src/search_suggestion.js index ce42dbe008..43a14d5c43 100644 --- a/web/src/search_suggestion.js +++ b/web/src/search_suggestion.js @@ -744,7 +744,7 @@ export function get_search_result(query) { // Display the default first // `has` and `is` operators work only on predefined categories. Default suggestion // is not displayed in that case. e.g. `messages that contain abc` as - // a suggestion for `has:abc`does not make sense. + // a suggestion for `has:abc` does not make sense. if (last.operator === "search") { suggestion = { search_string: last.operand, diff --git a/web/tests/example1.test.js b/web/tests/example1.test.js index 1c0356bb42..326945422c 100644 --- a/web/tests/example1.test.js +++ b/web/tests/example1.test.js @@ -39,7 +39,7 @@ const isaac = { full_name: "Isaac Newton", }; -// The `people`object is a very fundamental object in the +// The `people` object is a very fundamental object in the // Zulip app. You can learn a lot more about it by reading // the tests in people.test.js in the same directory as this file.