Skip to content

Commit fa79534

Browse files
salevineclaude
andcommitted
Initial start of Kite docs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 parents  commit fa79534

15 files changed

Lines changed: 19987 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy to Vercel
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
cache: 'npm'
22+
cache-dependency-path: website/package-lock.json
23+
24+
- name: Install dependencies
25+
working-directory: website
26+
run: npm ci
27+
28+
- name: Build
29+
working-directory: website
30+
run: npm run build
31+
32+
# Vercel handles deployment automatically via GitHub integration
33+
# This workflow just validates the build succeeds

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
website/build/
6+
website/.docusaurus/
7+
8+
# IDE
9+
.idea/
10+
.vscode/
11+
*.swp
12+
*.swo
13+
*~
14+
15+
# OS
16+
.DS_Store
17+
Thumbs.db
18+
19+
# Environment
20+
.env
21+
.env.local
22+
.env.*.local
23+
24+
# Logs
25+
npm-debug.log*
26+
yarn-debug.log*
27+
yarn-error.log*
28+
29+
# Debug
30+
*.log
31+
32+
# Cache
33+
.cache/
34+
*.cache

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Kite Documentation
2+
3+
Documentation site for [Kite](https://kite.ai), built with [Docusaurus](https://docusaurus.io/).
4+
5+
## Development
6+
7+
```bash
8+
cd website
9+
npm install
10+
npm start
11+
```
12+
13+
## Build
14+
15+
```bash
16+
npm run build
17+
```

website/babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
3+
};

website/docs/intro.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
slug: /
3+
---
4+
5+
# Welcome to Kite
6+
7+
Documentation for Kite.

website/docusaurus.config.js

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
// @ts-check
2+
import { themes as prismThemes } from 'prism-react-renderer';
3+
4+
/** @type {import('@docusaurus/types').Config} */
5+
const config = {
6+
title: 'Kite',
7+
tagline: 'Kite Documentation',
8+
favicon: 'img/favicon.png',
9+
10+
url: 'https://docs.kite.ai',
11+
baseUrl: '/',
12+
13+
organizationName: 'kite',
14+
projectName: 'kite-docs',
15+
16+
onBrokenLinks: 'throw',
17+
onBrokenMarkdownLinks: 'warn',
18+
19+
i18n: {
20+
defaultLocale: 'en',
21+
locales: ['en'],
22+
},
23+
24+
markdown: {
25+
mermaid: true,
26+
},
27+
28+
themes: ['@docusaurus/theme-mermaid'],
29+
30+
presets: [
31+
[
32+
'classic',
33+
/** @type {import('@docusaurus/preset-classic').Options} */
34+
({
35+
docs: {
36+
routeBasePath: '/',
37+
sidebarPath: './sidebars.js',
38+
},
39+
blog: false,
40+
theme: {
41+
customCss: './src/css/custom.css',
42+
},
43+
}),
44+
],
45+
],
46+
47+
themeConfig:
48+
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
49+
({
50+
image: 'img/social-card.png',
51+
navbar: {
52+
title: 'Kite',
53+
logo: {
54+
alt: 'Kite Logo',
55+
src: 'img/logo.png',
56+
},
57+
items: [
58+
{
59+
href: 'https://kite.ai',
60+
label: 'Kite',
61+
position: 'right',
62+
},
63+
],
64+
},
65+
footer: {
66+
style: 'dark',
67+
copyright: `Copyright © ${new Date().getFullYear()} Kite`,
68+
},
69+
prism: {
70+
theme: prismThemes.github,
71+
darkTheme: prismThemes.dracula,
72+
},
73+
colorMode: {
74+
defaultMode: 'dark',
75+
disableSwitch: false,
76+
respectPrefersColorScheme: true,
77+
},
78+
}),
79+
};
80+
81+
export default config;

0 commit comments

Comments
 (0)