Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Do not allow autolinks for help center docs.
Shubham Padiaa98363fe3629
diff --git a/help/emoji-and-emoticons.md b/help/emoji-and-emoticons.mdindex 78d731816d1..d963e738e46 100644--- a/help/emoji-and-emoticons.md+++ b/help/emoji-and-emoticons.md@@ -132,7 +132,7 @@ names.!!! tip ""- <https://emojipedia.org/> may be a helpful resource.+ [https://emojipedia.org/](https://emojipedia.org/) may be a helpful resource.{end_tabs}diff --git a/help/include/legacy-log-in.md b/help/include/legacy-log-in.mdindex fc6dbbe3370..2e626162348 100644--- a/help/include/legacy-log-in.md+++ b/help/include/legacy-log-in.md@@ -1,4 +1,4 @@-1. Go to <https://selfhosting.zulip.com/serverlogin/>.+1. Go to [https://selfhosting.zulip.com/serverlogin/](https://selfhosting.zulip.com/serverlogin/).1. Fill out the requested server information, and click **Continue**.diff --git a/help/linking-to-zulip-website.md b/help/linking-to-zulip-website.mdindex 763e2bce551..00b0c7d8b58 100644--- a/help/linking-to-zulip-website.md+++ b/help/linking-to-zulip-website.md@@ -15,7 +15,7 @@ website (e.g., **Sponsors** or **Acknowledgements**).logo](https://github.com/zulip/zulip/tree/main/static/images/logo),preferably a **round Zulip icon** (available in `.png` and `.svg` formats).-1. Link to <https://zulip.com/>.+1. Link to [https://zulip.com/](https://zulip.com/).2. If appropriate, add a brief description:diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex 61d35109778..7cf1cec6bc3 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -839,6 +839,14 @@ markdown_rules = RuleList({"pattern": r"\[(?P<url>[^\]]+)\]\((?P=url)\)","description": "Linkified Markdown URLs should use cleaner <http://example.com> syntax.",+ "exclude": {"help/"},+ },+ {+ "pattern": r"<http(s?)://[^>]+>",+ "description": """Autolinks are not allowed in /help documentation due to the upcoming migration to mdx.+ Use Linkified markdown URLs [url](url) instead.+ See https://github.com/mdx-js/mdx/issues/1049 for more info.""",+ "include_only": {"help/"},},{"pattern": "https://zulip.readthedocs.io/en/latest/[a-zA-Z0-9]",