Skip to content

Commit 5edcbb8

Browse files
committed
feat: switch to unified auto-sync GitHub Pages template
Replaces hardcoded HTML with build-time Jinja2 rendering from plugin.json, skills/, rules/, and mcp-tools.json via Developer-Tools-Directory template. Made-with: Cursor
1 parent 603f393 commit 5edcbb8

File tree

11 files changed

+1742
-913
lines changed

11 files changed

+1742
-913
lines changed

.github/workflows/pages.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- "docs/**"
7+
- "skills/**"
8+
- "rules/**"
9+
- "mcp-tools.json"
10+
- "site.json"
11+
- ".cursor-plugin/plugin.json"
812
- "assets/**"
913
workflow_dispatch:
1014

@@ -25,8 +29,21 @@ jobs:
2529
steps:
2630
- uses: actions/checkout@v6
2731

28-
- name: Copy assets into docs
29-
run: cp -r assets docs/assets
32+
- uses: actions/checkout@v6
33+
with:
34+
repository: TMHSDigital/Developer-Tools-Directory
35+
path: _template
36+
sparse-checkout: site-template
37+
38+
- uses: actions/setup-python@v5
39+
with:
40+
python-version: "3.12"
41+
42+
- name: Install dependencies
43+
run: pip install -r _template/site-template/requirements.txt
44+
45+
- name: Build site
46+
run: python _template/site-template/build_site.py --repo-root . --out docs
3047

3148
- name: Configure Pages
3249
uses: actions/configure-pages@v6

docs/assets/logo-64.png

-8.65 KB
Binary file not shown.

docs/assets/og-card.jpg

-900 KB
Binary file not shown.

docs/fonts/inter-bold.woff2

112 KB
Binary file not shown.

docs/fonts/inter-medium.woff2

112 KB
Binary file not shown.

docs/fonts/inter-regular.woff2

109 KB
Binary file not shown.
90.2 KB
Binary file not shown.

docs/index.html

Lines changed: 1551 additions & 910 deletions
Large diffs are not rendered by default.

mcp-tools.json

Lines changed: 152 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)