-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.php
More file actions
145 lines (140 loc) · 10.7 KB
/
Copy pathdocs.php
File metadata and controls
145 lines (140 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?php require __DIR__ . '/_bootstrap.php'; ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cortex Documentation</title>
<script src="/assets/support.js"></script>
<link rel="stylesheet" href="/assets/theme.css">
</head>
<body class="lovable-theme">
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
<style>
body{margin:0;background:#faf9f7;color:#1c1a17;font-family:'Instrument Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#1c1a17;text-decoration:none}a:hover{color:oklch(0.55 0.17 285)}
::selection{background:oklch(0.9 0.06 285)}
</style>
</helmet>
<div style="min-height:100vh">
<nav style="position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:14px 40px;background:rgba(250,249,247,0.85);backdrop-filter:blur(12px);border-bottom:1px solid rgba(28,26,23,0.06)">
<a class="brand-link" href="/" style="display:flex;align-items:center;gap:10px">
<span style="width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,oklch(0.62 0.17 285),oklch(0.72 0.15 40))!important;display:inline-flex;align-items:center;justify-content:center;color:#fff!important;font-family:Sora!important;font-weight:700;font-size:13px">C</span>
<span style="font-family:Sora!important;font-weight:600!important;font-size:17px!important;letter-spacing:-0.01em!important;color:#1c1a17!important">Cortex</span>
</a>
<?php cortex_navigation('Docs'); ?>
</nav>
<header style="position:relative;overflow:hidden;padding:88px 24px 64px;text-align:center">
<div style="position:absolute;inset:-30% -10% auto;height:460px;background:radial-gradient(520px 300px at 50% 10%,oklch(0.88 0.07 40 / 0.5),transparent 70%);pointer-events:none"></div>
<div style="position:relative;max-width:680px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:18px">
<p style="margin:0;font-size:13px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:oklch(0.62 0.14 40)">Documentation</p>
<div class="cms-page-intro">
<?= cms_editable('docs/intro') ?>
</div>
</div>
</header>
<section style="background:#fff;border-top:1px solid rgba(28,26,23,0.06);padding:72px 40px 40px">
<div style="max-width:960px;margin:0 auto">
<div style="display:grid;grid-template-columns:1fr 1fr;gap:20px">
<sc-for list="{{ docs }}" as="d" hint-placeholder-count="4">
<a href="{{ d.href }}" style="display:flex;flex-direction:column;gap:12px;background:#faf9f7;border:1px solid rgba(28,26,23,0.08);border-radius:16px;padding:28px;color:#1c1a17" style-hover="border:1px solid oklch(0.7 0.1 285 / 0.6);color:#1c1a17">
<div style="display:flex;align-items:center;justify-content:space-between">
<span style="font-family:Sora;font-weight:700;font-size:12px;letter-spacing:0.06em;color:{{ d.color }}">{{ d.tag }}</span>
<span style="font-size:15px;color:rgba(28,26,23,0.35)">→</span>
</div>
<h2 style="margin:0;font-family:Sora;font-weight:600;font-size:20px;letter-spacing:-0.01em">{{ d.title }}</h2>
<p style="margin:0;font-size:14.5px;line-height:1.6;color:rgba(28,26,23,0.62)">{{ d.body }}</p>
<div style="display:flex;flex-wrap:wrap;gap:6px;margin-top:2px">
<sc-for list="{{ d.topics }}" as="t" hint-placeholder-count="3">
<span style="font-size:11.5px;font-weight:500;padding:4px 10px;border-radius:99px;background:#fff;border:1px solid rgba(28,26,23,0.1);color:rgba(28,26,23,0.6)">{{ t }}</span>
</sc-for>
</div>
</a>
</sc-for>
</div>
<p style="margin:20px 0 0;font-size:13px;color:rgba(28,26,23,0.45);text-align:center">Reference documents ship in the repository — links here are placeholders until the docs site is published.</p>
</div>
</section>
<section style="background:#fff;padding:56px 40px 96px">
<div style="max-width:960px;margin:0 auto;display:grid;grid-template-columns:1fr 1.2fr;gap:56px;align-items:start">
<div>
<p style="margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:oklch(0.55 0.17 285)">Getting started</p>
<h2 style="margin:0 0 14px;font-family:Sora;font-weight:600;font-size:30px;letter-spacing:-0.02em;line-height:1.15">From clone to conversation</h2>
<p style="margin:0;font-size:16px;line-height:1.65;color:rgba(28,26,23,0.65);text-wrap:pretty">The default installation gives you one Default workspace — the current repository setup. Its matbot.yaml defines the providers, active plugins, the Cortex WebUI, workspace RAG, memory, skills, the expert panel, and file-management tools.</p>
</div>
<div style="display:flex;flex-direction:column;gap:12px">
<sc-for list="{{ steps }}" as="s" hint-placeholder-count="4">
<div style="display:flex;gap:16px;background:#faf9f7;border:1px solid rgba(28,26,23,0.07);border-radius:14px;padding:18px 20px">
<span style="font-family:Sora;font-weight:700;font-size:14px;color:oklch(0.6 0.14 285);width:26px;height:26px;border-radius:99px;background:oklch(0.94 0.03 285);display:inline-flex;align-items:center;justify-content:center;flex:none">{{ s.num }}</span>
<div>
<div style="font-weight:600;font-size:15px;margin-bottom:3px">{{ s.title }}</div>
<div style="font-size:14px;line-height:1.55;color:rgba(28,26,23,0.6)">{{ s.body }}</div>
</div>
</div>
</sc-for>
</div>
</div>
</section>
<section style="padding:100px 40px;text-align:center;position:relative;overflow:hidden">
<div style="position:absolute;inset:0;background:radial-gradient(500px 280px at 50% 100%,oklch(0.86 0.08 285 / 0.5),transparent 70%);pointer-events:none"></div>
<div style="position:relative;max-width:600px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:18px">
<h2 style="margin:0;font-family:Sora;font-weight:600;font-size:36px;letter-spacing:-0.02em;line-height:1.12;text-wrap:balance">Prefer a guided walkthrough?</h2>
<p style="margin:0;font-size:16.5px;color:rgba(28,26,23,0.6)">We'll set up a workspace live and answer your compliance questions.</p>
<a href="/pricing/#demo" style="background:#1c1a17;color:#fff;padding:15px 32px;border-radius:99px;font-weight:600;font-size:15.5px" style-hover="background:oklch(0.35 0.05 285);color:#fff">Request a demo</a>
</div>
</section>
<footer style="border-top:1px solid rgba(28,26,23,0.07);padding:48px 40px;background:#faf9f7">
<div style="max-width:1060px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap">
<div style="display:flex;flex-direction:column;gap:10px">
<div class="brand-lockup" style="display:flex;align-items:center;gap:9px">
<span style="width:22px;height:22px;border-radius:7px;background:linear-gradient(135deg,oklch(0.62 0.17 285),oklch(0.72 0.15 40))!important;display:inline-flex;align-items:center;justify-content:center;color:#fff!important;font-family:Sora!important;font-weight:700;font-size:11px">C</span>
<span style="font-family:Sora!important;font-weight:600!important;font-size:15px!important;color:#1c1a17!important">Cortex</span>
</div>
<p style="margin:0;font-size:13px;color:rgba(28,26,23,0.5);max-width:280px">A Windows-native local assistant built on the Matbot runtime. Everything stays on your machine.</p>
</div>
<div style="display:flex;gap:64px;font-size:14px">
<div style="display:flex;flex-direction:column;gap:10px">
<span style="font-weight:600;font-size:12.5px;letter-spacing:0.06em;text-transform:uppercase;color:rgba(28,26,23,0.45)">Product</span>
<a href="/features/" style="color:rgba(28,26,23,0.7)">Features</a>
<a href="/pricing/" style="color:rgba(28,26,23,0.7)">Pricing</a>
</div>
<div style="display:flex;flex-direction:column;gap:10px">
<span style="font-weight:600;font-size:12.5px;letter-spacing:0.06em;text-transform:uppercase;color:rgba(28,26,23,0.45)">Documentation</span>
<a href="/docs/" style="color:rgba(28,26,23,0.7)">Plugins & Tools</a>
<a href="/docs/" style="color:rgba(28,26,23,0.7)">Memory & Retrieval</a>
<a href="/docs/" style="color:rgba(28,26,23,0.7)">Expert Panel Manual</a>
<a href="/docs/" style="color:rgba(28,26,23,0.7)">WebUI</a>
</div>
</div>
</div>
<p style="max-width:1060px;margin:36px auto 0;font-size:12.5px;color:rgba(28,26,23,0.4)">© 2026 Cortex. Matbot is the underlying runtime and plugin system; Cortex is the product shell configured on top of it.</p>
</footer>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script>
class Component extends DCLogic {
renderVals() {
const violet = 'oklch(0.55 0.17 285)', peach = 'oklch(0.62 0.14 40)';
return {
docs: [
{tag:'REFERENCE', color:violet, href:'#', title:'Plugins And Tools', body:'Active and bundled plugins, adding plugins at runtime, and governed retrieval, workflow, evaluation, ROI, host-file, expert-panel, and cognition tools.', topics:['Plugins','Governed tools','Runtime loading']},
{tag:'REFERENCE', color:peach, href:'#', title:'Memory And Retrieval', body:'The "remember my name" flow, remembered_facts, KnowledgeIndex, workspace RAG, contextual_search, and memory-policy.json.', topics:['Memory','RAG','memory-policy.json']},
{tag:'USER MANUAL', color:violet, href:'#', title:'Expert Panel WebUI User Manual', body:'Using the expert panel from the WebUI: selection, modes, synthesis, citations, and troubleshooting.', topics:['Experts','Synthesis','Citations']},
{tag:'REFERENCE', color:peach, href:'#', title:'WebUI', body:'WebUI capabilities and behavior — conversations, files, providers, experts, workspaces, and settings.', topics:['WebUI','Workspaces','Settings']},
],
steps: [
{num:'1', title:'Install and launch', body:'Follow the user guide, then start Cortex with the bundled PowerShell launch scripts.'},
{num:'2', title:'Open the Default workspace', body:'It ships pre-configured: providers, plugins, RAG, memory, skills, and the expert panel.'},
{num:'3', title:'Point it at your files', body:'Local services index your markdown and files safely — retrieval works immediately.'},
{num:'4', title:'Branch into new workspaces', body:'Copy the Default shape per project and let each one diverge independently.'},
],
};
}
}
</script>
<?= cms_assets() ?>
</body>
</html>