Manual Publishing Design
Goal: Publish the doc/ directory as a static site at /manual/ with Almanack branding and left-side navigation.
Audience: Contributors, technical collaborators, general public, and ourselves - presented as a unified whole rather than segmented sections.
Design Decisions
| Question | Decision |
|---|---|
| Visual relationship to main site | Lighter Almanack touch - same fonts/colors, simpler layout |
| Navigation structure | Grouped by topic in left sidebar |
| How groups are defined | Directory structure |
| Section landing pages | index.md with `` marker for auto-generated child listing |
| Ordering within sections | Filename prefix (01-setup.md) stripped from URLs |
Root /manual/ page |
Current doc/index.md |
| Naming | “Manual” not “Documentation” |
Directory Structure
doc/
├── index.md → /manual/
├── website/
│ ├── index.md → /manual/website/
│ ├── 01-setup.md → /manual/website/setup/
│ ├── 02-site-design.md → /manual/website/site-design/
│ └── 03-site-operation.md → /manual/website/site-operation/
├── editorial/
│ ├── index.md → /manual/editorial/
│ └── 01-style-guide.md → /manual/editorial/style-guide/
├── process/
│ ├── index.md → /manual/process/
│ ├── plans/
│ │ ├── index.md → /manual/process/plans/
│ │ └── ...
│ └── critiques/
│ ├── index.md → /manual/process/critiques/
│ └── ...
└── finances.md → /manual/finances/
Top-level docs appear in the root section. Subdirectories become sections. Numeric prefixes control order but get stripped from URLs.
Visual Layout
┌──────────────────────────────────────────────────────┐
│ ALMNCK. Manual │
├────────────────┬─────────────────────────────────────┤
│ │ │
│ Website │ # Site Design │
│ Setup │ │
│ Design ← │ The Almanack site is managed by │
│ Operation │ Django, but the production version │
│ │ is *static content*, generated... │
│ Editorial │ │
│ Style Guide │ │
│ │ │
│ Process │ │
│ ▸ Plans │ │
│ ▸ Critiques │ │
│ │ │
│ Finances │ │
│ │ │
└────────────────┴─────────────────────────────────────┘
- Header: Simplified masthead - “ALMNCK.” linking home, “Manual” on right
- Left nav: Sticky, shows all sections expanded with current doc highlighted. Subsections collapse with ▸
- Content: Cormorant Garamond body text, Fell English for headings. No drop caps or gazette flourishes.
- Mobile: Nav collapses to hamburger menu at top
Implementation Approach
New Django app (almnck.manual) within the existing Django project:
- Lives in
src/almnck/manual/ - Has its own views, URLs, templates
- Registers with the same distill build process
- Shares
base.htmland CSS with the rest of the site
Not a Unit type. Docs don’t have volumes, issues, almanac-days, or editorial passes. They’re reference material with their own simpler lifecycle.
No database. The sync is one-way: filesystem → rendered HTML. The doc/ directory is the source of truth.
Frontmatter
Optional, overrides defaults:
---
title: "Site Design" # Override title (default: first # heading)
description: "How the site works" # Shows in nav listings
nav_order: 5 # Override filename-based ordering
visibility: private # Exclude from published docs
---
Special Handling
index.mdin any folder → that folder’s landing page- `` marker → replaced with auto-generated child listing
- Files without
.mdextension → ignored - Symlinks → ignored (avoids accidentally publishing secrets/)
- Relative links between docs → rewritten to absolute URLs
What Docs Don’t Have
- Editorial workflow (STYLE, FACT passes)
- Volume/issue metadata
- Almanac-day scheduling
- Database storage
Docs are published as-is from the filesystem.