docs: simplify navigation and layout

This commit is contained in:
Onur Özkan committed 2026-08-09 15:02:44 +03:00
1 parent 01cc74b7e7
commit b50fb52613
3 files changed
+10 -33

No files matched your search

+1 -1
View File
@@ -13,6 +13,6 @@ create-missing = false
[output.html] [output.html]
default-theme = "navy" default-theme = "navy"
preferred-dark-theme = "navy" preferred-dark-theme = "navy"
additional-css = ["theme/lore.css"] additional-css = ["theme/layout.css"]
fold = { enable = false } fold = { enable = false }
search = { enable = false } search = { enable = false }
-15
View File
@@ -1,28 +1,13 @@
# Summary # Summary
- [Overview](index.md) - [Overview](index.md)
# Start here
- [Getting started](getting-started.md) - [Getting started](getting-started.md)
- [Development and verification](development.md) - [Development and verification](development.md)
# Design
- [Architecture](architecture.md) - [Architecture](architecture.md)
- [Safety boundary](safety-boundary.md) - [Safety boundary](safety-boundary.md)
- [MAVLink and telemetry](mavlink.md) - [MAVLink and telemetry](mavlink.md)
# Platforms
- [Boards](boards/index.md) - [Boards](boards/index.md)
- [Kakute F7 Mini V3](boards/kakute-f7-mini-v3.md) - [Kakute F7 Mini V3](boards/kakute-f7-mini-v3.md)
- [GEPRC GEP-F722-HD V2](boards/geprc-f722-v2.md) - [GEPRC GEP-F722-HD V2](boards/geprc-f722-v2.md)
# Simulation
- [Host SITL](sitl.md) - [Host SITL](sitl.md)
# Reference
- [Reference](reference.md) - [Reference](reference.md)
+9 -17
View File
@@ -1,7 +1,4 @@
/* /* Static documentation layout. */
* A static documentation layout: kernel-docs navigation with lore-like
* restraint. Colours follow Orkavian's black, silver, and green palette.
*/
:root, :root,
html.light, html.light,
html.rust, html.rust,
@@ -80,16 +77,6 @@ body {
margin: 0; margin: 0;
} }
.sidebar-scrollbox .part-title {
color: var(--kaptan-muted);
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.08em;
margin: 0;
padding: 1rem 1rem 0.3rem;
text-transform: uppercase;
}
.sidebar-scrollbox .chapter-item a { .sidebar-scrollbox .chapter-item a {
color: var(--kaptan-text); color: var(--kaptan-text);
display: block; display: block;
@@ -123,7 +110,12 @@ body {
box-sizing: border-box; box-sizing: border-box;
margin: 0 auto; margin: 0 auto;
max-width: 78ch; max-width: 78ch;
padding: 2rem 1.5rem 3rem; padding: 4rem 1.5rem 3rem;
}
/* mdBook offsets this for its menu placeholder; this layout hides that menu. */
.page {
margin-block-start: 0 !important;
} }
.content main { .content main {
@@ -202,8 +194,8 @@ code {
} }
pre { pre {
background: var(--kaptan-surface); background: #1d1712;
border: 1px solid var(--kaptan-border); border: 1px solid #5b4935;
overflow-x: auto; overflow-x: auto;
padding: 0; padding: 0;
} }