From cc066228c1988c582355014e991692012019f731 Mon Sep 17 00:00:00 2001 From: Matus Valo Date: Wed, 9 Jun 2021 07:45:22 +0000 Subject: [PATCH] Small fixes in documentation --- Changelog.rst | 2 +- docs/userguide/producers.rst | 1 + requirements/docs.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.rst b/Changelog.rst index b1e70230..cc995282 100644 --- a/Changelog.rst +++ b/Changelog.rst @@ -669,7 +669,7 @@ - Fixed string handling when using python-future module - Contributed by **John Koehl" + Contributed by **John Koehl** - Replaced "async" with "asynchronous" in preparation for Python 3.7 diff --git a/docs/userguide/producers.rst b/docs/userguide/producers.rst index 4fce77b5..31c08de0 100644 --- a/docs/userguide/producers.rst +++ b/docs/userguide/producers.rst @@ -27,6 +27,7 @@ it takes a channel or a connection as an argument: Having a producer instance you can publish messages: .. code-block:: pycon + >>> from kombu import Exchange >>> exchange = Exchange('name', type='direct') diff --git a/requirements/docs.txt b/requirements/docs.txt index 0b4bfec4..54840ebb 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,6 +1,7 @@ git+https://github.com/celery/sphinx_celery.git -r extras/mongodb.txt -r extras/sqlalchemy.txt +-r extras/azureservicebus.txt # we cannot use directly extras/sqs.txt # since readthedocs cannot install pycurl boto3>=1.4.4