diff --git a/Makefile b/Makefile index 104b4c7a..14717df4 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ docs-gettext: .PHONY: docs-gettext docs-serve: - hatch run docs:sphinx-autobuild --watch aiogram/ --watch CHANGELOG.rst --watch README.rst docs/ docs/_build/ $(OPTS) + hatch run docs:sphinx-autobuild --watch aiogram/ --watch CHANGES.rst --watch README.rst docs/ docs/_build/ $(OPTS) .PHONY: docs-serve $(locale_targets): docs-serve-%: diff --git a/docs/conf.py b/docs/conf.py index 583a1922..071f05f2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,7 +30,7 @@ extensions = [ "sphinx.ext.intersphinx", "sphinx_substitution_extensions", "sphinx_copybutton", - "sphinxcontrib.towncrier.ext", + # "sphinxcontrib.towncrier.ext", # Temporary disabled due to bug in the extension https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92 ] rst_prolog = f""" diff --git a/pyproject.toml b/pyproject.toml index b5e9b78c..71789d5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,17 +87,16 @@ test = [ "pycryptodomex~=3.19.0", ] docs = [ - "Sphinx~=7.2.6", - "sphinx-intl~=2.1.0", - "sphinx-autobuild~=2021.3.14", + "Sphinx~=8.0.2", + "sphinx-intl~=2.2.0", + "sphinx-autobuild~=2024.9.3", "sphinx-copybutton~=0.5.2", - "furo~=2023.9.10", - "Sphinx-Substitution-Extensions~=2022.2.16", - "towncrier~=24.7.1", - "pygments~=2.16.1", + "furo~=2024.8.6", + "Sphinx-Substitution-Extensions~=2024.8.6", + "towncrier~=24.8.0", + "pygments~=2.18.0", "pymdown-extensions~=10.3", "markdown-include~=0.8.1", - "Pygments~=2.16.1", "sphinxcontrib-towncrier~=0.4.0a0", ] dev = [ @@ -148,7 +147,7 @@ features = [ "cli", ] [tool.hatch.envs.docs.scripts] -serve = "sphinx-autobuild --watch aiogram/ --watch CHANGELOG.rst --watch README.rst docs/ docs/_build/ {args}" +serve = "sphinx-autobuild --watch aiogram/ --watch CHANGES.rst --watch README.rst docs/ docs/_build/ {args}" [tool.hatch.envs.dev] python = "3.12"