From e0349cbfa5950245b5732353cf42d9f4dac8c888 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 11:51:29 +0000 Subject: [PATCH 1/6] Initial plan From aadfe1a72078830179e7988f79e7ea42b499385f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 11:53:51 +0000 Subject: [PATCH 2/6] fix: render Sphinx toctree on docs homepage Co-authored-by: cclauss <3709715+cclauss@users.noreply.github.com> --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index 0845a2aaa7d0..cff7c8e11752 100644 --- a/index.md +++ b/index.md @@ -1,6 +1,6 @@ # TheAlgorithms/Python -```text {toctree} +```{toctree} :maxdepth: 2 :caption: index.md From 3700761c113cc4281017d7261c5b87d636f0464b Mon Sep 17 00:00:00 2001 From: Copilot Date: Sun, 13 Sep 2026 11:54:13 +0000 Subject: [PATCH 3/6] updating DIRECTORY.md --- DIRECTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DIRECTORY.md b/DIRECTORY.md index d2b0cf8fd16f..4906c4efd9df 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -752,6 +752,7 @@ * [Decimal Isolate](maths/decimal_isolate.py) * [Decimal To Fraction](maths/decimal_to_fraction.py) * [Derangement](maths/derangement.py) + * [Digital Root](maths/digital_root.py) * [Dodecahedron](maths/dodecahedron.py) * [Double Factorial](maths/double_factorial.py) * [Dual Number Automatic Differentiation](maths/dual_number_automatic_differentiation.py) From b5e490843faa4a0eb78c679c74fb1eb2f3dfc5e3 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 13 Sep 2026 15:15:19 +0200 Subject: [PATCH 4/6] tool.rumdl.per-file-ignores."index.md" = ["MD040"] --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 35a8473574b6..4e47462dfe70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -242,3 +242,4 @@ disable = [ exclude = [ "DIRECTORY.md", "docs/hacktober_2026_prep.md" ] flavor = "gfm" line-length = 350 +per-file-ignores."index.md" = ["MD040"] From 71684901f26882e9e2648b4c2e9ad79e47fbd8cf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 13 Sep 2026 13:15:31 +0000 Subject: [PATCH 5/6] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4e47462dfe70..3ce2597d22f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -242,4 +242,4 @@ disable = [ exclude = [ "DIRECTORY.md", "docs/hacktober_2026_prep.md" ] flavor = "gfm" line-length = 350 -per-file-ignores."index.md" = ["MD040"] +per-file-ignores."index.md" = [ "MD040" ] From 9e505219cdba3dc6e8d6c7d7cafb433ef5be7d6e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 13 Sep 2026 15:30:31 +0200 Subject: [PATCH 6/6] Fix comment formatting in index.md --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index cff7c8e11752..e67a7224740e 100644 --- a/index.md +++ b/index.md @@ -1,10 +1,10 @@ # TheAlgorithms/Python + ```{toctree} :maxdepth: 2 :caption: index.md - CONTRIBUTING.md README.md LICENSE.md