docs: pandoc-based site and v0.1.0 groundwork (#5)

* chore(prose): remove em-dashes from config files

* chore(prose): remove em-dashes from android sdk config

* docs(spec-api): remove em-dash from README

* fix(doctor): reword sidecar-jar error without em-dash

* test(sidecar): reword assertion message without em-dash

* docs: add CLAUDE.md with project conventions

* build: add docs target for pandoc site

* docs(site): add pandoc template and stylesheet

* docs(site): add pandoc build script

* docs(site): add landing pages

* docs(manual): add getting-started

* docs(manual): add writing-specs

* docs(manual): add runs

* docs(manual): add cli reference

* docs(dev): add design principles

* docs(dev): add architecture

* ci: deploy docs site to github pages

* docs: rewrite README as entry point to docs site
This commit is contained in:
pj authored and GitHub committed 2026-04-18 14:00:57 +07:00
1 parent a74d9fbeae
commit e62319e916
25 files changed
+920 -56

No files matched your search

+174
View File
@@ -0,0 +1,174 @@
:root {
--bg: #ffffff;
--fg: #2a2a2a;
--muted: #6a6a6a;
--border: #e5e5e5;
--accent: #0a66c2;
--code-bg: #f6f6f6;
--sidebar-width: 240px;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #0f0f10;
--fg: #e5e5e5;
--muted: #a0a0a0;
--border: #2a2a2a;
--accent: #4aa3ff;
--code-bg: #1a1a1b;
}
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); }
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
font-size: 16px;
line-height: 1.55;
}
.layout {
display: grid;
grid-template-columns: var(--sidebar-width) 1fr;
min-height: 100vh;
max-width: 1280px;
margin: 0 auto;
}
.sidebar {
border-right: 1px solid var(--border);
padding: 1.5rem 1rem;
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
}
.sidebar .brand {
display: block;
font-weight: 700;
font-size: 1.25rem;
text-decoration: none;
color: var(--fg);
margin-bottom: 1.5rem;
}
.sidebar h3 {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--muted);
margin: 1.25rem 0 0.25rem;
font-weight: 600;
}
.sidebar nav ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar nav li a {
display: block;
padding: 0.2rem 0;
color: var(--fg);
text-decoration: none;
font-size: 0.95rem;
}
.sidebar nav li a:hover {
color: var(--accent);
}
main {
padding: 2rem 2.5rem 4rem;
max-width: 860px;
width: 100%;
}
main article h1 { font-size: 2rem; margin: 0 0 1.5rem; line-height: 1.2; }
main article h2 { margin-top: 2.5rem; font-size: 1.4rem; }
main article h3 { margin-top: 2rem; font-size: 1.1rem; }
a { color: var(--accent); }
code {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.9em;
background: var(--code-bg);
padding: 0.1rem 0.3rem;
border-radius: 3px;
}
pre {
background: var(--code-bg);
padding: 1rem;
border-radius: 4px;
overflow-x: auto;
font-size: 0.875rem;
line-height: 1.5;
}
pre code {
background: transparent;
padding: 0;
font-size: inherit;
}
table {
border-collapse: collapse;
margin: 1rem 0;
width: 100%;
font-size: 0.95rem;
}
th, td {
border: 1px solid var(--border);
padding: 0.5rem 0.75rem;
text-align: left;
vertical-align: top;
}
th { background: var(--code-bg); font-weight: 600; }
blockquote {
border-left: 3px solid var(--border);
padding-left: 1rem;
margin: 1rem 0;
color: var(--muted);
}
hr {
border: none;
border-top: 1px solid var(--border);
margin: 2rem 0;
}
footer {
margin-top: 4rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
font-size: 0.85rem;
color: var(--muted);
}
footer a { color: var(--muted); }
.mermaid {
text-align: center;
margin: 1.5rem 0;
}
@media (max-width: 768px) {
.layout { grid-template-columns: 1fr; }
.sidebar {
position: static;
height: auto;
border-right: none;
border-bottom: 1px solid var(--border);
}
main { padding: 1.5rem; }
}