mirror of
https://github.com/hanzoai/docs-template.git
synced 2026-10-30 18:38:49 +00:00
Adds .hanzo/workflows/cicd.yml calling the canonical pipeline and drops the GitHub-hosted workflows it replaces. Lands here because this is where the repo is written — git.hanzo.ai is upstream and github.com is its push mirror, so the same change made on github.com never reaches the runner fleet.
14 lines
355 B
TypeScript
14 lines
355 B
TypeScript
import { source } from '@/lib/source';
|
|
|
|
export const revalidate = false;
|
|
|
|
export async function GET() {
|
|
const lines: string[] = [];
|
|
lines.push('# Documentation');
|
|
lines.push('');
|
|
for (const page of source.getPages()) {
|
|
lines.push(`- [${page.data.title}](${page.url}): ${page.data.description}`);
|
|
}
|
|
return new Response(lines.join('\n'));
|
|
}
|