From 7866afeb4f80da4d0a5904089bbda6c5f63c1ca1 Mon Sep 17 00:00:00 2001 From: pheobeayo Date: Fri, 3 Oct 2025 07:55:16 +0100 Subject: [PATCH 1/4] inside of and should have coloured background --- pyproject.toml | 6 ++++++ src/docc/plugins/html/static/docc.css | 15 ++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c491fcd..b1b2ae6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,3 +15,9 @@ paths = [ "src" ] [tool.docc.output] path = "docs" + +[tool.docc.plugins."docc.python.discover"] +paths = [ "" ] + +[tool.docc.output] +path = "" diff --git a/src/docc/plugins/html/static/docc.css b/src/docc/plugins/html/static/docc.css index cc003f4..acb03a4 100644 --- a/src/docc/plugins/html/static/docc.css +++ b/src/docc/plugins/html/static/docc.css @@ -61,6 +61,19 @@ table.verbatim > tbody > tr > th { padding: 0 0.5ex; } +/* Fix for issue #17: td inside del/ins should have colored backgrounds */ +del > td, +del td { + background-color: #ffeef0; + text-decoration: line-through; +} + +ins > td, +ins td { + background-color: #e6ffed; + text-decoration: none; +} + section section { padding-left: 1em; margin-top: 2em; @@ -315,4 +328,4 @@ details[open] > summary::after { .header-anchor:hover .link-logo, .header-anchor:focus-within .link-logo { visibility: visible; -} +} \ No newline at end of file From 7397e280cdee3207ac60adda98c01db90ab772ef Mon Sep 17 00:00:00 2001 From: pheobeayo Date: Fri, 3 Oct 2025 15:45:06 +0100 Subject: [PATCH 2/4] fix suggestions --- pyproject.toml | 3 --- src/docc/plugins/html/static/docc.css | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b1b2ae6..ac59975 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,8 +16,5 @@ paths = [ "src" ] [tool.docc.output] path = "docs" -[tool.docc.plugins."docc.python.discover"] -paths = [ "" ] - [tool.docc.output] path = "" diff --git a/src/docc/plugins/html/static/docc.css b/src/docc/plugins/html/static/docc.css index acb03a4..56050e8 100644 --- a/src/docc/plugins/html/static/docc.css +++ b/src/docc/plugins/html/static/docc.css @@ -328,4 +328,5 @@ details[open] > summary::after { .header-anchor:hover .link-logo, .header-anchor:focus-within .link-logo { visibility: visible; + } \ No newline at end of file From d32c4d88183be3c8f09ebcab5b7b81aba81f2907 Mon Sep 17 00:00:00 2001 From: pheobeayo Date: Fri, 3 Oct 2025 15:50:50 +0100 Subject: [PATCH 3/4] still fixing --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ac59975..c491fcd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,3 @@ paths = [ "src" ] [tool.docc.output] path = "docs" - -[tool.docc.output] -path = "" From 2106d4cf88d0463123482324655fb189649c86c4 Mon Sep 17 00:00:00 2001 From: pheobeayo Date: Mon, 13 Oct 2025 14:44:33 +0100 Subject: [PATCH 4/4] cleanup --- src/docc/plugins/html/static/docc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docc/plugins/html/static/docc.css b/src/docc/plugins/html/static/docc.css index 56050e8..b424e25 100644 --- a/src/docc/plugins/html/static/docc.css +++ b/src/docc/plugins/html/static/docc.css @@ -61,7 +61,7 @@ table.verbatim > tbody > tr > th { padding: 0 0.5ex; } -/* Fix for issue #17: td inside del/ins should have colored backgrounds */ +/* Colored backgrounds for deleted and inserted table cells */ del > td, del td { background-color: #ffeef0;