mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
api docs: Fix confusing discussion of "dev server".
The Zulip API is to be used on both development and production servers, and really we just need to talk about zuliprc files. There's a similar issue for the JS docs, but we need to fix the copy/paste issues with those as well.
This commit is contained in:
@@ -20,8 +20,8 @@ PYTHON_CLIENT_CONFIG = """
|
|||||||
|
|
||||||
import zulip
|
import zulip
|
||||||
|
|
||||||
# Download ~/zuliprc-dev from your dev server
|
# Pass the path to your zuliprc file here.
|
||||||
client = zulip.Client(config_file="~/zuliprc-dev")
|
client = zulip.Client(config_file="~/zuliprc")
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ PYTHON_CLIENT_ADMIN_CONFIG = """
|
|||||||
|
|
||||||
import zulip
|
import zulip
|
||||||
|
|
||||||
# You need a zuliprc-admin with administrator credentials
|
# The user for this zuliprc file must be an organization administrator
|
||||||
client = zulip.Client(config_file="~/zuliprc-admin")
|
client = zulip.Client(config_file="~/zuliprc-admin")
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user