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.

llms_txt: Clarify Zulip narrow URL forms with concrete examples.

Agnish Bauri185dac488ee4
diff --git a/zerver/views/llms_txt.py b/zerver/views/llms_txt.py
index 1c95ed9e054..e47a93b438b 100644
--- a/zerver/views/llms_txt.py
+++ b/zerver/views/llms_txt.py
@@ -76,9 +76,12 @@ Fetch the 100 oldest messages from a topic:
## Fetching messages in specific conversations / views
-Zulip conversations are referenced by a URL of this form:
+Zulip conversations are referenced by URLs of these forms:
- https://HOST.DOMAIN/#narrow/channel/ID-NAME/topic/TOPIC[/with|near/MSG_ID]
+ {server_url}/#narrow/channel/ID-NAME
+ {server_url}/#narrow/channel/ID-NAME/topic/TOPIC
+ {server_url}/#narrow/channel/ID-NAME/topic/TOPIC/with/MSG_ID
+ {server_url}/#narrow/channel/ID-NAME/topic/TOPIC/near/MSG_ID
Never follow links to related conversations by fetching those URLs; to
read the messages, you MUST translate them to the equivalent API