From 054952a44ab4a31246d80b4bbdddc96c77a07fbb Mon Sep 17 00:00:00 2001
From: Tim Abbott
Date: Thu, 16 Nov 2017 10:51:44 -0800
Subject: [PATCH] docs: Update links from codebase to point to ReadTheDocs.
---
.travis.yml | 2 +-
scripts/README.md | 2 +-
scripts/lib/install | 4 ++--
static/js/blueslip.js | 2 +-
static/js/hashchange.js | 2 +-
static/js/pointer.js | 2 +-
static/js/reload.js | 2 +-
static/js/unread.js | 2 +-
static/locale/bg/translations.json | 2 +-
static/locale/cs/translations.json | 2 +-
static/locale/de/translations.json | 2 +-
static/locale/es/translations.json | 2 +-
static/locale/fr/translations.json | 2 +-
static/locale/hi/translations.json | 2 +-
static/locale/hu/translations.json | 2 +-
static/locale/id_ID/translations.json | 2 +-
static/locale/it/translations.json | 2 +-
static/locale/ja/translations.json | 2 +-
static/locale/ko/translations.json | 2 +-
static/locale/ml/translations.json | 2 +-
static/locale/nl/translations.json | 2 +-
static/locale/pl/translations.json | 2 +-
static/locale/pt/translations.json | 2 +-
static/locale/ru/translations.json | 2 +-
static/locale/sr/translations.json | 2 +-
static/locale/ta/translations.json | 2 +-
static/locale/zh_Hans/translations.json | 2 +-
static/locale/zh_Hant/translations.json | 2 +-
static/swagger/zulip.yaml | 2 +-
.../subscription_creation_form.handlebars | 2 +-
templates/zerver/accounts_home.html | 2 +-
templates/zerver/config_error.html | 8 ++++----
templates/zerver/dev_tools.html | 2 +-
templates/zerver/email_log.html | 2 +-
templates/zerver/for/open-source.md | 2 +-
templates/zerver/help/main.html | 2 +-
templates/zerver/integrations/index.html | 2 +-
templates/zerver/login.html | 2 +-
templates/zerver/plans.html | 2 +-
tools/README.md | 2 +-
tools/check-capitalization | 3 ++-
tools/check-frontend-i18n | 2 +-
tools/droplets/README.md | 4 ++--
tools/droplets/create.py | 4 ++--
tools/lib/provision.py | 2 +-
tools/test-backend | 2 +-
tools/test-migrations | 4 ++--
tools/travis/production-helper | 2 +-
tools/travis/setup-production | 2 +-
zerver/fixtures/config.generate_data.json | 14 +++++++-------
zerver/lib/error_notify.py | 2 +-
zerver/lib/events.py | 2 +-
zerver/lib/logging_util.py | 2 +-
zerver/logging_handlers.py | 2 +-
zerver/storage.py | 2 +-
zerver/tests/test_events.py | 2 +-
zerver/tornado/event_queue.py | 2 +-
zerver/views/report.py | 2 +-
zerver/worker/queue_processors.py | 2 +-
zproject/prod_settings_template.py | 10 +++++-----
zproject/settings.py | 6 +++---
61 files changed, 81 insertions(+), 80 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index bc68b9dc1e..2e84b2ad3a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,4 @@
-# See https://zulip.readthedocs.io/en/latest/travis.html for
+# See https://zulip.readthedocs.io/en/latest/testing/travis.html for
# high-level documentation on our Travis CI setup.
dist: trusty
install:
diff --git a/scripts/README.md b/scripts/README.md
index 10c1b3f5e4..a0ae14cd5b 100644
--- a/scripts/README.md
+++ b/scripts/README.md
@@ -8,5 +8,5 @@ This directory contains scripts that:
development-only scripts live in `tools/`).
For more details, see
-http://zulip.readthedocs.io/en/latest/directory-structure.html.
+https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.
diff --git a/scripts/lib/install b/scripts/lib/install
index edbab3e7b8..ec4a208bf9 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -107,7 +107,7 @@ if [ "$PUPPET_CLASSES" = "zulip::voyager" ] && { ! [ -e "/etc/ssl/private/zulip.
for f in "/etc/ssl/private/zulip.key" "/etc/ssl/certs/zulip.combined-chain.crt"; do
[ -e "$f" ] || echo " - $f is missing!"
done
- echo "See http://zulip.readthedocs.io/en/latest/ssl-certificates.html for help."
+ echo "See https://zulip.readthedocs.io/en/latest/production/ssl-certificates.html for help."
echo
echo "Once fixed, just rerun scripts/setup/install; it'll pick up from here!"
echo
@@ -184,7 +184,7 @@ if [ "$has_nginx" = 0 ]; then
echo "Verifying the Zulip nginx configuration failed!"
echo
echo "This is almost always a problem with your SSL certificates."
- echo "See http://zulip.readthedocs.io/en/latest/ssl-certificates.html for help"
+ echo "See https://zulip.readthedocs.io/en/latest/production/ssl-certificates.html for help"
echo
echo "Once fixed, just rerun scripts/setup/install; it'll pick up from here!"
echo
diff --git a/static/js/blueslip.js b/static/js/blueslip.js
index 972b022646..65c2c0cc6d 100644
--- a/static/js/blueslip.js
+++ b/static/js/blueslip.js
@@ -1,4 +1,4 @@
-// System documented in https://zulip.readthedocs.io/en/latest/logging.html
+// System documented in https://zulip.readthedocs.io/en/latest/subsystems/logging.html
// This must be included before the first call to $(document).ready
// in order to be able to report exceptions that occur during their
diff --git a/static/js/hashchange.js b/static/js/hashchange.js
index f7c16ba5d7..7abda661de 100644
--- a/static/js/hashchange.js
+++ b/static/js/hashchange.js
@@ -1,4 +1,4 @@
-// Read https://zulip.readthedocs.io/en/latest/hashchange-system.html
+// Read https://zulip.readthedocs.io/en/latest/subsystems/hashchange-system.html
var hashchange = (function () {
var exports = {};
diff --git a/static/js/pointer.js b/static/js/pointer.js
index 2d58ddb85a..7fabcddbb4 100644
--- a/static/js/pointer.js
+++ b/static/js/pointer.js
@@ -1,4 +1,4 @@
-// See http://zulip.readthedocs.io/en/latest/pointer.html for notes on
+// See http://zulip.readthedocs.io/en/latest/subsystems/pointer.html for notes on
// how this system is designed.
var pointer = (function () {
diff --git a/static/js/reload.js b/static/js/reload.js
index 9d194293a0..f9c01cf95c 100644
--- a/static/js/reload.js
+++ b/static/js/reload.js
@@ -1,4 +1,4 @@
-// Read https://zulip.readthedocs.io/en/latest/hashchange-system.html
+// Read https://zulip.readthedocs.io/en/latest/subsystems/hashchange-system.html
var reload = (function () {
var exports = {};
diff --git a/static/js/unread.js b/static/js/unread.js
index 457769158f..8fc767dae9 100644
--- a/static/js/unread.js
+++ b/static/js/unread.js
@@ -1,4 +1,4 @@
-// See http://zulip.readthedocs.io/en/latest/pointer.html for notes on
+// See https://zulip.readthedocs.io/en/latest/subsystems/pointer.html for notes on
// how this system is designed.
var unread = (function () {
diff --git a/static/locale/bg/translations.json b/static/locale/bg/translations.json
index 88fb424042..86d029c561 100644
--- a/static/locale/bg/translations.json
+++ b/static/locale/bg/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "",
diff --git a/static/locale/cs/translations.json b/static/locale/cs/translations.json
index 84041f9601..dd82b0b057 100644
--- a/static/locale/cs/translations.json
+++ b/static/locale/cs/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Filtrovat skupiny",
"Filter users": "Filtrovat uživatele",
"First time? Read our guidelines for creating and naming streams.": "Poprvé? Přečtěte si naše pokyny, jak tvořit a pojmenovávat skupiny.",
- "For more information on public/private streams, check out our docs.": "Další údaje k veřejným/soukromým skupinám zjistíte v našich dokumentech.",
+ "For more information on public/private streams, check out our docs.": "Další údaje k veřejným/soukromým skupinám zjistíte v našich dokumentech.",
"Forgotten it?": "Zapomněl jste?",
"Formatting": "Formátování",
"Full name": "Plný název",
diff --git a/static/locale/de/translations.json b/static/locale/de/translations.json
index a1a3c66c8f..d5330ebef0 100644
--- a/static/locale/de/translations.json
+++ b/static/locale/de/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Streams filtern",
"Filter users": "Benutzer filtern",
"First time? Read our guidelines for creating and naming streams.": "Zum ersten Mal hier? Lies unsere Richtlinien zur Erstellung und Benennung von Kanälen.",
- "For more information on public/private streams, check out our docs.": "Für weitere Informationen zu öffentlichen/privaten Streams, schau dir unsere Dokumentation an.",
+ "For more information on public/private streams, check out our docs.": "Für weitere Informationen zu öffentlichen/privaten Streams, schau dir unsere Dokumentation an.",
"Forgotten it?": "Passwort vergessen?",
"Formatting": "Formatierung",
"Full name": "Vollständiger Name",
diff --git a/static/locale/es/translations.json b/static/locale/es/translations.json
index 12242be2d5..22aac290f9 100644
--- a/static/locale/es/translations.json
+++ b/static/locale/es/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Filtrar canales",
"Filter users": "Filtrar usuarios",
"First time? Read our guidelines for creating and naming streams.": "¿Es tu primera vez aquí? Lee nuestras pautas para crear y ponerle nombre a los canales.",
- "For more information on public/private streams, check out our docs.": "Para más información sobre canales públicos/privados, echa un vistazo a nuestra documentación.",
+ "For more information on public/private streams, check out our docs.": "Para más información sobre canales públicos/privados, echa un vistazo a nuestra documentación.",
"Forgotten it?": "¿Te has olvidado?",
"Formatting": "Formato",
"Full name": "Nombre completo",
diff --git a/static/locale/fr/translations.json b/static/locale/fr/translations.json
index e1c7841c12..5cf648febb 100644
--- a/static/locale/fr/translations.json
+++ b/static/locale/fr/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Filtrer les canaux",
"Filter users": "Filtrer les utilisateurs",
"First time? Read our guidelines for creating and naming streams.": "Première fois? Lisez nos instructions pour créer et nommer des canaux.",
- "For more information on public/private streams, check out our docs.": "Pour plus d'information sur les canaux publics/privés, visiter notre documentation.",
+ "For more information on public/private streams, check out our docs.": "Pour plus d'information sur les canaux publics/privés, visiter notre documentation.",
"Forgotten it?": "Oublier?",
"Formatting": "Formater",
"Full name": "Nom complet",
diff --git a/static/locale/hi/translations.json b/static/locale/hi/translations.json
index a4332b25f7..72a3f0ba94 100644
--- a/static/locale/hi/translations.json
+++ b/static/locale/hi/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "",
diff --git a/static/locale/hu/translations.json b/static/locale/hu/translations.json
index adf77349eb..606b9ee48f 100644
--- a/static/locale/hu/translations.json
+++ b/static/locale/hu/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "Formázás",
"Full name": "Teljes név",
diff --git a/static/locale/id_ID/translations.json b/static/locale/id_ID/translations.json
index 941df8c408..8e49e426e8 100644
--- a/static/locale/id_ID/translations.json
+++ b/static/locale/id_ID/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Saring stream",
"Filter users": "Saring pengguna",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "Lupa?",
"Formatting": "Format",
"Full name": "Nama lengkap",
diff --git a/static/locale/it/translations.json b/static/locale/it/translations.json
index 97a184603a..ec543ff988 100644
--- a/static/locale/it/translations.json
+++ b/static/locale/it/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "",
diff --git a/static/locale/ja/translations.json b/static/locale/ja/translations.json
index 559f2e4ab6..92eab1984d 100644
--- a/static/locale/ja/translations.json
+++ b/static/locale/ja/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "ストリームをフィルター",
"Filter users": "ユーザーを絞り込み",
"First time? Read our guidelines for creating and naming streams.": "初めてですか?ストリームを作成するためにガイドラインを読んでみてください。",
- "For more information on public/private streams, check out our docs.": "公開/プライベートのストリームの詳細については ドキュメントを確認してください。",
+ "For more information on public/private streams, check out our docs.": "公開/プライベートのストリームの詳細については ドキュメントを確認してください。",
"Forgotten it?": "忘れましたか?",
"Formatting": "フォーマット",
"Full name": "姓名",
diff --git a/static/locale/ko/translations.json b/static/locale/ko/translations.json
index ca16ee4311..c01b7a032a 100644
--- a/static/locale/ko/translations.json
+++ b/static/locale/ko/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "",
diff --git a/static/locale/ml/translations.json b/static/locale/ml/translations.json
index acd3a83cb5..8565c57b8e 100644
--- a/static/locale/ml/translations.json
+++ b/static/locale/ml/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "അതു മറന്നുപോയോ?",
"Formatting": "",
"Full name": "മുഴുവൻ പേര്",
diff --git a/static/locale/nl/translations.json b/static/locale/nl/translations.json
index 4609c0f482..b7cc1ae8f5 100644
--- a/static/locale/nl/translations.json
+++ b/static/locale/nl/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Filter kanalen",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "Vergeten?",
"Formatting": "Opmaken",
"Full name": "Volledige naam",
diff --git a/static/locale/pl/translations.json b/static/locale/pl/translations.json
index 420856ef5b..fdc31e10ad 100644
--- a/static/locale/pl/translations.json
+++ b/static/locale/pl/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Filtruj kanały",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "Nie pamiętasz?",
"Formatting": "Formatowanie",
"Full name": "Imię i nazwisko",
diff --git a/static/locale/pt/translations.json b/static/locale/pt/translations.json
index 120dec943b..bfd02ada9f 100644
--- a/static/locale/pt/translations.json
+++ b/static/locale/pt/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "Formata\u00e7\u00e3o",
"Full name": "Nome completo",
diff --git a/static/locale/ru/translations.json b/static/locale/ru/translations.json
index 8c85bd9055..3afc39869e 100644
--- a/static/locale/ru/translations.json
+++ b/static/locale/ru/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "Отфильтровать каналы",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "Забыли?",
"Formatting": "Форматирование текста",
"Full name": "Полное имя",
diff --git a/static/locale/sr/translations.json b/static/locale/sr/translations.json
index 1b9aa5331a..4f07724d07 100644
--- a/static/locale/sr/translations.json
+++ b/static/locale/sr/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "",
diff --git a/static/locale/ta/translations.json b/static/locale/ta/translations.json
index a00d48fa7c..261b07616b 100644
--- a/static/locale/ta/translations.json
+++ b/static/locale/ta/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "முழு பெயர்",
diff --git a/static/locale/zh_Hans/translations.json b/static/locale/zh_Hans/translations.json
index 9c5e67b07f..6585c7a162 100644
--- a/static/locale/zh_Hans/translations.json
+++ b/static/locale/zh_Hans/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "过滤频道",
"Filter users": "过滤用户",
"First time? Read our guidelines for creating and naming streams.": "第一次?请阅读 指南 来创建和命名流。",
- "For more information on public/private streams, check out our docs.": "查看更多有关于公开频道和隐私频道的信息,请点击这里查看我们的文档",
+ "For more information on public/private streams, check out our docs.": "查看更多有关于公开频道和隐私频道的信息,请点击这里查看我们的文档",
"Forgotten it?": "忘记了?",
"Formatting": "格式化",
"Full name": "名称",
diff --git a/static/locale/zh_Hant/translations.json b/static/locale/zh_Hant/translations.json
index 69fdb892ee..38649a8aba 100644
--- a/static/locale/zh_Hant/translations.json
+++ b/static/locale/zh_Hant/translations.json
@@ -191,7 +191,7 @@
"Filter streams": "",
"Filter users": "",
"First time? Read our guidelines for creating and naming streams.": "",
- "For more information on public/private streams, check out our docs.": "",
+ "For more information on public/private streams, check out our docs.": "",
"Forgotten it?": "",
"Formatting": "",
"Full name": "",
diff --git a/static/swagger/zulip.yaml b/static/swagger/zulip.yaml
index 2ff0356081..21ad3f9e6a 100644
--- a/static/swagger/zulip.yaml
+++ b/static/swagger/zulip.yaml
@@ -5,7 +5,7 @@
#
# Our own documentation lives at
#
-# https://zulip.readthedocs.io/en/latest/swagger-api-docs.html
+# https://zulip.readthedocs.io/en/latest/subsystems/swagger-api-docs.html
#
# Basic Swagger UI info
swagger: '2.0'
diff --git a/static/templates/subscription_creation_form.handlebars b/static/templates/subscription_creation_form.handlebars
index c61c812cfe..8fc53ee5af 100644
--- a/static/templates/subscription_creation_form.handlebars
+++ b/static/templates/subscription_creation_form.handlebars
@@ -24,7 +24,7 @@
{{#tr this}}
- For more information on public/private streams, check out our docs.
+ For more information on public/private streams, check out our docs.
{{/tr}}
You must setup SMTP as described
-
+
here first before enabling this.
diff --git a/templates/zerver/for/open-source.md b/templates/zerver/for/open-source.md
index 0f1d733e76..75bfb01878 100644
--- a/templates/zerver/for/open-source.md
+++ b/templates/zerver/for/open-source.md
@@ -74,7 +74,7 @@ issue its own place for discussion.
Don’t like something? You can
[open an issue](https://github.com/zulip/zulip/issues),
-[submit a patch](http://zulip.readthedocs.io/en/latest/dev-overview.html),
+[submit a patch](http://zulip.readthedocs.io/en/latest/development/overview.html),
[fork the project](https://github.com/zulip/zulip), or chat with us directly
at [chat.zulip.org](https://chat.zulip.org). All code, including the
[desktop](https://github.com/zulip/zulip-electron) and
diff --git a/templates/zerver/help/main.html b/templates/zerver/help/main.html
index 0d45d2259f..8eefc416c8 100644
--- a/templates/zerver/help/main.html
+++ b/templates/zerver/help/main.html
@@ -21,7 +21,7 @@
Documentation home.
The Zulip software, including this documentation, is open source! Learn how
- you can contribute here.
+ you can contribute here.