From f7aa7b14c55a6ce97fa5a4bbbc2bffb74f716209 Mon Sep 17 00:00:00 2001 From: IAmTomahawkx Date: Mon, 18 Sep 2023 22:37:18 -0700 Subject: [PATCH] fix weird duplication in changelog + version bump Also fixed some out of date info in the sphinx config --- docs/changelog.rst | 9 +-------- docs/conf.py | 9 ++++----- twitchio/__init__.py | 2 +- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index f47f7886..a84427b5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,6 @@ :orphan: -Master +2.8.0 ====== - TwitchIO - Additions @@ -31,13 +31,6 @@ Master - ``Optional[T]`` / ``T | None`` - ``Annotated[T, converter]`` (accessible through the ``typing_extensions`` module on older python versions) -- ext.commands - - Additions - - Added support for the following typing constructs in command signatures: - - ``Union[A, B]`` / ``A | B`` - - ``Optional[T]`` / ``T | None`` - - ``Annotated[T, converter]`` (accessible through the ``typing_extensions`` module on older python versions) - - Docs - Added walkthrough for ext.commands diff --git a/docs/conf.py b/docs/conf.py index c49dc213..10f566cc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,8 +26,8 @@ on_rtd = os.environ.get("READTHEDOCS") == "True" project = "TwitchIO" -copyright = "2022, TwitchIO" -author = "TwitchIO" +copyright = "2023, TwitchIO" +author = "PythonistaGuild" # The full version, including alpha/beta/rc tags release = '' @@ -46,7 +46,8 @@ "sphinxcontrib.asyncio", "sphinx.ext.intersphinx", "attributetable", - "sphinxext.opengraph" + "sphinxext.opengraph", + "sphinx.ext.napoleon" ] # OpenGraph Meta Tags @@ -93,8 +94,6 @@ html_js_files = ["js/custom.js"] -extensions.append("sphinx.ext.napoleon") - napoleon_use_rtype = False napoleon_google_docstring = False napoleon_numpy_docstring = True diff --git a/twitchio/__init__.py b/twitchio/__init__.py index 78ebb57e..d4e2ca50 100644 --- a/twitchio/__init__.py +++ b/twitchio/__init__.py @@ -28,7 +28,7 @@ __author__ = "TwitchIO, PythonistaGuild" __license__ = "MIT" __copyright__ = "Copyright 2017-2022 (c) TwitchIO" -__version__ = "2.7.0" +__version__ = "2.8.0" from .client import Client from .user import *