Wrap DocsApiReference with Gitbook-style DocsLayout
cgen-89b89014dd3c4b94b370b7be3518937e
This commit is contained in:
parent
d0ac1f4a56
commit
e7ff45ff9c
3 changed files with 21 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import DocsLayout from "@/components/docs/DocsLayout";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import {
|
import {
|
||||||
Card,
|
Card,
|
||||||
|
|
@ -104,6 +105,11 @@ const errorExamples = [
|
||||||
|
|
||||||
export default function DocsApiReference() {
|
export default function DocsApiReference() {
|
||||||
return (
|
return (
|
||||||
|
<DocsLayout
|
||||||
|
title="API Reference"
|
||||||
|
description="Complete API documentation with examples"
|
||||||
|
breadcrumbs={[{ label: "API Reference" }]}
|
||||||
|
>
|
||||||
<div className="space-y-12">
|
<div className="space-y-12">
|
||||||
<section id="overview" className="space-y-4">
|
<section id="overview" className="space-y-4">
|
||||||
<Badge className="bg-blue-600/20 text-blue-200 uppercase tracking-wide">
|
<Badge className="bg-blue-600/20 text-blue-200 uppercase tracking-wide">
|
||||||
|
|
@ -337,5 +343,6 @@ export default function DocsApiReference() {
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
</DocsLayout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import DocsLayout from "@/components/docs/DocsLayout";
|
||||||
import {
|
import {
|
||||||
Card,
|
Card,
|
||||||
CardContent,
|
CardContent,
|
||||||
|
|
@ -82,6 +83,11 @@ const automationTips = [
|
||||||
|
|
||||||
export default function DocsCli() {
|
export default function DocsCli() {
|
||||||
return (
|
return (
|
||||||
|
<DocsLayout
|
||||||
|
title="CLI Reference"
|
||||||
|
description="Command-line interface documentation and commands"
|
||||||
|
breadcrumbs={[{ label: "CLI" }]}
|
||||||
|
>
|
||||||
<div className="space-y-12">
|
<div className="space-y-12">
|
||||||
<section id="overview" className="space-y-4">
|
<section id="overview" className="space-y-4">
|
||||||
<Badge className="bg-amber-500/20 text-amber-100 uppercase tracking-wide">
|
<Badge className="bg-amber-500/20 text-amber-100 uppercase tracking-wide">
|
||||||
|
|
@ -281,5 +287,6 @@ export default function DocsCli() {
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
</DocsLayout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import DocsLayout from "@/components/docs/DocsLayout";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import {
|
import {
|
||||||
Card,
|
Card,
|
||||||
|
|
@ -136,6 +137,11 @@ const integrationIdeas = [
|
||||||
|
|
||||||
export default function DocsExamples() {
|
export default function DocsExamples() {
|
||||||
return (
|
return (
|
||||||
|
<DocsLayout
|
||||||
|
title="Code Examples"
|
||||||
|
description="Production-ready code examples and snippets"
|
||||||
|
breadcrumbs={[{ label: "Examples" }]}
|
||||||
|
>
|
||||||
<div className="space-y-12">
|
<div className="space-y-12">
|
||||||
<section id="overview" className="space-y-4">
|
<section id="overview" className="space-y-4">
|
||||||
<Badge className="bg-emerald-500/20 text-emerald-100 uppercase tracking-wide">
|
<Badge className="bg-emerald-500/20 text-emerald-100 uppercase tracking-wide">
|
||||||
|
|
@ -293,5 +299,6 @@ export default function DocsExamples() {
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
</DocsLayout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue