Skip to content

Commit d39f395

Browse files
committed
Update documentation
Signed-off-by: Gabriel Costa <gabrielcg@proton.me>
1 parent 47b8621 commit d39f395

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ For a list of upcoming features, check out the [ContextForge Roadmap](https://ib
126126
<details>
127127
<summary><strong>📈 Admin UI, Observability & Dev Experience</strong></summary>
128128

129-
* Admin UI built with HTMX + Alpine.js
129+
* Admin UI built with HTMX 2.0.3 (bundled) + Alpine.js
130130
* Real-time log viewer with filtering, search, and export capabilities
131131
* Auth: Basic, JWT, or custom schemes
132132
* Structured logs, health endpoints, metrics

docs/docs/architecture/adr/014-security-headers-cors-middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ As part of the security enhancements, Subresource Integrity (SRI) has been imple
246246

247247
All 15 external CDN resources are protected with SRI hashes:
248248

249-
- **HTMX** (1.9.10) - Dynamic interactions
249+
- **HTMX** (2.0.3) - Dynamic interactions (bundled via npm/Vite)
250250
- **Alpine.js** (3.14.1) - Reactive framework
251251
- **Chart.js** (4.4.1) - Data visualization
252252
- **Marked** (11.1.1) - Markdown parser

docs/docs/architecture/explorer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4364,7 +4364,7 @@ <h3>Testing Matrix</h3>
43644364
{ category:"Templating & CLI", icon:"\uD83D\uDEE0\uFE0F", color:"var(--text-muted)", deps:[
43654365
{ name:"Jinja2", ver:">= 3.1.6", note:"Prompt templating (sandboxed)" },
43664366
{ name:"typer", ver:">= 0.24.1", note:"CLI framework" },
4367-
{ name:"HTMX + Alpine.js", ver:"CDN", note:"Admin UI (no build step)" }
4367+
{ name:"HTMX + Alpine.js", ver:"2.0.3 + CDN", note:"Admin UI (HTMX bundled via Vite, Alpine from CDN)" }
43684368
]}
43694369
];
43704370

docs/docs/deployment/container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ docker build -f Containerfile.lite -t mcpgateway:airgapped .
8484
This downloads and bundles:
8585

8686
- Tailwind CSS (~404KB)
87-
- HTMX (~52KB)
87+
- HTMX (bundled in main JS via npm/Vite)
8888
- CodeMirror (~216KB)
8989
- Alpine.js (~48KB)
9090
- Chart.js (~208KB)

docs/docs/development/building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@ To test the Admin UI without CDN dependencies:
176176
MCPGATEWAY_UI_AIRGAPPED=true make dev
177177
```
178178

179-
This downloads HTMX, Alpine.js, Tailwind, CodeMirror, Chart.js, and Font Awesome for fully offline UI operation. See [Admin UI - Air-Gapped Mode](../overview/ui.md#air-gapped-mode) for details.
179+
This downloads Alpine.js, Tailwind, CodeMirror, Chart.js, and Font Awesome for fully offline UI operation. HTMX is bundled via npm/Vite and included in the main JS bundle. See [Admin UI - Air-Gapped Mode](../overview/ui.md#air-gapped-mode) for details.

docs/docs/development/release-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ make test-js-coverage
257257

258258
### 3.4 Frontend CDN dependencies
259259

260-
The Admin UI loads frontend libraries (Tailwind, HTMX, Alpine.js, Chart.js, CodeMirror, Font Awesome, Marked, DOMPurify) from CDNs at runtime, with pinned versions in three places that must be kept in sync:
260+
The Admin UI loads frontend libraries (Tailwind, Alpine.js, Chart.js, CodeMirror, Font Awesome, Marked, DOMPurify) from CDNs at runtime, with pinned versions in three places that must be kept in sync. **Note:** HTMX is bundled via npm/Vite and no longer loaded from CDN.
261261

262262
| File | What it controls |
263263
|------|------------------|

docs/docs/manage/securing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ MCP Gateway implements Subresource Integrity for all external CDN resources to c
387387

388388
**Protected Resources** (15 total):
389389

390-
- HTMX (1.9.10) - Dynamic interactions
390+
- HTMX (2.0.3) - Dynamic interactions (bundled via npm/Vite)
391391
- Alpine.js (3.14.1) - Reactive framework
392392
- Chart.js (4.4.1) - Data visualization
393393
- Marked (11.1.1) - Markdown parser

docs/docs/manage/ui-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deployment).
1111

1212
| Library | Version | Purpose |
1313
|---------|---------|---------|
14-
| HTMX | 1.9.10 | AJAX interactions, HTML-over-HTTP |
14+
| HTMX | 2.0.3 | AJAX interactions, HTML-over-HTTP (bundled via npm/Vite) |
1515
| Alpine.js | 3.x | Lightweight reactive components |
1616
| Tailwind CSS | CDN | Utility-first styling |
1717
| CodeMirror | 5.65.18 | Syntax-highlighted code editing |

docs/docs/overview/ui.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The Admin UI is built with **HTMX**, **Alpine.js**, and **Tailwind CSS**, offeri
2727
| Layer | Technology | Purpose |
2828
|-------|------------|---------|
2929
| **Templating** | Jinja2 | Server-side HTML rendering (44 templates in `mcpgateway/templates/`) |
30-
| **Interactivity** | HTMX 1.9.10 | AJAX without JavaScript, HTML-over-HTTP patterns |
30+
| **Interactivity** | HTMX 2.0.3 | AJAX without JavaScript, HTML-over-HTTP patterns (bundled via npm/Vite) |
3131
| **Reactivity** | Alpine.js 3.x | Lightweight reactive components |
3232
| **Styling** | Tailwind CSS | Utility-first CSS framework |
3333
| **Code Editor** | CodeMirror 5.65.18 | Syntax-highlighted editing |
@@ -94,7 +94,7 @@ MCPGATEWAY_UI_AIRGAPPED=true
9494

9595
### How It Works
9696

97-
By default, the UI loads vendor libraries from CDNs (Tailwind, HTMX, Alpine.js, etc.). When `MCPGATEWAY_UI_AIRGAPPED=true`:
97+
By default, the UI loads vendor libraries from CDNs (Tailwind, Alpine.js, etc.). HTMX is bundled via npm/Vite. When `MCPGATEWAY_UI_AIRGAPPED=true`:
9898

9999
- All libraries load from `mcpgateway/static/vendor/`
100100
- No external network requests for UI assets
@@ -128,7 +128,7 @@ The script downloads to `mcpgateway/static/vendor/`:
128128
| Library | Version | Size |
129129
|---------|---------|------|
130130
| Tailwind CSS | CDN | ~404KB |
131-
| HTMX | 1.9.10 | ~52KB |
131+
| HTMX | 2.0.3 | Bundled in main JS (included in bundle size) |
132132
| CodeMirror | 5.65.18 | ~216KB |
133133
| Alpine.js | 3.14.1 | ~48KB |
134134
| Chart.js | 4.4.1 | ~208KB |

0 commit comments

Comments
 (0)