Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Clean redundant relative links.
Anders Kaseorgc19d6fb3eff3
diff --git a/docs/contributing/code-reviewing.md b/docs/contributing/code-reviewing.mdindex a4a276850d1..7d42f43f58e 100644--- a/docs/contributing/code-reviewing.md+++ b/docs/contributing/code-reviewing.md@@ -236,8 +236,8 @@ We also strongly recommend reviewers to go through the following resources.article by James J. Porter- [Zulip code of conduct](../code-of-conduct.md)-[code-style]: ../contributing/code-style.md-[commit-messages]: ../contributing/version-control.html#commit-messages+[code-style]: code-style.md+[commit-messages]: version-control.html#commit-messages[test-writing]: ../testing/testing.md[mypy]: ../testing/mypy.md[git tool]: ../git/zulip-tools.html#fetch-a-pull-request-and-rebasediff --git a/docs/contributing/gsoc.md b/docs/contributing/gsoc.mdindex 3f920f91915..a124f01bb77 100644--- a/docs/contributing/gsoc.md+++ b/docs/contributing/gsoc.md@@ -54,7 +54,7 @@ maintainers.To learn more about the experience of doing GSoC with Zulip, check out our[Zulip's Google Summer of Code 2021 blogpost](https://blog.zulip.com/2021/09/30/google-summer-of-code-2021/). Our [guide-for having a great summer with Zulip](../contributing/summer-with-zulip.md) will+for having a great summer with Zulip](summer-with-zulip.md) willalso give you a feel for what it's like to do GSoC with us.> _“It has been the best summer I've ever had! I'm thankful to my mentors, mydiff --git a/docs/development/authentication.md b/docs/development/authentication.mdindex 5b3a1b28919..9eb758ce96d 100644--- a/docs/development/authentication.md+++ b/docs/development/authentication.md@@ -138,9 +138,9 @@ details worth understanding:Some OAuth providers (such as Facebook) require HTTPS on the callbackURL they post back to, which isn't supported directly by the Zulipdevelopment environment. If you run a-[remote Zulip development server](../development/remote.md), we have+[remote Zulip development server](remote.md), we haveinstructions for-[an nginx reverse proxy with SSL](../development/remote.html#using-an-nginx-reverse-proxy)+[an nginx reverse proxy with SSL](remote.html#using-an-nginx-reverse-proxy)that you can use for your development efforts.## Testing LDAP in developmentdiff --git a/docs/development/overview.md b/docs/development/overview.mdindex 20778b7cf32..7c3f1cad91a 100644--- a/docs/development/overview.md+++ b/docs/development/overview.md@@ -76,12 +76,12 @@ machine, take a look at our tips for[developing remotely][dev-remote].[dev-remote]: remote.md-[install-direct]: ../development/setup-advanced.html#installing-directly-on-ubuntu-debian-centos-or-fedora-[install-vagrant]: ../development/setup-vagrant.md+[install-direct]: setup-advanced.html#installing-directly-on-ubuntu-debian-centos-or-fedora+[install-vagrant]: setup-vagrant.md[self-install-remote]: #installing-remotely[self-slow-internet]: #slow-internet-connections-[configure-proxy]: ../development/setup-vagrant.html#specifying-a-proxy+[configure-proxy]: setup-vagrant.html#specifying-a-proxy[using-dev-env]: using.md[testing]: ../testing/testing.md[ci]: ../git/cloning.html#step-3-configure-continuous-integration-for-your-fork-[install-via-wsl]: ../development/setup-advanced.html#installing-directly-on-windows-10-with-wsl-2+[install-via-wsl]: setup-advanced.html#installing-directly-on-windows-10-with-wsl-2diff --git a/docs/development/remote.md b/docs/development/remote.mdindex 6ecd013bd0c..27516db347f 100644--- a/docs/development/remote.md+++ b/docs/development/remote.md@@ -270,8 +270,8 @@ Next, read the following to learn more about developing for Zulip:- [Using the development environment][rtd-using-dev-env]- [Testing][rtd-testing]-[install-direct]: ../development/setup-advanced.html#installing-directly-on-ubuntu-debian-centos-or-fedora-[install-vagrant]: ../development/setup-vagrant.md+[install-direct]: setup-advanced.html#installing-directly-on-ubuntu-debian-centos-or-fedora+[install-vagrant]: setup-vagrant.md[rtd-git-guide]: ../git/index.md[rtd-using-dev-env]: using.md[rtd-testing]: ../testing/testing.mddiff --git a/docs/development/request-remote.md b/docs/development/request-remote.mdindex f72c5941573..d3331aea3e9 100644--- a/docs/development/request-remote.md+++ b/docs/development/request-remote.md@@ -70,13 +70,13 @@ Once your remote dev instance is ready:Once you've confirmed you can connect to your remote server, take a look at:-- [developing remotely](../development/remote.md) for tips on using the remote dev+- [developing remotely](remote.md) for tips on using the remote devinstance, and- our [Git & GitHub guide](../git/index.md) to learn how to use Git with Zulip.Next, read the following to learn more about developing for Zulip:-- [Using the development environment](../development/using.md)+- [Using the development environment](using.md)- [Testing](../testing/testing.md)[github-join]: https://github.com/joindiff --git a/docs/development/setup-advanced.md b/docs/development/setup-advanced.mdindex 80f0831b9de..cd6010c44e1 100644--- a/docs/development/setup-advanced.md+++ b/docs/development/setup-advanced.md@@ -21,9 +21,9 @@ that's running one of:You can just run the Zulip provision script on your machine.**Note**: You should not use the `root` user to run the installation.-If you are using a [remote server](../development/remote.md), see+If you are using a [remote server](remote.md), seethe-[section on creating appropriate user accounts](../development/remote.html#setting-up-user-accounts).+[section on creating appropriate user accounts](remote.html#setting-up-user-accounts).:::{warning}There is no supported uninstallation process with this@@ -50,7 +50,7 @@ source /srv/zulip-py3-venv/bin/activateOnce you've done the above setup, you can pick up the [documentationon using the Zulip development-environment](../development/setup-vagrant.html#step-4-developing),+environment](setup-vagrant.html#step-4-developing),ignoring the parts about `vagrant` (since you're not using it).## Installing directly on Windows 10 with WSL 2@@ -151,7 +151,7 @@ installation method described here.to open VSCode connected to your WSL environment.1. You're done! You can pick up the [documentation on using the- Zulip development environment](../development/setup-vagrant.html#step-4-developing),+ Zulip development environment](setup-vagrant.html#step-4-developing),ignoring the parts about `vagrant` (since you're not using it).WSL 2 can be uninstalled by following [Microsoft's documentation][uninstall-wsl]diff --git a/docs/development/setup-vagrant.md b/docs/development/setup-vagrant.mdindex e61a76bc9ad..9ab3f0a0d71 100644--- a/docs/development/setup-vagrant.md+++ b/docs/development/setup-vagrant.md@@ -151,7 +151,7 @@ Debian](https://docs.docker.com/install/linux/docker-ce/debian/).#### Windows 10:::{note}-We recommend using [WSL 2 for Windows development](../development/setup-advanced.html#installing-directly-on-windows-10-with-wsl-2).+We recommend using [WSL 2 for Windows development](setup-advanced.html#installing-directly-on-windows-10-with-wsl-2).:::1. Install [Git for Windows][git-bash], which installs _Git BASH_.@@ -1041,7 +1041,7 @@ remove the `GUEST_CPUS` and `GUEST_MEMORY_MB` lines from[cygwin-dl]: https://cygwin.com/[vagrant-dl]: https://www.vagrantup.com/downloads.html[vbox-dl]: https://www.virtualbox.org/wiki/Downloads-[install-advanced]: ../development/setup-advanced.md+[install-advanced]: setup-advanced.md[rtd-git-guide]: ../git/index.md[rtd-testing]: ../testing/testing.md[rtd-using-dev-env]: using.mddiff --git a/docs/development/using.md b/docs/development/using.mdindex 178a9b44ceb..0f760fbdd32 100644--- a/docs/development/using.md+++ b/docs/development/using.md@@ -93,7 +93,7 @@ See the mobile project's documentation on [using a development serverfor mobile development][mobile-dev-server].[rest-api]: https://zulip.com/api/rest-[authentication-dev-server]: ./authentication.md+[authentication-dev-server]: authentication.md[django-runserver]: https://docs.djangoproject.com/en/3.2/ref/django-admin/#runserver[new-feature-tutorial]: ../tutorials/new-feature-tutorial.md[testing-docs]: ../testing/testing.mddiff --git a/docs/documentation/api.md b/docs/documentation/api.mdindex 599d077596a..d228a15e5b7 100644--- a/docs/documentation/api.md+++ b/docs/documentation/api.md@@ -27,10 +27,10 @@ the validation Zulip has today.Our API documentation is defined by a few sets of files:- The primary source of our API documentation is the Zulip server's- [OpenAPI description](../documentation/openapi.md) at+ [OpenAPI description](openapi.md) at`zerver/openapi/zulip.yaml`.- The documentation is written the same Markdown framework that powers- our [help center docs](../documentation/helpcenter.md), with some special+ our [help center docs](helpcenter.md), with some specialextensions for rendering nice code blocks and exampleresponses. Most API endpoints share a common template,`templates/zerver/api/api-doc-template.md`, which renders the@@ -218,7 +218,7 @@ This section offers a step-by-step process for adding documentationfor a new API endpoint. It assumes you've read and understood theabove.-1. Start by adding [OpenAPI format](../documentation/openapi.md)+1. Start by adding [OpenAPI format](openapi.md)data to `zerver/openapi/zulip.yaml` for the endpoint. If youcopy-paste (which is helpful to get the indentation structureright), be sure to update all the content that you copied todiff --git a/docs/documentation/openapi.md b/docs/documentation/openapi.mdindex 634e1b3525b..6e89adaba76 100644--- a/docs/documentation/openapi.md+++ b/docs/documentation/openapi.md@@ -10,7 +10,7 @@ for that file to fully describe every endpoint in the Zulip API, andfor the Zulip test suite to fail should the API every change without acorresponding adjustment to the documentation. In particular,essentially all content in Zulip's [REST API-documentation](../documentation/api.md) is generated from our OpenAPI+documentation](api.md) is generated from our OpenAPIfile.In an OpenAPI Swagger file, every configuration section is an object.diff --git a/docs/documentation/overview.md b/docs/documentation/overview.mdindex 9b4f6485eaa..ffee6610a78 100644--- a/docs/documentation/overview.md+++ b/docs/documentation/overview.md@@ -124,7 +124,7 @@ with Zulip. This documentation also serves as our main mechanism forZulip server developers to communicate with client developers abouthow the Zulip API works.-See the [API documentation tutorial](../documentation/api.md) for+See the [API documentation tutorial](api.md) fordetails on how to contribute to this documentation.## Automated testingdiff --git a/docs/git/cheat-sheet.md b/docs/git/cheat-sheet.mdindex 16910b881a6..878d6ddb6f8 100644--- a/docs/git/cheat-sheet.md+++ b/docs/git/cheat-sheet.md@@ -113,4 +113,4 @@ See also [fixing commits][fix-commit][fix-commit]: fixing-commits.md[git-config-clone]: cloning.html#step-1b-clone-to-your-machine-[git-overview]: ./overview.md+[git-overview]: overview.mddiff --git a/docs/git/cloning.md b/docs/git/cloning.mdindex 50c875077ac..e40e223e18e 100644--- a/docs/git/cloning.md+++ b/docs/git/cloning.md@@ -137,4 +137,4 @@ You can check the `Actions` tab of your repository to see the builds.[github-actions]: https://docs.github.com/en/actions[zulip-rtd-dev-first-time]: ../development/setup-vagrant.md[zulip-rtd-dev-overview]: ../development/overview.md-[zulip-rtd-tools-setup]: ../git/zulip-tools.html#set-up-git-repo-script+[zulip-rtd-tools-setup]: zulip-tools.html#set-up-git-repo-scriptdiff --git a/docs/git/collaborate.md b/docs/git/collaborate.mdindex a7b8e54bcd8..e11f81bfdd6 100644--- a/docs/git/collaborate.md+++ b/docs/git/collaborate.md@@ -56,4 +56,4 @@ tools/fetch-pull-request <PR-number>```[github-help-co-pr-locally]: https://help.github.com/en/articles/checking-out-pull-requests-locally-[tools-pr]: ../git/zulip-tools.html#fetch-a-pull-request-and-rebase+[tools-pr]: zulip-tools.html#fetch-a-pull-request-and-rebasediff --git a/docs/git/overview.md b/docs/git/overview.mdindex d70e531ef2d..2988f5f92f9 100644--- a/docs/git/overview.md+++ b/docs/git/overview.md@@ -59,7 +59,7 @@ Git workflow, or if you'd like a Git refresher.[github-zulip]: https://github.com/zulip/[github-zulip-zulip]: https://github.com/zulip/zulip/[continuous-integration]: ../testing/continuous-integration.md-[zulip-git-guide-fork-ci]: ../git/cloning.html#step-3-configure-continuous-integration-for-your-fork+[zulip-git-guide-fork-ci]: cloning.html#step-3-configure-continuous-integration-for-your-fork[zulip-rtd-code-style]: ../contributing/code-style.md[zulip-rtd-commit-discipline]: ../contributing/version-control.html#commit-discipline[zulip-rtd-commit-messages]: ../contributing/version-control.html#commit-messages@@ -67,5 +67,5 @@ Git workflow, or if you'd like a Git refresher.[zulip-rtd-lint-tools]: ../contributing/code-style.html#lint-tools[zulip-rtd-mypy]: ../testing/mypy.md[zulip-rtd-testing]: ../testing/testing.md-[zulip-rtd-zulip-tools]: ../git/zulip-tools.md+[zulip-rtd-zulip-tools]: zulip-tools.md[zulip-rtd-zulipbot-usage]: ../contributing/zulipbot-usage.mddiff --git a/docs/git/pull-requests.md b/docs/git/pull-requests.mdindex 3dba7536dee..e0288b6602e 100644--- a/docs/git/pull-requests.md+++ b/docs/git/pull-requests.md@@ -158,7 +158,7 @@ for another review.[github-help-about-pr]: https://help.github.com/en/articles/about-pull-requests[github-help-create-pr-fork]: https://help.github.com/en/articles/creating-a-pull-request-from-a-fork[images-create-pr]: ../images/zulip-open-pr.png-[keep-up-to-date]: ../git/using.html#keep-your-fork-up-to-date-[self-push-commits]: ../git/using.html#push-your-commits-to-github+[keep-up-to-date]: using.html#keep-your-fork-up-to-date+[self-push-commits]: using.html#push-your-commits-to-github[screenshots-gifs]: ../tutorials/screenshot-and-gif-software.md[wip-prs]: #work-in-progress-pull-requestsdiff --git a/docs/git/troubleshooting.md b/docs/git/troubleshooting.mdindex 76059e74445..150018a678f 100644--- a/docs/git/troubleshooting.md+++ b/docs/git/troubleshooting.md@@ -275,8 +275,8 @@ keep,** you'll need to use `git log FETCH_HEAD` to identify that hashes of thecommits you want to keep and then `git cherry-pick <commit>` those commits intowhichever branch you need to update.-[clone-to-your-machine]: ../git/cloning.html#step-1b-clone-to-your-machine-[connect-upstream]: ../git/cloning.html#step-1c-connect-your-fork-to-zulip-upstream+[clone-to-your-machine]: cloning.html#step-1b-clone-to-your-machine+[connect-upstream]: cloning.html#step-1c-connect-your-fork-to-zulip-upstream[gitbook-advanced-merging]: https://git-scm.com/book/en/v2/Git-Tools-Advanced-Merging#_advanced_merging[gitbook-basic-merge-conflicts]: https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging#Basic-Merge-Conflicts[gitbook-git-cherry-pick]: https://git-scm.com/docs/git-cherry-pickdiff --git a/docs/git/using.md b/docs/git/using.mdindex 7acc6c08a78..ec0e8d2d4de 100644--- a/docs/git/using.md+++ b/docs/git/using.md@@ -450,8 +450,8 @@ complicated rebase.[github-help-push]: https://help.github.com/en/articles/pushing-to-a-remote[github-help-rebase]: https://help.github.com/en/articles/using-git-rebase[github-help-sync-fork]: https://help.github.com/en/articles/syncing-a-fork-[how-git-is-different]: ./the-git-difference.md-[self-multiple-computers]: ../git/troubleshooting.html#working-from-multiple-computers+[how-git-is-different]: the-git-difference.md+[self-multiple-computers]: troubleshooting.html#working-from-multiple-computers[zulip-git-guide-up-to-date]: #keep-your-fork-up-to-date[zulip-rtd-commit-discipline]: ../contributing/version-control.html#commit-discipline[zulip-rtd-commit-messages]: ../contributing/version-control.html#commit-messagesdiff --git a/docs/git/working-copies.md b/docs/git/working-copies.mdindex ba7b8826f85..524a7b4667b 100644--- a/docs/git/working-copies.md+++ b/docs/git/working-copies.md@@ -7,7 +7,7 @@ repository that you are generally concerned with:repository](https://github.com/zulip/zulip) on GitHub. You probablydon't have write access to this repository.- The **origin** remote: Your personal remote repository on GitHub.- You'll use this to share your code and create [pull requests](../git/pull-requests.md).+ You'll use this to share your code and create [pull requests](pull-requests.md).- local copy: This lives on your laptop or your remote dev instance,and is what you'll use to make changes and create commits.@@ -45,6 +45,6 @@ working copies:- `git remote`: This helps you configure short names for remotes.- `git pull`: This pulls code, but by default creates a merge commit(which you definitely don't want). However, if you've followed our- [cloning documentation](../git/cloning.md), this will do+ [cloning documentation](cloning.md), this will do`git pull --rebase` instead, which is the only mode you'll want touse when working on Zulip.diff --git a/docs/git/zulip-tools.md b/docs/git/zulip-tools.mdindex 4a1148e0d1f..756b3a1869d 100644--- a/docs/git/zulip-tools.md+++ b/docs/git/zulip-tools.md@@ -176,5 +176,5 @@ git rebase --continue```[github-zulip-zulip]: https://github.com/zulip/zulip/-[zulip-git-guide-fetch-pr]: ../git/collaborate.html#check-out-a-pull-request-locally-[zulip-git-guide-ci]: ../git/cloning.html#step-3-configure-continuous-integration-for-your-fork+[zulip-git-guide-fetch-pr]: collaborate.html#check-out-a-pull-request-locally+[zulip-git-guide-ci]: cloning.html#step-3-configure-continuous-integration-for-your-forkdiff --git a/docs/overview/architecture-overview.md b/docs/overview/architecture-overview.mdindex d8f835bde05..bba3bb7125a 100644--- a/docs/overview/architecture-overview.md+++ b/docs/overview/architecture-overview.md@@ -7,7 +7,7 @@ contains the Zulip backend (written in Python 3.x and Django), theweb app (written in JavaScript and TypeScript) and our library ofincoming webhook [integrations](https://zulip.com/integrations)with other services and applications (see [the directory structure-guide](../overview/directory-structure.md)).+guide](directory-structure.md)).[Zulip Mobile](https://github.com/zulip/zulip-mobile) is the officialmobile Zulip client supporting both iOS and Android, written in@@ -109,7 +109,7 @@ feed.For more details on the frontend, see our documentation on[translation](../translating/translating.md),[templates](../subsystems/html-css.html#html-templates),-[directory structure](../overview/directory-structure.md), and+[directory structure](directory-structure.md), and[the static asset pipeline](../subsystems/html-css.html#static-asset-pipeline).[jinja2]: http://jinja.pocoo.org/diff --git a/docs/overview/changelog.md b/docs/overview/changelog.mdindex c1993dbd4b1..e37d797723d 100644--- a/docs/overview/changelog.md+++ b/docs/overview/changelog.md@@ -1,7 +1,7 @@# Version historyThis page the release history for the Zulip server. See also the-[Zulip release lifecycle](../overview/release-lifecycle.md).+[Zulip release lifecycle](release-lifecycle.md).## Zulip 5.x series@@ -402,7 +402,7 @@ log][commit-log] for an up-to-date list of raw changes.#### Full feature changelog-- Added new [release lifecycle documentation](../overview/release-lifecycle.md).+- Added new [release lifecycle documentation](release-lifecycle.md).- Added support for subscribing another stream's membership to a stream.- Added RealmAuditLog for most settings state changes in Zulip; thisdata will facilitate future features showing a log of activity bydiff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.mdindex 7b2f7309f00..b5deaaca1a1 100644--- a/docs/production/authentication-methods.md+++ b/docs/production/authentication-methods.md@@ -384,7 +384,7 @@ it as follows:the "SAML ACS url" in SAML terminology.If you're- [hosting multiple organizations](../production/multiple-organizations.html#authentication),+ [hosting multiple organizations](multiple-organizations.html#authentication),you need to use `SOCIAL_AUTH_SUBDOMAIN`. For example,if `SOCIAL_AUTH_SUBDOMAIN="auth"` and `EXTERNAL_HOST=zulip.example.com`,this should be `https://auth.zulip.example.com/complete/saml/`.@@ -478,7 +478,7 @@ it as follows:profile fields during login, not during account creation; weconsider this [a bug](https://github.com/zulip/zulip/issues/18746).-1. [Restart the Zulip server](../production/settings.md) to ensure+1. [Restart the Zulip server](settings.md) to ensureyour settings changes take effect. The Zulip login page should nowhave a button for SAML authentication that you can use to log in orcreate an account (including when creating a new organization).@@ -817,7 +817,7 @@ self-hosted servers. To do so, you'll need to do the following:[apple-developer]: https://developer.apple.com/account/resources/[apple-create-private-key]: https://help.apple.com/developer-account/?lang=en#/dev77c875b7e[apple-get-started]: https://developer.apple.com/sign-in-with-apple/get-started/-[outgoing-email]: ../production/email.md+[outgoing-email]: email.md## OpenID Connect@@ -876,4 +876,4 @@ passwordless login as any user in a development environment. It'smentioned on this page only for completeness.[custom-profile-fields]: https://zulip.com/help/add-custom-profile-fields-[update-inline-comments]: ../production/upgrade-or-modify.html#updating-settings-py-inline-documentation+[update-inline-comments]: upgrade-or-modify.html#updating-settings-py-inline-documentationdiff --git a/docs/production/deployment.md b/docs/production/deployment.mdindex b818d7aa84d..28a440d27d6 100644--- a/docs/production/deployment.md+++ b/docs/production/deployment.md@@ -18,8 +18,8 @@ git clone https://github.com/zulip/zulip.git zulip-server-git```and then-[continue the normal installation instructions](../production/install.html#step-2-install-zulip).-You can also [upgrade Zulip from Git](../production/upgrade-or-modify.html#upgrading-from-a-git-repository).+[continue the normal installation instructions](install.html#step-2-install-zulip).+You can also [upgrade Zulip from Git](upgrade-or-modify.html#upgrading-from-a-git-repository).The most common use case for this is upgrading to `main` to get afeature that hasn't made it into an official release yet (often@@ -33,14 +33,14 @@ In particular, we are always very glad to investigate problems withinstalling Zulip from `main`; they are rare and help us ensure thatour next major release has a reliable install experience.-[upgrade-to-main]: ../production/upgrade-or-modify.html#upgrading-to-main-[upgrade-to-future-release]: ../production/upgrade-or-modify.html#upgrading-to-future-releases+[upgrade-to-main]: upgrade-or-modify.html#upgrading-to-main+[upgrade-to-future-release]: upgrade-or-modify.html#upgrading-to-future-releases## Zulip in DockerZulip has an officially supported, experimental[docker image](https://github.com/zulip/docker-zulip). Please note-that Zulip's [normal installer](../production/install.md) has been+that Zulip's [normal installer](install.md) has beenextremely reliable for years, whereas the Docker image is new and hasrough edges, so we recommend the normal installer unless you have aspecific reason to prefer Docker.@@ -49,7 +49,7 @@ specific reason to prefer Docker.The Zulip installer supports the following advanced installer optionsas well as those mentioned in the-[install](../production/install.html#installer-options) documentation:+[install](install.html#installer-options) documentation:- `--postgresql-version`: Sets the version of PostgreSQL that will beinstalled. We currently support PostgreSQL 10, 11, 12, 13, and 14.@@ -83,7 +83,7 @@ as well as those mentioned in theZulip's installation process assumes it is the only applicationrunning on the server; though installing alongside other applicationsis not recommended, we do have [some notes on the-process](../production/install-existing-server.md).+process](install-existing-server.md).## Running Zulip's service dependencies on different machines@@ -132,7 +132,7 @@ below.#### Step 1: Set up Zulip-Follow the [standard instructions](../production/install.md), with one+Follow the [standard instructions](install.md), with onechange. When running the installer, pass the `--no-init-db`flag, e.g.:@@ -535,7 +535,7 @@ configuration of `pg_hba.conf` and client certificates on thereplica.[warm-standby]: https://www.postgresql.org/docs/current/warm-standby.html-[wal-g]: ../production/export-and-import.html#backup-details+[wal-g]: export-and-import.html#backup-details## System and deployment configuration@@ -575,7 +575,7 @@ that include:- **`zulip::profile::rabbitmq`**If you are using a [Apache as a single-sign-on-authenticator](../production/authentication-methods.html#apache-based-sso-with-remote-user),+authenticator](authentication-methods.html#apache-based-sso-with-remote-user),you will need to add **`zulip::apache_sso`** to the list.#### `pgroonga`@@ -604,7 +604,7 @@ for servers that are upgraded frequently by core Zulip developers.#### `git_repo_url`Default repository URL used when [upgrading from a Git-repository](../production/upgrade-or-modify.html#upgrading-from-a-git-repository).+repository](upgrade-or-modify.html#upgrading-from-a-git-repository).### `[application_server]`@@ -626,7 +626,7 @@ configure `settings.py` and set this to true to configure`nginx`. Remove this field to return to the local uploads backend (anynon-empty value is currently equivalent to true).-[s3-uploads]: ../production/upload-backends.html#s3-backend-configuration+[s3-uploads]: upload-backends.html#s3-backend-configuration#### `queue_workers_multiprocess`@@ -669,7 +669,7 @@ more than 3.5GiB of RAM, 4 on hosts with less.#### `mailname`The hostname that [Postfix should be configured to receive mail-at](../production/email-gateway.html#local-delivery-setup).+at](email-gateway.html#local-delivery-setup).### `[postgresql]`@@ -694,7 +694,7 @@ Set to true to enable replication to enable [log shipping replicationbetween PostgreSQL servers](#postgresql-warm-standby). This should beenabled on the primary, as well as any replicas, and further requiresconfiguration of-[wal-g](../production/export-and-import.html#backup-details).+[wal-g](export-and-import.html#backup-details).#### `replication_primary`@@ -726,7 +726,7 @@ connections.#### `version`The version of PostgreSQL that is in use. Do not set by hand; use the-[PostgreSQL upgrade tool](../production/upgrade-or-modify.html#upgrading-postgresql).+[PostgreSQL upgrade tool](upgrade-or-modify.html#upgrading-postgresql).### `[memcached]`diff --git a/docs/production/email-gateway.md b/docs/production/email-gateway.mdindex 95ab110c5d5..44274cefe78 100644--- a/docs/production/email-gateway.md+++ b/docs/production/email-gateway.md@@ -96,7 +96,7 @@ using an [HTTP reverse proxy][reverse-proxy]).Congratulations! The integration should be fully operational.-[reverse-proxy]: ../production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy+[reverse-proxy]: deployment.html#putting-the-zulip-application-behind-a-reverse-proxy## Polling setupdiff --git a/docs/production/export-and-import.md b/docs/production/export-and-import.mdindex 1526c80bc62..52fe0974e7e 100644--- a/docs/production/export-and-import.md+++ b/docs/production/export-and-import.md@@ -48,9 +48,9 @@ service (or back):decommissioning a Zulip organization.- It's possible to set up [PostgreSQL streaming- replication](../production/deployment.html#postgresql-warm-standby)+ replication](deployment.html#postgresql-warm-standby)and the [S3 file upload- backend](../production/upload-backends.html#s3-backend-configuration)+ backend](upload-backends.html#s3-backend-configuration)as part of a high availability environment.## Backups@@ -99,7 +99,7 @@ disrupting service (e.g. `zuliptest.example.com` rather than`zulip.example.com`).If you do so, just like any other time you change the hostname, you'll-need to [update `EXTERNAL_HOST`](../production/settings.md) and then+need to [update `EXTERNAL_HOST`](settings.md) and thenrestart the Zulip server (after backup restoration completes).Until you do, your Zulip server will think its user-facing hostname is@@ -118,7 +118,7 @@ extracting the entire archive.tar -Oaxf /path/to/archive/zulip-backup-rest.tar.gz zulip-backup/zulip-version```-[install-server]: ../production/install.md+[install-server]: install.md### What is included@@ -134,7 +134,7 @@ and you may want to back up separately:the rest of the data for a Zulip server.- Files uploaded with the Zulip- [S3 file upload backend](../production/upload-backends.md). We+ [S3 file upload backend](upload-backends.md). Wedon't include these for two reasons. First, the uploaded file datain S3 can easily be many times larger than the rest of the backup,and downloading it all to a server doing a backup could easily@@ -193,7 +193,7 @@ data includes:filenames are computed using a hash of `avatar_salt` and user'semail), etc.-[export-import]: ../production/export-and-import.md+[export-import]: export-and-import.md### Restore from manual backups@@ -285,7 +285,7 @@ archive of all the organization's uploaded files.## Import into a new Zulip server-1. [Install a new Zulip server](../production/install.md),+1. [Install a new Zulip server](install.md),**skipping Step 3** (you'll create your Zulip organization via the dataimport tool instead).@@ -320,7 +320,7 @@ archive of all the organization's uploaded files.`/etc/zulip/zulip-secrets.conf` (details below).- If you copy `zulip_org_id` and `zulip_org_key` (the credentialsfor the [mobile push notifications- service](../production/mobile-push-notifications.md)), you should+ service](mobile-push-notifications.md)), you shouldbe very careful to make sure the no users had their IDsrenumbered during the import process (this can be checked using`manage.py shell` with some care). The push notifications@@ -365,7 +365,7 @@ cd /home/zulip/deployments/currentThis could take several minutes to run depending on how much data you'reimporting.-[upgrade-zulip-from-git]: ../production/upgrade-or-modify.html#upgrading-from-a-git-repository+[upgrade-zulip-from-git]: upgrade-or-modify.html#upgrading-from-a-git-repository#### Import options@@ -411,10 +411,10 @@ delete the test import data from your Zulip server before doing afinal import. You can **permanently delete** all data from a Zuliporganization using the following procedure:-- Start a [Zulip management shell](../production/management-commands.html#manage-py-shell)+- Start a [Zulip management shell](management-commands.html#manage-py-shell)- In the management shell, run the following commands, replacing `""`with the subdomain if [you are hosting the organization on a- subdomain](../production/multiple-organizations.md):+ subdomain](multiple-organizations.md):```pythonrealm = Realm.objects.get(string_id="")@@ -430,7 +430,7 @@ Now, exit the management shell and run this to clear Zulip's cache:```Assuming you're using the-[local file uploads backend](../production/upload-backends.md), you+[local file uploads backend](upload-backends.md), youcan additionally delete all file uploads, avatars, and custom emoji ona Zulip server (across **all organizations**) with the followingcommand:diff --git a/docs/production/install.md b/docs/production/install.mdindex b2ec93ef851..09c19fd9755 100644--- a/docs/production/install.md+++ b/docs/production/install.md@@ -1,11 +1,11 @@# Production installationYou'll need an Ubuntu or Debian system that satisfies-[the installation requirements](../production/requirements.md). Alternatively,+[the installation requirements](requirements.md). Alternatively,you can use a preconfigured[DigitalOcean droplet](https://marketplace.digitalocean.com/apps/zulip?refcode=3ee45da8ee26), orZulip's-[experimental Docker image](../production/deployment.html#zulip-in-docker).+[experimental Docker image](deployment.html#zulip-in-docker).Note that if you're developing for Zulip, you should install Zulip's[development environment](../development/overview.md) instead. If@@ -27,7 +27,7 @@ tar -xf zulip-server-latest.tar.gz- If you'd like to verify the download, we[publish the sha256sums of our release tarballs](https://download.zulip.com/server/SHA256SUMS.txt).- You can also- [install a pre-release version of Zulip](../production/deployment.html#installing-zulip-from-git)+ [install a pre-release version of Zulip](deployment.html#installing-zulip-from-git)using code from our [repository on GitHub](https://github.com/zulip/zulip/).## Step 2: Install Zulip@@ -72,10 +72,10 @@ If the script gives an error, consult [Troubleshooting](#troubleshooting) below.You can see the more advanced installer options in our [deployment options][doc-deployment-options]documentation.-[doc-settings]: ../production/settings.md-[doc-certbot]: ../production/ssl-certificates.html#certbot-recommended-[doc-ssl-manual]: ../production/ssl-certificates.html#manual-install-[doc-deployment-options]: ../production/deployment.html#advanced-installer-options+[doc-settings]: settings.md+[doc-certbot]: ssl-certificates.html#certbot-recommended+[doc-ssl-manual]: ssl-certificates.html#manual-install+[doc-deployment-options]: deployment.html#advanced-installer-options## Step 3: Create a Zulip organization, and log in@@ -85,7 +85,7 @@ or another Zulip server, you should stop hereand return to the import instructions.[slack-import]: https://zulip.com/help/import-from-slack-[zulip-backups]: ../production/export-and-import.html#backups+[zulip-backups]: export-and-import.html#backupsOtherwise, open the link in a browser. Follow the prompts to set upyour organization, and your own user account as an administrator.@@ -117,8 +117,8 @@ Learning more:releases](../overview/release-lifecycle.md) and security issues.- Follow [Zulip on Twitter](https://twitter.com/zulip).- Learn how to [configure your Zulip server settings](settings.md).-- Learn about [Backups, export and import](../production/export-and-import.md)- and [upgrading](../production/upgrade-or-modify.md) a production Zulip+- Learn about [Backups, export and import](export-and-import.md)+ and [upgrading](upgrade-or-modify.md) a production Zulipserver.[realm-admin-docs]: https://zulip.com/help/getting-your-organization-started-with-zulipdiff --git a/docs/production/maintain-secure-upgrade.md b/docs/production/maintain-secure-upgrade.mdindex b951779cc8e..d174cf83713 100644--- a/docs/production/maintain-secure-upgrade.md+++ b/docs/production/maintain-secure-upgrade.md@@ -9,33 +9,33 @@ have since all moved to dedicated pages:### Monitoring-Moved to [Troubleshooting](../production/troubleshooting.html#monitoring).+Moved to [Troubleshooting](troubleshooting.html#monitoring).### Securing your Zulip server-Moved to [Security model](../production/security-model.md).+Moved to [Security model](security-model.md).### Upgrading-Moved to [Upgrading to a release](../production/upgrade-or-modify.html#upgrading-to-a-release).+Moved to [Upgrading to a release](upgrade-or-modify.html#upgrading-to-a-release).### Upgrading from a Git repositoryMoved to [Upgrading from a Git-repository](../production/upgrade-or-modify.html#upgrading-from-a-git-repository).+repository](upgrade-or-modify.html#upgrading-from-a-git-repository).### Upgrading the operating systemMoved to [Upgrading the operating-system](../production/upgrade-or-modify.html#upgrading-the-operating-system).+system](upgrade-or-modify.html#upgrading-the-operating-system).### Scalability-Moved to [Scalability](../production/requirements.html#scalability).+Moved to [Scalability](requirements.html#scalability).### Management commands-Moved to [Management commands](../production/management-commands.md).+Moved to [Management commands](management-commands.md).### API and your Zulip URLdiff --git a/docs/production/management-commands.md b/docs/production/management-commands.mdindex 972654220d6..8d1b281dffd 100644--- a/docs/production/management-commands.md+++ b/docs/production/management-commands.md@@ -52,7 +52,7 @@ containing system-internal bots like `Notification Bot`; you areunlikely to ever need to interact with that realm.)Unless you are-[hosting multiple organizations on your Zulip server](../production/multiple-organizations.md),+[hosting multiple organizations on your Zulip server](multiple-organizations.md),your single Zulip organization on the root domain will have the emptystring (`''`) as its `string_id`. So you can run e.g.:@@ -123,7 +123,7 @@ There are dozens of useful management commands underUI](https://zulip.com/help/change-a-users-role)) or give bots the`can_forge_sender` permission, which is needed for certain special API features.- `./manage.py export_single_user`: does a limited version of the [main- export tools](../production/export-and-import.md) containing just+ export tools](export-and-import.md) containing justthe messages accessible by a single user.- `./manage.py reactivate_realm`: Reactivates a realm.- `./manage.py deactivate_user`: Deactivates a user. This can be done@@ -171,12 +171,12 @@ the Zulip server.Instead, we recommend deploying custom management commands either viathe [modifying Zulip][modifying-zulip] process or by storing them in`/etc/zulip` (so they are included in-[backups](../production/export-and-import.html#backups)) and then+[backups](export-and-import.html#backups)) and thensymlinking them into`/home/zulip/deployments/current/zerver/management/` after eachupgrade.-[modifying-zulip]: ../production/upgrade-or-modify.html#modifying-zulip+[modifying-zulip]: upgrade-or-modify.html#modifying-zulip[writing-bots]: https://zulip.com/api/writing-bots[integrations]: https://zulip.com/integrations[zulip-api]: https://zulip.com/api/restdiff --git a/docs/production/mobile-push-notifications.md b/docs/production/mobile-push-notifications.mdindex 3d8efa4acf6..13d7033d319 100644--- a/docs/production/mobile-push-notifications.md+++ b/docs/production/mobile-push-notifications.md@@ -18,7 +18,7 @@ support forwarding push notifications to a central push notificationforwarding service. Accessing this service requires outgoing HTTPSaccess to the public Internet; if that is restricted by a proxy, youwill need to [configure Zulip to use your outgoing HTTP-proxy](../production/deployment.html#customizing-the-outgoing-http-proxy)+proxy](deployment.html#customizing-the-outgoing-http-proxy)first.You can enable this for your Zulip server as follows:@@ -27,7 +27,7 @@ You can enable this for your Zulip server as follows:`PUSH_NOTIFICATION_BOUNCER_URL = 'https://push.zulipchat.com'` linein your `/etc/zulip/settings.py` file (i.e. remove the `#` at thestart of the line), and [restart your Zulip- server](../production/settings.html#making-changes). If you+ server](settings.html#making-changes). If youinstalled your Zulip server with a version older than 1.6, you'llneed to add the line (it won't be there to uncomment).diff --git a/docs/production/multiple-organizations.md b/docs/production/multiple-organizations.mdindex 2f08dd27016..dccb96253a6 100644--- a/docs/production/multiple-organizations.md+++ b/docs/production/multiple-organizations.md@@ -55,7 +55,7 @@ the homepage for the server is a copy of the Zulip homepage.You'll need to install an SSL certificate valid for all the(sub)domains you're using your Zulip server with. You can get an SSLcertificate covering several domains for free by using-[our Certbot wrapper tool](../production/ssl-certificates.html#after-zulip-is-already-installed),+[our Certbot wrapper tool](ssl-certificates.html#after-zulip-is-already-installed),though if you're going to host a large number of organizations, youmay want to get a wildcard certificate. You can also get a wildcardcertificate fordiff --git a/docs/production/password-strength.md b/docs/production/password-strength.mdindex 78a4f11a188..b5bc844e5f1 100644--- a/docs/production/password-strength.md+++ b/docs/production/password-strength.md@@ -8,7 +8,7 @@ When a user tries to set a password, we use [zxcvbn][zxcvbn] to checkthat it isn't a weak one.See discussion in [our main docs for server-admins](../production/security-model.html#passwords). This doc explains in more+admins](security-model.html#passwords). This doc explains in moredetail how we set the default threshold (`PASSWORD_MIN_GUESSES`) we use.First, read the doc section there. (It's short.)diff --git a/docs/production/postgresql.md b/docs/production/postgresql.mdindex f42b2439b01..2a8ffeb245f 100644--- a/docs/production/postgresql.md+++ b/docs/production/postgresql.md@@ -10,7 +10,7 @@ included with the base operating system (E.g. PostgreSQL 12 on UbuntuPostgreSQL releases [upgrade to PostgreSQL 14][upgrade-postgresql], aswe may drop support for older PostgreSQL in a future release.-[upgrade-postgresql]: ../production/upgrade-or-modify.html#upgrading-postgresql+[upgrade-postgresql]: upgrade-or-modify.html#upgrading-postgresql#### Remote PostgreSQL databasediff --git a/docs/production/requirements.md b/docs/production/requirements.mdindex 64ecdacf9cf..feecff1dc06 100644--- a/docs/production/requirements.md+++ b/docs/production/requirements.md@@ -16,7 +16,7 @@ To run a Zulip server, you will need:For details on each of these requirements, see below.-[upgrade-from-git]: ../production/upgrade-or-modify.html#upgrading-from-a-git-repository+[upgrade-from-git]: upgrade-or-modify.html#upgrading-from-a-git-repository## Server@@ -52,7 +52,7 @@ sudo apt update```[docker-zulip-homepage]: https://github.com/zulip/docker-zulip#readme-[upgrade-os]: ../production/upgrade-or-modify.html#upgrading-the-operating-system+[upgrade-os]: upgrade-or-modify.html#upgrading-the-operating-system[ubuntu-repositories]: https://help.ubuntu.com/community/Repositories/Ubuntu[enable-universe]: https://help.ubuntu.com/community/Repositories/CommandLine#Adding_the_Universe_and_Multiverse_Repositories@@ -77,13 +77,13 @@ on hardware requirements for larger organizations.#### Network and security specifications- Incoming HTTPS access (usually port 443, though this is- [configurable](../production/deployment.html#using-an-alternate-port))+ [configurable](deployment.html#using-an-alternate-port))from the networks where your users are (usually, the publicInternet).- Incoming port 80 access (optional). Zulip only serves content overHTTPS, and will redirect HTTP requests to HTTPS.- Incoming port 25 if you plan to enable Zulip's [incoming email- integration](../production/email-gateway.md).+ integration](email-gateway.md).- Incoming port 4369 should be protected by a firewall to preventexposing `epmd`, an Erlang service which does not support bindingonly to localhost. Leaving this exposed will allow unauthenticated@@ -95,7 +95,7 @@ on hardware requirements for larger organizations.[disable thosefeatures](https://zulip.com/help/allow-image-link-previews).- Outgoing SMTP access (usually port 587) to your [SMTP- server](../production/email.md) so that Zulip can send emails.+ server](email.md) so that Zulip can send emails.- A domain name (e.g. `zulip.example.com`) that your users will use toaccess the Zulip server. In order to generate valid SSLcertificates [with Certbot][doc-certbot], and to enable other@@ -111,8 +111,8 @@ on hardware requirements for larger organizations.Zulip supports using that instead.[ssrf]: https://owasp.org/www-community/attacks/Server_Side_Request_Forgery-[smokescreen-proxy]: ../production/deployment.html#customizing-the-outgoing-http-proxy-[reverse-proxy]: ../production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy+[smokescreen-proxy]: deployment.html#customizing-the-outgoing-http-proxy+[reverse-proxy]: deployment.html#putting-the-zulip-application-behind-a-reverse-proxy[email-mirror-code]: https://github.com/zulip/zulip/blob/main/zerver/management/commands/email_mirror.py## Credentials needed@@ -145,7 +145,7 @@ certificate documentation](ssl-certificates.md).[free outgoing SMTP options and options for prototyping](email.html#free-outgoing-email-services).Once you have met these requirements, see [full instructions for installing-Zulip in production](../production/install.md).+Zulip in production](install.md).[trusty-eol]: https://wiki.ubuntu.com/Releases@@ -167,7 +167,7 @@ server services, Django dominates the resource requirements. One canrun every service on its own system (as[docker-zulip](https://github.com/zulip/docker-zulip) does) but formost use cases, there's little scalability benefit to doing so. See-[deployment options](../production/deployment.md) for details on+[deployment options](deployment.md) for details oninstalling Zulip with a dedicated database server.- **Dedicated database**. For installations with hundreds of daily@@ -240,6 +240,6 @@ For readers interested in technical details around what featuresimpact Zulip's scalability, this [performance and scalability designdocument](../subsystems/performance.md) may also be of interest.-[s3-uploads]: ../production/upload-backends.html#s3-backend-configuration-[streaming-replication]: ../production/deployment.html#postgresql-warm-standby+[s3-uploads]: upload-backends.html#s3-backend-configuration+[streaming-replication]: deployment.html#postgresql-warm-standby[contact-support]: https://zulip.com/help/contact-supportdiff --git a/docs/production/security-model.md b/docs/production/security-model.mdindex 002aa94a36b..5595783afcf 100644--- a/docs/production/security-model.md+++ b/docs/production/security-model.md@@ -38,7 +38,7 @@ announcement).- The preferred way to log in to Zulip is using a single sign-on (SSO)solution like Google authentication, LDAP, or similar, but Zulipalso supports password authentication. See [the authentication- methods documentation](../production/authentication-methods.md) for+ methods documentation](authentication-methods.md) fordetails on Zulip's available authentication methods.### Passwords@@ -67,7 +67,7 @@ strength allowed is controlled by two settings inBy default, `PASSWORD_MIN_GUESSES` is 10000. This providessignificant protection against online attacks, while limiting theburden imposed on users choosing a password. See- [password strength](../production/password-strength.md) for an extended+ [password strength](password-strength.md) for an extendeddiscussion on how we chose this value.Estimating the guessability of a password is a complex problem and@@ -272,8 +272,8 @@ strength allowed is controlled by two settings in[go-camo]: https://github.com/cactus/go-camo[ssrf]: https://owasp.org/www-community/attacks/Server_Side_Request_Forgery-[smokescreen-setup]: ../production/deployment.html#customizing-the-outgoing-http-proxy-[proxy.enable_for_camo]: ../production/deployment.html#enable-for-camo+[smokescreen-setup]: deployment.html#customizing-the-outgoing-http-proxy+[proxy.enable_for_camo]: deployment.html#enable-for-camo## Final notes and security responsediff --git a/docs/production/settings.md b/docs/production/settings.mdindex 2b9320a53d0..ab614655d2d 100644--- a/docs/production/settings.md+++ b/docs/production/settings.md@@ -28,7 +28,7 @@ from an old version of Zulip, we recommend [carefully updating yourcomment documentation for new configuration settings after upgradingto each new major release.-[update-settings-docs]: ../production/upgrade-or-modify.html#updating-settings-py-inline-documentation+[update-settings-docs]: upgrade-or-modify.html#updating-settings-py-inline-documentation[settings-py-template]: https://github.com/zulip/zulip/blob/main/zproject/prod_settings_template.pySince Zulip's settings file is a Python script, there are a number of@@ -61,7 +61,7 @@ If you want an additional or different authentication backend, youwill need to uncomment one or more and then do any additionalconfiguration required for that backend as documented in the`settings.py` file. See the-[section on authentication](../production/authentication-methods.md) for more+[section on authentication](authentication-methods.md) for moredetail on the available authentication backends and how to configurethem.@@ -112,9 +112,9 @@ Some popular settings in `/etc/zulip/settings.py` include:- The Twitter integration, which provides pretty inline previews oftweets.-- The [email gateway](../production/email-gateway.md), which lets+- The [email gateway](email-gateway.md), which letsusers send emails into Zulip.-- The [Video call integrations](../production/video-calls.md).+- The [Video call integrations](video-calls.md).## Zulip announcement list@@ -132,5 +132,5 @@ request; we love even small contributions, and we'd love to make theZulip documentation cover everything anyone might want to know aboutrunning Zulip in production.-Next: [Backups, export and import](../production/export-and-import.md) and-[upgrading](../production/upgrade-or-modify.md) Zulip in production.+Next: [Backups, export and import](export-and-import.md) and+[upgrading](upgrade-or-modify.md) Zulip in production.diff --git a/docs/production/ssl-certificates.md b/docs/production/ssl-certificates.mdindex 182322309bb..3bce35cec42 100644--- a/docs/production/ssl-certificates.md+++ b/docs/production/ssl-certificates.md@@ -81,7 +81,7 @@ Internet.If you need to configure a multiple domain certificate, you can generateone as described in the section below after installing Zulip.-[doc-install-script]: ../production/install.html#step-2-install-zulip+[doc-install-script]: install.html#step-2-install-zulip### After Zulip is already installeddiff --git a/docs/production/upgrade-or-modify.md b/docs/production/upgrade-or-modify.mdindex 87aa459ef2e..a0d27069e5f 100644--- a/docs/production/upgrade-or-modify.md+++ b/docs/production/upgrade-or-modify.md@@ -60,7 +60,7 @@ involved (these will be documented in the [releasenotes](../overview/changelog.md), and usually can be avoided withsome care). If downtime is problematic for your organization,consider testing the upgrade on a-[backup](../production/export-and-import.html#backups) in advance,+[backup](export-and-import.html#backups) in advance,doing the final upgrade at off hours, or buying a support contract.See the [troubleshooting guide](#troubleshooting-and-rollback) if you@@ -156,13 +156,13 @@ suggest using that updated template to updatesu zulip -c '/home/zulip/deployments/current/scripts/restart-server'```-[backups]: ../production/export-and-import.html#backups+[backups]: export-and-import.html#backups[changelog]: ../overview/changelog.md## Troubleshooting and rollbackSee also the general Zulip server [troubleshooting-guide](../production/troubleshooting.md).+guide](troubleshooting.md).The upgrade scripts are idempotent, so there's no harm in trying againafter resolving an issue. The most common causes of errors are:@@ -800,7 +800,7 @@ upgrading to `main`, make sure you understand:- We do not support downgrading from `main` to earlier versions, soif downtime for your Zulip server is unacceptable, make sure youhave a current- [backup](../production/export-and-import.html#backups) in case the+ [backup](export-and-import.html#backups) in case theupgrade fails.- Our changelog contains [draft releasenotes](../overview/changelog.md) available listing major changesdiff --git a/docs/subsystems/api-release-checklist.md b/docs/subsystems/api-release-checklist.mdindex d51e7d46de0..d576e176d2d 100644--- a/docs/subsystems/api-release-checklist.md+++ b/docs/subsystems/api-release-checklist.md@@ -50,7 +50,7 @@ checklist of things one must do before making a PyPI release:See [the tag][example-tag] and [the commit][example-commit] for the 0.8.1 releaseto see an example.-Now it is time to [update the dependencies](../subsystems/dependencies) in the+Now it is time to [update the dependencies](dependencies) in the[Zulip server repository][zulip-repo]:1. Increment `PROVISION_VERSION` in `version.py`. A minor version bump should suffice indiff --git a/docs/subsystems/caching.md b/docs/subsystems/caching.mdindex 2afcec0f74f..fab3ffb1c66 100644--- a/docs/subsystems/caching.md+++ b/docs/subsystems/caching.md@@ -256,7 +256,7 @@ avatars, similar details for streams, recent message history, etc.This data is fetched in the `/register` endpoint (or `page_params`for the web app), and kept correct over time. The key to keeping thesestate up to date is Zulip's-[real-time events system](../subsystems/events-system.md), which+[real-time events system](events-system.md), whichallows the server to notify clients whenever state that might becached by clients is changed. Clients are responsible for handlingthe events, updating their state, and rerendering any UI componentsdiff --git a/docs/subsystems/client.md b/docs/subsystems/client.mdindex 742fff42412..ee9cc82eb9d 100644--- a/docs/subsystems/client.md+++ b/docs/subsystems/client.md@@ -13,7 +13,7 @@ of Zulip; it's primarily intended to assist debugging.A `Client` is used to sort messages into client categories such as`ZulipElectron` on the `/stats` page. For more information see,-[Analytics](../subsystems/analytics.md).+[Analytics](analytics.md).## Integrationsdiff --git a/docs/subsystems/dependencies.md b/docs/subsystems/dependencies.mdindex fdd89397184..a63fe29c3ba 100644--- a/docs/subsystems/dependencies.md+++ b/docs/subsystems/dependencies.md@@ -232,7 +232,7 @@ reasoning here.dependencies in the `yarn.lock` file; `yarn install` updates the`yarn.lock` files.- `tools/update-prod-static`. This process is discussed in detail in- the [static asset pipeline](../subsystems/html-css.html#static-asset-pipeline)+ the [static asset pipeline](html-css.html#static-asset-pipeline)article, but we don't use the `node_modules` directories directly inproduction. Instead, static assets are compiled using our staticasset pipeline and it is the compiled assets that are served@@ -290,7 +290,7 @@ Zulip uses the [iamcal emoji data package][iamcal] for its emoji dataand sprite sheets. We download this dependency using `npm`, and thenhave a tool, `tools/setup/build_emoji`, which reformats the emoji datainto the files under `static/generated/emoji`. Those files are in-turn used by our [Markdown processor](../subsystems/markdown.md) and+turn used by our [Markdown processor](markdown.md) and`tools/update-prod-static` to make Zulip's emoji work in the variousenvironments where they need to be displayed.diff --git a/docs/subsystems/email.md b/docs/subsystems/email.mdindex 6ff0a82d449..1cdd30f11e7 100644--- a/docs/subsystems/email.md+++ b/docs/subsystems/email.md@@ -44,7 +44,7 @@ Email takes about a quarter second per email to process and send. Generallyspeaking, if you're sending just one email, doing it in the current processis fine. If you're sending emails in a loop, you probably want to send itfrom a queue. Documentation on our queueing system is available-[here](../subsystems/queuing.md).+[here](queuing.md).## Development and testingdiff --git a/docs/subsystems/emoji.md b/docs/subsystems/emoji.mdindex bf71396e822..d15a9c0a1a1 100644--- a/docs/subsystems/emoji.md+++ b/docs/subsystems/emoji.md@@ -64,7 +64,7 @@ The `build_emoji` tool generates the set of files under`static/generated/emoji` is a symlink to that tree; we do this inorder to cache old versions to make provisioning and productiondeployments super fast in the common case that we haven't changed the-emoji tooling). See [our dependencies document](../subsystems/dependencies.md)+emoji tooling). See [our dependencies document](dependencies.md)for more details on this strategy.The emoji tree generated by this process contains several import elements:@@ -80,7 +80,7 @@ The emoji tree generated by this process contains several import elements:- `images/emoji/*.png`: A farm of symlinks from emoji names to the`images/emoji/unicode/` tree. This is used to serve individual emojiimages, as well as for the- [backend Markdown processor](../subsystems/markdown.md) to know which emoji+ [backend Markdown processor](markdown.md) to know which emojinames exist and what Unicode emoji / images they map to. In thistree, we currently include all of the emoji in `emoji-map.json`;this means that if you send `:angry_face:`, it won't autocomplete,diff --git a/docs/subsystems/events-system.md b/docs/subsystems/events-system.mdindex 816c2818f64..9574a041e5e 100644--- a/docs/subsystems/events-system.md+++ b/docs/subsystems/events-system.md@@ -162,7 +162,7 @@ its data, clients would recover, just as if they had lost Internetaccess briefly (there is some DoS risk to manage, though).Note that the garbage-collection system has hooks that are important-for the implementation of [notifications](../subsystems/notifications.md).+for the implementation of [notifications](notifications.md).(The event queue server is designed to save any event queues to diskand reload them when the server is restarted, and catches exceptions@@ -407,7 +407,7 @@ correctly, clients are responsible for discarding events related tomessages that the client has not yet fetched.Additionally, see-[the main documentation on sending messages](../subsystems/sending-messages.md).+[the main documentation on sending messages](sending-messages.md).## Schema changesdiff --git a/docs/subsystems/hashchange-system.md b/docs/subsystems/hashchange-system.mdindex 697829a6b87..4ffa6395f34 100644--- a/docs/subsystems/hashchange-system.md+++ b/docs/subsystems/hashchange-system.md@@ -121,4 +121,4 @@ box as a draft).[testing-with-puppeteer]: ../testing/testing-with-puppeteer.md[self-server-reloads]: #server-initiated-reloads-[events-system]: ../subsystems/events-system.md+[events-system]: events-system.mddiff --git a/docs/subsystems/html-css.md b/docs/subsystems/html-css.mdindex 9e5e2693f8e..295aac3791b 100644--- a/docs/subsystems/html-css.md+++ b/docs/subsystems/html-css.md@@ -145,7 +145,7 @@ developing new features for Zulip that require front-end changes,especially those that involve adding new files. For a more generaloverview, see the [new feature tutorial](../tutorials/new-feature-tutorial.md).-Our [dependencies documentation](../subsystems/dependencies.md) has useful+Our [dependencies documentation](dependencies.md) has usefulrelevant background as well.### Primary build processdiff --git a/docs/subsystems/logging.md b/docs/subsystems/logging.mdindex 6f873d79b86..869530ae550 100644--- a/docs/subsystems/logging.md+++ b/docs/subsystems/logging.md@@ -167,7 +167,7 @@ and report to the server the following whenever a message is sent:- Whether the message was locally echoed.- If so, whether there was a disparity between the echoed content andthe server-rendered content, which can be used for statistics on how- effective our [local echo system](../subsystems/markdown.md) is.+ effective our [local echo system](markdown.md) is.The code is all in `zerver/lib/report.py` and `static/js/sent_messages.js`.diff --git a/docs/subsystems/notifications.md b/docs/subsystems/notifications.mdindex bdc165887bc..fcdc1d63ce3 100644--- a/docs/subsystems/notifications.md+++ b/docs/subsystems/notifications.md@@ -3,7 +3,7 @@This is a design document aiming to provide context for developersworking on Zulip's email notifications and mobile push notificationscode paths. We recommend first becoming familiar with [sending-messages](../subsystems/sending-messages.md); this document expands on+messages](sending-messages.md); this document expands onthe details of the email/mobile push notifications code path.## Important corner cases@@ -43,7 +43,7 @@ as follows:structure ignores users for whom the message is not notifiable,which is important to avoid this being thousands of `user_ids` formessages to large streams with few currently active users.-- The Tornado [event queue system](../subsystems/events-system.md)+- The Tornado [event queue system](events-system.md)processes that data, as well as data about each user's active eventqueues, to (1) push an event to each queue needing that message and(2) for notifiable messages, pushing an event onto the@@ -64,7 +64,7 @@ as follows:if a user was present 1 minute before a message was sent, and thenclosed their laptop, the user will not be in`presence_idle_user_ids` (because it takes a- [few minutes](../subsystems/presence.md) of being idle for Zulip+ [few minutes](presence.md) of being idle for Zulipclients to declare to the server that the user is actually idle),and so without an additional mechanism, messages sent shortly aftera user leaves would never trigger a notification (!).diff --git a/docs/subsystems/performance.md b/docs/subsystems/performance.mdindex 032a59ea524..12cfdfd0e12 100644--- a/docs/subsystems/performance.md+++ b/docs/subsystems/performance.md@@ -38,7 +38,7 @@ of load profiles:example for this, with more than 15K total user accounts, of whichonly several hundred have logged in during the last few weeks.Zulip has many important optimizations, including [soft- deactivation](../subsystems/sending-messages.html#soft-deactivation)+ deactivation](sending-messages.html#soft-deactivation)to ensure idle users have minimal impact on both server-sidescalability and request latency.- Fulltime teams, like your typical corporate Zulip installation,@@ -114,7 +114,7 @@ is negligible.### TornadoZulip's Tornado-based [real-time push-system](../subsystems/events-system.md), and in particular+system](events-system.md), and in particular`GET /events`, accounts for something like 50% of all HTTP requests toa production Zulip server. Despite `GET /events` being extremelyhigh-volume, the typical request takes 1-3ms to process, and doesn't@@ -149,7 +149,7 @@ thousands of concurrent users.presence information and return the information for all other activeusers in the organization, account for about 36% of all HTTP requestson production Zulip servers. See-[presence](../subsystems/presence.md) for details on this system and+[presence](presence.md) for details on this system andhow it's optimized. For this article, it's important to know thatpresence is one of the most important scalability concerns for anychat system, because it cannot be cached long, and is structurally a@@ -249,7 +249,7 @@ it does a large number of these requests:zulip.com, this can result in a thundering herd effect for both `/`and `GET /messages`. A great deal of care has been taking indesigning this [auto-reload- system](../subsystems/hashchange-system.html#server-initiated-reloads)+ system](hashchange-system.html#server-initiated-reloads)to spread most of that herd over several minutes.Typical requests consume 20-100ms to process, much of which is waiting@@ -295,7 +295,7 @@ as it navigates around the app.### Sending and editing messages-[Sending new messages](../subsystems/sending-messages.md) (including+[Sending new messages](sending-messages.md) (includingincoming webhooks) represents less than 0.5% of total request volume.That this number is small should not be surprising even though sendingmessages is intuitively the main feature of a chat service: a message@@ -303,7 +303,7 @@ sent to 50 users triggers ~50 `GET /events` requests.A typical message-send request takes 20-70ms, with more expensiverequests typically resulting from [Markdown-rendering](../subsystems/markdown.md) of more complex syntax. As a+rendering](markdown.md) of more complex syntax. As aresult, these requests are not material to Zulip's scalability.Editing messages and adding emoji reactions are very similar tosending them for the purposes of performance and scalability, since@@ -335,7 +335,7 @@ scalability of a Zulip server.The above doesn't cover all of the work that a production Zulip serverdoes; various tasks like sending outgoing emails or recording the datathat powers [/stats](https://zulip.com/help/analytics) are run by-[queue processors](../subsystems/queuing.md) and cron jobs, not in+[queue processors](queuing.md) and cron jobs, not inresponse to incoming HTTP requests. In practice, all of these havebeen written such that they are immaterial to total load and thusarchitectural scalability, though we do from time to time need to do@@ -358,7 +358,7 @@ Python/CPU time (being harder to scale horizontally).Most optimizations to make an endpoint cheaper will start withoptimizing the database queries and/or employing-[caching](../subsystems/caching.md), and then continue as needed with+[caching](caching.md), and then continue as needed withprofiling of the Python code and any memcached queries.For a handful of the critical code paths listed above, we further@@ -367,7 +367,7 @@ for narrow sections; typically this is sufficient to result in thedatabase query time dominating that spent by the Python applicationserver process.-Zulip's [server logs](../subsystems/logging.md) are designed to+Zulip's [server logs](logging.md) are designed toprovide insight when a request consumes significant database ormemcached resources, which is useful both in development and inproduction.diff --git a/docs/subsystems/sending-messages.md b/docs/subsystems/sending-messages.mdindex d85d53c2c82..d26165fb3d6 100644--- a/docs/subsystems/sending-messages.md+++ b/docs/subsystems/sending-messages.md@@ -7,7 +7,7 @@ experience.This document aims to explain conceptually what happens when a messageis sent in Zulip, and why that is correct behavior. It assumes thereader is familiar with our-[real-time sync system](../subsystems/events-system.md) for+[real-time sync system](events-system.md) forserver-to-client communication and[new application feature tutorial](../tutorials/new-feature-tutorial.md),and we generally don't repeat the content discussed there.@@ -53,13 +53,13 @@ This section details the ways in which it is different:function in `zerver/tornado/event_queue.py`. This custom code has anumber of purposes:- Triggering [email and mobile push- notifications](../subsystems/notifications.md) for any users who+ notifications](notifications.md) for any users whodo not have active clients and have settings of the form "pushnotifications when offline". In order to avoid doing any realcomputational work inside the Tornado codebase, this logic aimsto just do the check for whether a notification should begenerated, and then put an event into an appropriate- [queue](../subsystems/queuing.md) to actually send the message.+ [queue](queuing.md) to actually send the message.See `maybe_enqueue_notifications` and `zerver/lib/notification_data.py` forthis part of the logic.- Splicing user-dependent data (E.g. `flags` such as when the user@@ -73,7 +73,7 @@ This section details the ways in which it is different:- Following our standard naming convention, input validation is doneinside the `check_message` function in `zerver/lib/actions.py`, which is responsible forvalidating the user can send to the recipient,- [rendering the Markdown](../subsystems/markdown.md), etc. --+ [rendering the Markdown](markdown.md), etc. --basically everything that can fail due to bad user input.- The core `do_send_messages` function (which handles actually sendingthe message) in `zerver/lib/actions.py` is one of the most optimized and thus complex parts of@@ -89,7 +89,7 @@ This section details the ways in which it is different:open organizations.- Do all the database queries to fetch relevant data for and thensend a `message` event to the- [events system](../subsystems/events-system.md) containing the+ [events system](events-system.md) containing thedata it will need for the calculations described above. Thisstep adds a lot of complexity, because the events system cannotmake queries to the database directly.@@ -115,7 +115,7 @@ browser, and then replace it with data from the server when itchanges.Zulip aims for a near-perfect local echo experience, which requires is-why our [Markdown system](../subsystems/markdown.md) requires both+why our [Markdown system](markdown.md) requires bothan authoritative (backend) Markdown implementation and a secondary(frontend) Markdown implementation, the latter used only for the localecho feature. Read our Markdown documentation for all the tricky@@ -151,7 +151,7 @@ messages.unique value within that namespace identifying the message.- The `do_send_messages` backend code path includes the `queue_id` and`local_id` in the data it passes to the- [events system](../subsystems/events-system.md). The events+ [events system](events-system.md). The eventssystem will extend the `message` event dictionary it delivers tothe client containing the `queue_id` with `local_message_id` field,containing the `local_id` that the relevant client used when sending@@ -238,7 +238,7 @@ users.message without including the URL embeds/previews, but it will add adeferred work item into the `embed_links` queue.-- The [queue processor](../subsystems/queuing.md) for the+- The [queue processor](queuing.md) for the`embed_links` queue will fetch the URLs, and then if they returnresults, rerun the Markdown processor and notify clients of theupdated message `rendered_content`.@@ -286,7 +286,7 @@ latency was unacceptable: The server backend was introducing a latencyof about 1 second per 2000 users subscribed to receive the message.While these delays may not be immediately obvious to users (Zulip,like many other chat applications,-[local echoes](../subsystems/markdown.md) messages that a user sends+[local echoes](markdown.md) messages that a user sendsas soon as the user hits “Send”), latency beyond a second or twosignificantly impacts the feeling of interactivity in a chatexperience (i.e. it feels like everyone takes a long time to reply to@@ -378,7 +378,7 @@ the extra 4500 inactive subscribers didn’t exist.There are a few details that require special care with this system:- [Email and mobile push- notifications](../subsystems/notifications.md). We need to make+ notifications](notifications.md). We need to makesure these are still correctly delivered to soft-deactivated users;making this work required careful work for those code paths thatassumed a `UserMessage` row would always exist for a message thatdiff --git a/docs/subsystems/typing-indicators.md b/docs/subsystems/typing-indicators.mdindex 7692edb0704..ef14635dec6 100644--- a/docs/subsystems/typing-indicators.md+++ b/docs/subsystems/typing-indicators.md@@ -69,7 +69,7 @@ how long they pause to think, and how frequently they get interrupted.The server piece of typing notifications is currently prettystraightforward, since we take advantage of Zulip's-[events system](../subsystems/events-system.md).+[events system](events-system.md).We deliberately designed the server piece to be stateless,which minimizes the possibility of backend bugs and gives clientsdiff --git a/docs/testing/continuous-integration.md b/docs/testing/continuous-integration.mdindex 199d068bddb..e8ab18cca90 100644--- a/docs/testing/continuous-integration.md+++ b/docs/testing/continuous-integration.md@@ -64,7 +64,7 @@ depend on the version of the base OS and/or Python.Our code for running the tests in CI lives under `tools/ci`; but thatlogic is mostly thin wrappers around [Zulip's test-suites](../testing/testing.md) or production installer.+suites](testing.md) or production installer.The `Legacy OS` tests are designed to ensure we give good errormessages when trying to upgrade Zulip servers running on very old basediff --git a/docs/testing/linters.md b/docs/testing/linters.mdindex 98473bd8ea4..8a03bbe1501 100644--- a/docs/testing/linters.md+++ b/docs/testing/linters.md@@ -101,7 +101,7 @@ find limitations in either the Zulip home-grown stuff or our third partytools, feedback will be highly appreciated.Finally, one way to clean up your code is to thoroughly exercise it-with tests. The [Zulip test documentation](../testing/testing.md)+with tests. The [Zulip test documentation](testing.md)describes our test system in detail.## Lint checks@@ -120,7 +120,7 @@ following checks:- Check CSS for parsability and formatting.- Check JavaScript code for addClass calls.- Running `mypy` to check static types in Python code. Our- [documentation on using mypy](../testing/mypy.md) covers mypy in+ [documentation on using mypy](mypy.md) covers mypy inmore detail.- Running `tsc` to compile TypeScript code. Our [documentation onTypeScript](typescript.md) covers TypeScript in more detail.diff --git a/docs/testing/testing-with-node.md b/docs/testing/testing-with-node.mdindex 25678a0187b..57d06a1eccb 100644--- a/docs/testing/testing-with-node.md+++ b/docs/testing/testing-with-node.md@@ -2,7 +2,7 @@Our node-based unit tests system is the preferred way to testJavaScript/TypeScript code in Zulip. We prefer it over the [Puppeteer-black-box whole-app testing](../testing/testing-with-puppeteer.md),+black-box whole-app testing](testing-with-puppeteer.md),system since it is much (>100x) faster and also easier to do correctlythan the Puppeteer system.@@ -50,7 +50,7 @@ A good first test to read is## How the node tests work-Unlike the [Puppeteer unit tests](../testing/testing-with-puppeteer.md),+Unlike the [Puppeteer unit tests](testing-with-puppeteer.md),which use a headless Chromium browser connected to a running Zulipdevelopment server, our node unit tests don't have a browser, don'ttalk to a server, and generally don't use a complete virtual DOM (adiff --git a/docs/testing/testing-with-puppeteer.md b/docs/testing/testing-with-puppeteer.mdindex 77abd44a367..26f801ccbf7 100644--- a/docs/testing/testing-with-puppeteer.md+++ b/docs/testing/testing-with-puppeteer.md@@ -1,6 +1,6 @@# Web frontend black-box Puppeteer tests-While our [node test suite](../testing/testing-with-node.md) is the+While our [node test suite](testing-with-node.md) is thepreferred way to test most frontend code because they are easy towrite and maintain, some code is best tested in a real browser, eitherbecause of navigation (E.g. login) or because we want to verify the@@ -64,7 +64,7 @@ familiar with [async/await][learn-async-await].The following questions are useful when debugging Puppeteer testfailures you might see in [continuous-integration](../testing/continuous-integration.md):+integration](continuous-integration.md):- Does the flow being tested work properly in the Zulip browser UI?Test failures can reflect real bugs, and often it's easier and more@@ -159,7 +159,7 @@ notes above:- The test suite uses a smaller set of default user accounts and otherdata initialized in the database than the normal developmentenvironment; specifically, it uses the same setup as the [backend- tests](../testing/testing-with-django.md). To see what differs from+ tests](testing-with-django.md). To see what differs fromthe development environment, check out the conditions on`options["test_suite"]` in`zilencer/management/commands/populate_db.py`.diff --git a/docs/testing/testing.md b/docs/testing/testing.mdindex 916961a02b4..b980256608f 100644--- a/docs/testing/testing.md+++ b/docs/testing/testing.md@@ -8,9 +8,9 @@ similar.This page focused on the mechanics of running automated tests in a[development environment](../development/overview.md); you may also-want to read about our [testing philosophy](../testing/philosophy.md)+want to read about our [testing philosophy](philosophy.md)and [continuous integration-setup](../testing/continuous-integration.md).+setup](continuous-integration.md).Manual testing with a web browser is primarily discussed in the docson [using the development environment](../development/using.md).@@ -48,11 +48,11 @@ useful options are discussed in each tool's documentation (e.g.Zulip has a handful of major tests suite that every developer willeventually work with, each with its own page detailing how it works:-- [Linters](../testing/linters.md): Our dozen or so linters run in parallel.-- [Django](../testing/testing-with-django.md): Server/backend Python tests.-- [Node](../testing/testing-with-node.md): JavaScript tests for the+- [Linters](linters.md): Our dozen or so linters run in parallel.+- [Django](testing-with-django.md): Server/backend Python tests.+- [Node](testing-with-node.md): JavaScript tests for thefrontend run via node.js.-- [Puppeteer](../testing/testing-with-puppeteer.md): End-to-end+- [Puppeteer](testing-with-puppeteer.md): End-to-endUI tests run via a Chromium browser.## Other test suites@@ -126,7 +126,7 @@ This is easy to do using test fixtures (a fancy word for fixed dataused in tests) and the `mock.patch` function to specify what HTTPresponse should be used by the tests for every outgoing HTTP (or othernetwork) request. Consult-[our guide on mocking](../testing/testing-with-django.html#zulip-mocking-practices) to+[our guide on mocking](testing-with-django.html#zulip-mocking-practices) tolearn how to mock network requests easily; there are also a number ofexamples throughout the codebase.diff --git a/docs/testing/typescript.md b/docs/testing/typescript.mdindex 5b30a0d1e88..b2fab274dc0 100644--- a/docs/testing/typescript.md+++ b/docs/testing/typescript.md@@ -4,7 +4,7 @@ Zulip is early in the process of migrating our codebase to use[TypeScript](https://www.typescriptlang.org/), the leading static typesystem for JavaScript. It works as an extension of the ES6 JavaScriptstandard, and provides similar benefits to our use of-[the mypy static type system for Python](../testing/mypy.md).+[the mypy static type system for Python](mypy.md).We expect to eventually migrate the entire JavaScript codebase toTypeScript, though our current focus is on getting the tooling anddiff --git a/docs/translating/internationalization.md b/docs/translating/internationalization.mdindex 011d7bd8b7d..d9ee9eae1af 100644--- a/docs/translating/internationalization.md+++ b/docs/translating/internationalization.md@@ -26,7 +26,7 @@ principles are important in how we think about internationalization:element needs to be built in a way that supports i18n.- This is more about string consistency in general, but we have a"Sentence case" [capitalization- policy](../translating/translating.html#capitalization) that we enforce using linters+ policy](translating.html#capitalization) that we enforce using lintersthat check all strings tagged for translation in Zulip.This article aims to provide a brief introduction. We recommend the@@ -108,7 +108,7 @@ The end-to-end tooling process for translations in Zulip is as follows.Transifex API tool, `tx pull`, internally).If you're interested, you may also want to check out the [translators'-workflow](../translating/translating.html#translators-workflow), just so you have a+workflow](translating.html#translators-workflow), just so you have asense of how everything fits together.## Translation resource filesdiff --git a/docs/translating/translating.md b/docs/translating/translating.mdindex 3686582b123..9332c25c1fd 100644--- a/docs/translating/translating.md+++ b/docs/translating/translating.md@@ -13,7 +13,7 @@ greatly appreciated!If you are interested in knowing about the technical end-to-endtooling and processes for tagging strings for translation and syncingtranslations in Zulip, read about [Internationalization for-Developers](../translating/internationalization.md).+Developers](internationalization.md).## Translators' workflow@@ -115,7 +115,7 @@ can usually just deploy the latest translations there.- First, download the updated resource files from Transifex using the`tools/i18n/sync-translations` command (it will require some [initial- setup](../translating/internationalization.html#transifex-cli-setup)). This+ setup](internationalization.html#transifex-cli-setup)). Thiscommand will download the resource files from Transifex and replaceyour local resource files with them, and then compile them. You cannow test your translation work in the Zulip UI.diff --git a/docs/tutorials/writing-views.md b/docs/tutorials/writing-views.mdindex b066579391f..1a919bb7975 100644--- a/docs/tutorials/writing-views.md+++ b/docs/tutorials/writing-views.md@@ -3,14 +3,14 @@## What this coversThis page documents how views work in Zulip. You may want to read the-[new feature tutorial](../tutorials/new-feature-tutorial.md)+[new feature tutorial](new-feature-tutorial.md)and treat this as a reference.If you have experience with Django, much of this will be familiar, butyou may want to read about how REST requests are dispatched, and howrequest authentication works.-This document supplements the [new feature tutorial](../tutorials/new-feature-tutorial.md)+This document supplements the [new feature tutorial](new-feature-tutorial.md)and the [testing](../testing/testing.md)documentation.