Skip to content

Commit 57c4b9a

Browse files
feat(web): update dashboard with new documentation links
- modified scripts/build-docs.js
1 parent 843e2f4 commit 57c4b9a

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

scripts/build-docs.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,31 @@ const docs = [
1818
source: path.join(projectRoot, 'docs', 'web-dashboard.md'),
1919
output: 'web-dashboard.html',
2020
},
21+
{
22+
key: 'GETTING-STARTED.md',
23+
source: path.join(projectRoot, 'docs', 'antigravity', 'GETTING-STARTED.md'),
24+
output: 'GETTING-STARTED.html',
25+
},
26+
{
27+
key: 'EXAMPLES.md',
28+
source: path.join(projectRoot, 'docs', 'antigravity', 'EXAMPLES.md'),
29+
output: 'EXAMPLES.html',
30+
},
31+
{
32+
key: 'WORKFLOW-TEMPLATES.md',
33+
source: path.join(projectRoot, 'docs', 'antigravity', 'WORKFLOW-TEMPLATES.md'),
34+
output: 'WORKFLOW-TEMPLATES.html',
35+
},
36+
{
37+
key: 'TROUBLESHOOTING.md',
38+
source: path.join(projectRoot, 'docs', 'antigravity', 'TROUBLESHOOTING.md'),
39+
output: 'TROUBLESHOOTING.html',
40+
},
41+
{
42+
key: 'RELEASE_NOTES.md',
43+
source: path.join(projectRoot, 'docs', 'release-notes', 'RELEASE_NOTES.md'),
44+
output: 'RELEASE_NOTES.html',
45+
},
2146
];
2247

2348
const distDocDir = path.join(projectRoot, 'dist', 'docs');

web/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ <h2 class="text-xs uppercase tracking-wide text-slate-500 mb-2">Resources</h2>
8181
<li><a href="https://github.com/programinglive/dev-workflow-mcp-server" target="_blank" rel="noopener" class="block px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">GitHub Repository</a></li>
8282
<li><button data-doc="README.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Project README</button></li>
8383
<li><button data-doc="web-dashboard.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Web Dashboard Guide</button></li>
84+
<li><button data-doc="GETTING-STARTED.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Getting Started</button></li>
85+
<li><button data-doc="EXAMPLES.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Examples</button></li>
86+
<li><button data-doc="WORKFLOW-TEMPLATES.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Workflow Templates</button></li>
87+
<li><button data-doc="TROUBLESHOOTING.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Troubleshooting</button></li>
88+
<li><button data-doc="RELEASE_NOTES.md" class="doc-link block w-full text-left px-3 py-2 rounded hover:bg-indigo-50 text-indigo-600">Release Notes</button></li>
8489
</ul>
8590
</div>
8691
</nav>

web/server.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ const docSources = {
1818
markdown: join(projectRoot, "docs", "web-dashboard.md"),
1919
html: join(projectRoot, "dist", "docs", "web-dashboard.html"),
2020
},
21+
"GETTING-STARTED.md": {
22+
markdown: join(projectRoot, "docs", "antigravity", "GETTING-STARTED.md"),
23+
html: join(projectRoot, "dist", "docs", "GETTING-STARTED.html"),
24+
},
25+
"EXAMPLES.md": {
26+
markdown: join(projectRoot, "docs", "antigravity", "EXAMPLES.md"),
27+
html: join(projectRoot, "dist", "docs", "EXAMPLES.html"),
28+
},
29+
"WORKFLOW-TEMPLATES.md": {
30+
markdown: join(projectRoot, "docs", "antigravity", "WORKFLOW-TEMPLATES.md"),
31+
html: join(projectRoot, "dist", "docs", "WORKFLOW-TEMPLATES.html"),
32+
},
33+
"TROUBLESHOOTING.md": {
34+
markdown: join(projectRoot, "docs", "antigravity", "TROUBLESHOOTING.md"),
35+
html: join(projectRoot, "dist", "docs", "TROUBLESHOOTING.html"),
36+
},
37+
"RELEASE_NOTES.md": {
38+
markdown: join(projectRoot, "docs", "release-notes", "RELEASE_NOTES.md"),
39+
html: join(projectRoot, "dist", "docs", "RELEASE_NOTES.html"),
40+
},
2141
};
2242

2343
async function resolveDocContent(docKey) {

0 commit comments

Comments
 (0)