From 1158cee7534e1532899c3a1dc5374d7823039dab Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Thu, 26 Aug 2021 14:18:42 +0200 Subject: [PATCH] Bump to a more modern version of Sphinx However, don't use 4.1, as it will need a new release of breathe to work (e.g. see https://github.com/michaeljones/breathe/pull/711). --- doc/py-items.rst | 4 ++-- doc/py-thread-pools.rst | 2 -- requirements-readthedocs.txt | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/py-items.rst b/doc/py-items.rst index 5a14edeff..d97614057 100644 --- a/doc/py-items.rst +++ b/doc/py-items.rst @@ -15,10 +15,10 @@ receiving). .. automethod:: dynamic_shape .. automethod:: compatible_shape -.. autoclass:: spead2.Item(\*args, \*\*kwargs, value=None) +.. autoclass:: spead2.Item(*args, **kwargs, value=None) .. autoattribute:: value - .. autoinstanceattribute:: version + .. autoattribute:: version :annotation: .. autoclass:: spead2.ItemGroup diff --git a/doc/py-thread-pools.rst b/doc/py-thread-pools.rst index fa5eacd5c..7acfd2f87 100644 --- a/doc/py-thread-pools.rst +++ b/doc/py-thread-pools.rst @@ -16,8 +16,6 @@ pool with only one thread. .. [#] This is a limitation of the current design that will hopefully be overcome in future versions. -.. py:currentmodule:: spead2 - .. py:class:: spead2.ThreadPool(threads=1, affinity=[]) Construct a thread pool and start the threads. A list of integers can be diff --git a/requirements-readthedocs.txt b/requirements-readthedocs.txt index 8e94c2930..36de5d50e 100644 --- a/requirements-readthedocs.txt +++ b/requirements-readthedocs.txt @@ -1,3 +1,3 @@ -sphinx==3.0.3 -breathe==4.18.0 +sphinx==4.0.3 +breathe==4.30.0 -r requirements.txt