Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Remove context property recommended_channel_name.

Niloth P636f4f457c94
diff --git a/templates/zerver/integrations/jira-plugin.md b/templates/zerver/integrations/jira-plugin.md
index 1fea8e2235a..cd11876fed7 100644
--- a/templates/zerver/integrations/jira-plugin.md
+++ b/templates/zerver/integrations/jira-plugin.md
@@ -48,7 +48,7 @@ tell Jira about the certificate.
``` Python
String zulipEmail = "[email protected]"
String zulipAPIKey = "0123456789abcdef0123456789abcdef"
-String zulipStream = "{{ recommended_channel_name }}"
+String zulipStream = "jira"
String issueBaseUrl = "https://jira.COMPANY.com/browse/"
```
diff --git a/zerver/views/documentation.py b/zerver/views/documentation.py
index c9a657b26e6..9531477ceb7 100644
--- a/zerver/views/documentation.py
+++ b/zerver/views/documentation.py
@@ -380,7 +380,6 @@ def integration_doc(request: HttpRequest, *, integration_name: PathOnly[str]) ->
context["integration_name"] = integration.name
context["integration_display_name"] = integration.display_name
- context["recommended_channel_name"] = integration.stream_name
if isinstance(integration, WebhookIntegration):
assert integration.url.startswith("api/")
context["integration_url"] = integration.url.removeprefix("api")
diff --git a/zerver/webhooks/buildbot/doc.md b/zerver/webhooks/buildbot/doc.md
index b14b6a37125..d69c43ede77 100644
--- a/zerver/webhooks/buildbot/doc.md
+++ b/zerver/webhooks/buildbot/doc.md
@@ -15,7 +15,7 @@ Get Zulip notifications for your Buildbot builds!
zs = reporters.ZulipStatusPush('{{ zulip_url }}',
token='api_key',
- stream='{{ recommended_channel_name }}')
+ stream='buildbot')
c['services'].append(zs)
When adding the new reporter, modify the code above such that `api_key`