From 4b343136554164390f25f4fb619f5e990a70cebc Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Wed, 3 Dec 2025 16:41:58 +0000
Subject: [PATCH 1/4] feat: Shorten docs viewer URL
Removes `index.php` from the URL, making it cleaner and more user-friendly.
---
web/apps/docs/index.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/apps/docs/index.php b/web/apps/docs/index.php
index 8c879502..aca0965c 100644
--- a/web/apps/docs/index.php
+++ b/web/apps/docs/index.php
@@ -78,7 +78,7 @@ protected function inlineLink($Excerpt)
}
}
- $link['element']['attributes']['href'] = "/apps/docs/index.php?doc=".$newDoc;
+ $link['element']['attributes']['href'] = "/apps/docs/?doc=".$newDoc;
return $link;
}
}
From 119d83682a28c7c444f2dda1a4faf101fe7f6456 Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Wed, 3 Dec 2025 16:49:30 +0000
Subject: [PATCH 2/4] feat: Add table borders and shorten docs URL
Adds borders to tables in the docs viewer to improve readability.
Also removes `index.php` from the docs viewer URL, making it cleaner and more user-friendly.
---
web/apps/common/include/top.php | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/web/apps/common/include/top.php b/web/apps/common/include/top.php
index 35eed8bf..21064421 100755
--- a/web/apps/common/include/top.php
+++ b/web/apps/common/include/top.php
@@ -156,6 +156,11 @@
max-height: 80vh;
overflow-y: auto;
}
+ .docs-viewer table,
+ .docs-viewer th,
+ .docs-viewer td {
+ border: 1px solid black;
+ }
@@ -173,7 +178,7 @@ function gtag(){dataLayer.push(arguments);}
-
+" data-layout="horizontal" data-layout-mode="">
From 89d0033abf7519cb18ed2cd26cabb0a0384d3faa Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Wed, 3 Dec 2025 16:55:14 +0000
Subject: [PATCH 3/4] feat: Isolate docs CSS, add table borders, and shorten
URL
- Moves docs-specific CSS to its own file (`web/apps/docs/docs.css`) to avoid affecting other applications.
- Adds borders to tables within the docs viewer for improved readability.
- Links the new stylesheet only when the docs app is active.
- Removes `index.php` from the docs viewer URL for a cleaner appearance.
---
web/apps/common/include/top.php | 7 +------
web/apps/docs/docs.css | 4 ++++
web/apps/docs/index.php | 1 +
3 files changed, 6 insertions(+), 6 deletions(-)
create mode 100644 web/apps/docs/docs.css
diff --git a/web/apps/common/include/top.php b/web/apps/common/include/top.php
index 21064421..35eed8bf 100755
--- a/web/apps/common/include/top.php
+++ b/web/apps/common/include/top.php
@@ -156,11 +156,6 @@
max-height: 80vh;
overflow-y: auto;
}
- .docs-viewer table,
- .docs-viewer th,
- .docs-viewer td {
- border: 1px solid black;
- }
@@ -178,7 +173,7 @@ function gtag(){dataLayer.push(arguments);}
-" data-layout="horizontal" data-layout-mode="">
+
diff --git a/web/apps/docs/docs.css b/web/apps/docs/docs.css
new file mode 100644
index 00000000..ed3a58a4
--- /dev/null
+++ b/web/apps/docs/docs.css
@@ -0,0 +1,4 @@
+
+table, th, td {
+ border: 1px solid black;
+}
diff --git a/web/apps/docs/index.php b/web/apps/docs/index.php
index aca0965c..a44b6f99 100644
--- a/web/apps/docs/index.php
+++ b/web/apps/docs/index.php
@@ -139,6 +139,7 @@ protected function inlineLink($Excerpt)
define("PAGE", "Docs");
define("APP_NAME", "Docs");
+define("HEAD_CSS", "/apps/docs/docs.css");
?>
Date: Wed, 3 Dec 2025 17:13:19 +0000
Subject: [PATCH 4/4] feat: Improve table styling in docs viewer
This change introduces a dedicated stylesheet for the docs viewer to improve the appearance of tables. The new styling includes a distinct header, zebra-striping, padding, and a hover effect for better readability.
This work is isolated to the docs app to avoid affecting other parts of the site.
---
web/apps/docs/docs.css | 39 +++++++++++++++++++++++++++++++++++++--
1 file changed, 37 insertions(+), 2 deletions(-)
diff --git a/web/apps/docs/docs.css b/web/apps/docs/docs.css
index ed3a58a4..46306a3e 100644
--- a/web/apps/docs/docs.css
+++ b/web/apps/docs/docs.css
@@ -1,4 +1,39 @@
+/*
+ * Documentation Table Styles
+ */
-table, th, td {
- border: 1px solid black;
+/* General table styling */
+table {
+ width: 100%;
+ border-collapse: collapse; /* Cleaner borders */
+ margin: 1.5em 0;
+ font-size: 1rem;
+ box-shadow: 0 2px 3px rgba(0,0,0,0.1);
+ border: 1px solid #ddd;
+}
+
+/* Table header styling */
+th {
+ background-color: #5156be; /* A primary color from the site */
+ color: #ffffff;
+ padding: 12px 15px;
+ text-align: left;
+ font-weight: 600;
+ border-bottom: 2px solid #404496;
+}
+
+/* Table cell styling */
+td {
+ padding: 12px 15px;
+ border: 1px solid #ddd;
+}
+
+/* Zebra-striping for table rows */
+tr:nth-child(even) {
+ background-color: #f9f9f9;
+}
+
+/* Hover effect for rows */
+tr:hover {
+ background-color: #f1f1f1;
}