Skip to content

Commit

Permalink
fix weird duplication in changelog + version bump
Browse files Browse the repository at this point in the history
Also fixed some out of date info in the sphinx config
  • Loading branch information
IAmTomahawkx committed Sep 19, 2023
1 parent e51c270 commit f7aa7b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
9 changes: 1 addition & 8 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:orphan:

Master
2.8.0
======
- TwitchIO
- Additions
Expand Down Expand Up @@ -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

Expand Down
9 changes: 4 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand All @@ -46,7 +46,8 @@
"sphinxcontrib.asyncio",
"sphinx.ext.intersphinx",
"attributetable",
"sphinxext.opengraph"
"sphinxext.opengraph",
"sphinx.ext.napoleon"
]

# OpenGraph Meta Tags
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion twitchio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down

0 comments on commit f7aa7b1

Please sign in to comment.