From 85e81944219369320c566f53afaffa8dfff28f34 Mon Sep 17 00:00:00 2001 From: Tejasrahane <161036451+Tejasrahane@users.noreply.github.com> Date: Fri, 24 Oct 2025 06:40:01 +0530 Subject: [PATCH 1/3] Update pyproject.toml --- pyproject.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 60ba0d3b65d9..a1ec6629465d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,8 @@ docs = [ "myst-parser>=4", "sphinx-autoapi>=3.4", "sphinx-pyproject>=0.3", + "furo>=2024.1.29", + "sphinx-copybutton>=0.5.2", ] euler-validate = [ "httpx>=0.28.1", @@ -239,7 +241,12 @@ extensions = [ "myst_parser", ] html_static_path = [ "_static" ] -html_theme = "alabaster" +html_theme = "furo" +html_theme_options = { + "source_repository": "https://github.com/TheAlgorithms/Python/", + "source_branch": "master", + "source_directory": "docs/", + } myst_enable_extensions = [ "amsmath", "attrs_inline", From ccf2265818e38c6cba58da04c2aa389062200c95 Mon Sep 17 00:00:00 2001 From: Tejasrahane <161036451+Tejasrahane@users.noreply.github.com> Date: Fri, 24 Oct 2025 06:52:27 +0530 Subject: [PATCH 2/3] Fix TOML syntax: Convert html_theme_options to single-line inline table TOML inline tables (using {}) cannot span multiple lines. Fixed the html_theme_options dictionary to be a single-line inline table to resolve the sphinx build_docs check failure. --- pyproject.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a1ec6629465d..271a581941ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -242,11 +242,7 @@ extensions = [ ] html_static_path = [ "_static" ] html_theme = "furo" -html_theme_options = { - "source_repository": "https://github.com/TheAlgorithms/Python/", - "source_branch": "master", - "source_directory": "docs/", - } +html_theme_options = { "source_repository" = "https://github.com/TheAlgorithms/Python/", "source_branch" = "master", "source_directory" = "docs/" } myst_enable_extensions = [ "amsmath", "attrs_inline", From a3d94dce64548995e7b5fda42a75916cb5d56d21 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 01:24:05 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 271a581941ee..d9c3a00f4c13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,11 +38,11 @@ test = [ ] docs = [ + "furo>=2024.1.29", "myst-parser>=4", "sphinx-autoapi>=3.4", + "sphinx-copybutton>=0.5.2", "sphinx-pyproject>=0.3", - "furo>=2024.1.29", - "sphinx-copybutton>=0.5.2", ] euler-validate = [ "httpx>=0.28.1",