Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

473 B
Raw Blame
import { redirect } from "next/navigation";

interface Props {
  params: Promise<{ id: string }>;
}

/**
 * Wiki home. There is one documentation reader now, so the wiki index opens it
 * at its default landing (the Guided Tour spine) rather than dead-ending on a
 * bare slug. Keeps ``/repos/{id}/wiki`` a valid, shareable entry point.
 */
export default async function WikiIndexRoute({ params }: Props) {
  const { id } = await params;
  redirect(`/repos/${id}/docs`);
}