Skip to content

Commit cfbe314

Browse files
jbreiteclaude
andcommitted
Add documentation site (#22)
Next.js 16 static docs site with: - Overview, Getting Started, Tools, Sandboxes, and API Reference pages - Responsive sidebar with scrollspy TOC and terminal logo - Light/dark theme with next-themes - Code blocks with syntax highlighting and copy button - Package manager picker (npm/yarn/pnpm/bun) - Favicon and OG image with terminal branding Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aeb2635 commit cfbe314

30 files changed

+3939
-1
lines changed

docs/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.next
2+
node_modules
3+
out
4+
bun.lockb

docs/bun.lock

Lines changed: 317 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/next-env.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
import "./.next/dev/types/routes.d.ts";
4+
5+
// NOTE: This file should not be edited
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

docs/next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
output: "export",
4+
};
5+
6+
module.exports = nextConfig;

docs/package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "bashkit-docs",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev -p 3001",
7+
"build": "next build",
8+
"start": "next start -p 3001"
9+
},
10+
"dependencies": {
11+
"@base-ui-components/react": "^1.0.0-rc.0",
12+
"@pierre/diffs": "^1.0.10",
13+
"framer-motion": "^12.28.1",
14+
"next": "^16.1.6",
15+
"next-themes": "^0.4.6",
16+
"prism-react-renderer": "^2.4.1",
17+
"react": "^19.1.0",
18+
"react-dom": "^19.1.0"
19+
},
20+
"devDependencies": {
21+
"@types/node": "^22.0.0",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.0",
24+
"sass": "^1.89.0",
25+
"typescript": "^5.7.0"
26+
}
27+
}

docs/public/claude-logo.jpg

11.6 KB
Loading

docs/public/favicon.svg

Lines changed: 7 additions & 0 deletions
Loading

docs/public/og.png

29.2 KB
Loading

docs/public/vercel-logo.png

1.33 KB
Loading

docs/src/app/Footer.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export function Footer() {
2+
return (
3+
<footer className="footer">
4+
<p>
5+
<a
6+
href="https://github.com/jbreite/bashkit"
7+
target="_blank"
8+
rel="noopener noreferrer"
9+
>
10+
bashkit
11+
</a>{" "}
12+
&mdash; MIT License
13+
</p>
14+
</footer>
15+
);
16+
}

0 commit comments

Comments
 (0)