From 086de040acd56e19ae46d72931b1293c8aeb373e Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:01:54 +0200 Subject: [PATCH] bump sphinx (#144) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- docs/source/conf.py | 4 ++-- requirements/docs.txt | 23 +++++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 13b9bb0c..746f62bb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -79,7 +79,7 @@ def _convert_markdown(path_in: str, path_out: str) -> None: # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = "4.0" +needs_sphinx = "6.2" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom @@ -137,7 +137,7 @@ def _convert_markdown(path_in: str, path_out: str) -> None: # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/requirements/docs.txt b/requirements/docs.txt index 358a08d2..0ce9d9f8 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,17 +1,16 @@ -sphinx>=4.0,<5.0 -myst-parser>=0.15 -nbsphinx>=0.8.5 +sphinx >=6.0,<7.0 +myst-parser >=2.0.0, <3.0.0 +nbsphinx >=0.8.5 ipython[notebook] -pandoc>=1.0 -docutils>=0.16 +pandoc >=1.0 +docutils >=0.16 # https://github.com/jupyterlab/jupyterlab_pygments/issues/5 -pygments>=2.4.1 -sphinxcontrib-fulltoc>=1.0 +pygments >=2.4.1 +sphinxcontrib-fulltoc >=1.0 sphinxcontrib-mockautodoc pt-lightning-sphinx-theme @ https://github.com/Lightning-AI/lightning_sphinx_theme/archive/master.zip -sphinx-autodoc-typehints>=1.0 -sphinx-paramlinks>=0.5.1 -sphinx-togglebutton>=0.2 -sphinx-copybutton>=0.3 -jinja2>=3.0.0,<3.1.0 +sphinx-autodoc-typehints >=1.0 +sphinx-paramlinks >=0.5.1 +sphinx-togglebutton >=0.2 +sphinx-copybutton >=0.3