From 7c9c7e0a515220f34bc7d43dcbcf9d34d2b0931f Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 30 Dec 2018 12:34:53 -0500 Subject: [PATCH] docs: Add sphinxcontrib-asyncio This adds a "coroutine" marker to native coroutines --- docs/conda.yml | 1 + docs/conf.py | 1 + docs/requirements.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/conda.yml b/docs/conda.yml index e33288db2..44c4274a2 100644 --- a/docs/conda.yml +++ b/docs/conda.yml @@ -5,4 +5,5 @@ dependencies: - pip: - sphinx - sphinx-rtd-theme + - sphinxcontrib-asyncio - Twisted diff --git a/docs/conf.py b/docs/conf.py index d6e37faf4..04668eaf0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,7 @@ extensions = [ "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.viewcode", + "sphinxcontrib.asyncio", ] primary_domain = "py" diff --git a/docs/requirements.txt b/docs/requirements.txt index 69c93b12c..97528d970 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ sphinx>1.8.2 +sphinxcontrib-asyncio sphinx_rtd_theme Twisted -- 2.47.2