Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 1a94074

Browse files
committed
initial version of new docs
1 parent 948396b commit 1a94074

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+273
-23
lines changed

new-docs/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store

new-docs/README.md

Lines changed: 54 additions & 0 deletions

new-docs/astro.config.mjs

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// @ts-check
2+
import { defineConfig } from "astro/config";
3+
import starlight from "@astrojs/starlight";
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
integrations: [
8+
starlight({
9+
title: "Cortex",
10+
logo: { src: "./src/assets/logos/cortex.svg" },
11+
favicon: "./src/assets/logos/cortex.svg",
12+
social: {
13+
github: "https://github.com/menloresearch/cortex.cpp",
14+
discord: "https://github.com/menloresearch/cortex.cpp",
15+
"x.com": "https://github.com/menloresearch/cortex.cpp",
16+
youtube: "https://github.com/menloresearch/cortex.cpp",
17+
linkedin: "https://github.com/menloresearch/cortex.cpp",
18+
},
19+
sidebar: [
20+
{ label: "Welcome", slug: "overview" },
21+
{
22+
label: "Get Started",
23+
items: [
24+
// Each item here is one entry in the navigation menu.
25+
26+
{ label: "Quickstart", slug: "getting-started/quickstart" },
27+
{
28+
label: "Installation",
29+
items: [
30+
{
31+
label: "Install",
32+
slug: "getting-started/installation/installation",
33+
},
34+
{
35+
label: "Docker",
36+
slug: "getting-started/installation/docker",
37+
},
38+
],
39+
},
40+
// { label: "Docker", slug: "getting-started/installation/docker" },
41+
// { label: "Overview", slug: "overview" },
42+
// { label: "Overview", slug: "overview" },
43+
// { label: "Overview", slug: "overview" },
44+
// { label: "Overview", slug: "overview" },
45+
],
46+
},
47+
{
48+
label: "Guides",
49+
items: [
50+
// Each item here is one entry in the navigation menu.
51+
{ label: "Example Guide", slug: "guides/example" },
52+
],
53+
},
54+
{
55+
label: "Reference",
56+
autogenerate: { directory: "reference" },
57+
},
58+
],
59+
}),
60+
],
61+
});

new-docs/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "new-docs",
3+
"type": "module",
4+
"version": "0.0.1",
5+
"scripts": {
6+
"dev": "astro dev",
7+
"start": "astro dev",
8+
"build": "astro build",
9+
"preview": "astro preview",
10+
"astro": "astro"
11+
},
12+
"dependencies": {
13+
"@astrojs/starlight": "^0.32.2",
14+
"astro": "^5.1.5",
15+
"sharp": "^0.32.5",
16+
"starlight-blog": "^0.18.0"
17+
}
18+
}

new-docs/public/favicon.svg

Lines changed: 1 addition & 0 deletions

new-docs/src/assets/houston.webp

96.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)