diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .readthedocs.yml | 1 | ||||
-rw-r--r-- | docs/conf.py | 2 | ||||
-rw-r--r-- | docs/index.rst | 7 | ||||
-rw-r--r-- | docs/py-modindex.rst | 2 | ||||
-rw-r--r-- | setup.py | 6 |
6 files changed, 11 insertions, 8 deletions
@@ -4,6 +4,7 @@ .coverage .cache/ .tox/ +.eggs/ *.egg-info/ *.pyc dist/ diff --git a/.readthedocs.yml b/.readthedocs.yml index 9c2c6a6..fc277de 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -11,3 +11,4 @@ python: - tornado - twisted - zookeeper + - doc diff --git a/docs/conf.py b/docs/conf.py index 756848c..38eb45b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -92,7 +92,7 @@ autodoc_member_order = 'alphabetical' # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/index.rst b/docs/index.rst index 1dd1c0f..e8ed2da 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,9 +17,4 @@ Table of Contents contributing extending faq - - -Indices and tables -================== - -* :ref:`API reference <modindex>` + py-modindex diff --git a/docs/py-modindex.rst b/docs/py-modindex.rst new file mode 100644 index 0000000..3cdb8ca --- /dev/null +++ b/docs/py-modindex.rst @@ -0,0 +1,2 @@ +API reference +============= @@ -61,7 +61,11 @@ setup( ], 'testing:python_version == "2.7"': ['mock'], 'testing:python_version == "3.4"': ['pytest_asyncio < 0.6'], - 'testing:python_version >= "3.5"': ['pytest_asyncio'] + 'testing:python_version >= "3.5"': ['pytest_asyncio'], + 'doc': [ + 'sphinx', + 'sphinx-rtd-theme', + ], }, zip_safe=False, entry_points={ |