From f71dcc2128542486833981f1b18b4cc601a7aed8 Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Sun, 6 Oct 2024 21:58:21 +0900 Subject: [PATCH 1/3] upgrade sphinx --- docker/install/ubuntu_install_sphinx.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/install/ubuntu_install_sphinx.sh b/docker/install/ubuntu_install_sphinx.sh index 96023fa6e633..cfcf724e7949 100755 --- a/docker/install/ubuntu_install_sphinx.sh +++ b/docker/install/ubuntu_install_sphinx.sh @@ -20,14 +20,14 @@ set -e set -u set -o pipefail -# NOTE: install docutils < 0.17 to work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1115 +# pin sphinx<7 because https://github.com/readthedocs/sphinx_rtd_theme/issues/1465 pip3 install \ autodocsumm \ - "commonmark>=0.7.3" \ - "docutils>=0.11,<0.17" \ + commonmark \ + docutils \ Image \ matplotlib \ - sphinx==4.2.0 \ + "sphinx<7" \ sphinx_autodoc_annotation \ - "git+https://github.com/sphinx-gallery/sphinx-gallery.git@6142f1791151849b5bec4bf3959f75697ba226cd" \ + sphinx-gallery \ sphinx_rtd_theme From c361aacf72da2010e07756d4d6b1ac4f1f44b320 Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Mon, 7 Oct 2024 10:46:33 +0900 Subject: [PATCH 2/3] try latest version of sphinx --- docker/install/ubuntu_install_sphinx.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/install/ubuntu_install_sphinx.sh b/docker/install/ubuntu_install_sphinx.sh index cfcf724e7949..6161b355272d 100755 --- a/docker/install/ubuntu_install_sphinx.sh +++ b/docker/install/ubuntu_install_sphinx.sh @@ -20,14 +20,13 @@ set -e set -u set -o pipefail -# pin sphinx<7 because https://github.com/readthedocs/sphinx_rtd_theme/issues/1465 pip3 install \ autodocsumm \ commonmark \ docutils \ Image \ matplotlib \ - "sphinx<7" \ + sphinx \ sphinx_autodoc_annotation \ sphinx-gallery \ sphinx_rtd_theme From 6a27238965f9edc876d09a0d9dfcf954797fda94 Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Mon, 7 Oct 2024 10:46:40 +0900 Subject: [PATCH 3/3] install tlcpack-sphinx-addon --- docker/install/ubuntu_install_sphinx.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_sphinx.sh b/docker/install/ubuntu_install_sphinx.sh index 6161b355272d..bbaf04976691 100755 --- a/docker/install/ubuntu_install_sphinx.sh +++ b/docker/install/ubuntu_install_sphinx.sh @@ -29,4 +29,5 @@ pip3 install \ sphinx \ sphinx_autodoc_annotation \ sphinx-gallery \ - sphinx_rtd_theme + sphinx_rtd_theme \ + https://github.com/tlc-pack/tlcpack-sphinx-addon/archive/refs/tags/v0.2.3.zip