This file provides guidance to Claude Code when working with this repository.
Hugo-based marketing and documentation site for Polyphon. Deployed to GitHub Pages via .github/workflows/deploy-site.yml.
hugo server # local dev server at http://localhost:1313
hugo --minify # production build → public/
npm ci && npm run pagefind # build full-text search index (run after hugo --minify)There is no CSS build pipeline — themes/polyphon/assets/css/main.css is vanilla CSS, edited directly.
content/
_index.md # Homepage — frontmatter only; body is NOT rendered (homepage uses themes/polyphon/layouts/index.html)
blog/ # Release posts (one leaf bundle per release)
docs/
polyphon/ # Main app documentation
integrations/
obsidian-polyphon/ # Obsidian plugin docs
for-developers/ # API and MCP server reference
roadmap.md # Roadmap page (data sourced from data/roadmap.yaml)
about.md
search.md
Blog posts and most docs pages use Hugo leaf bundles (a directory with index.md + assets). Create new posts as directories, not bare .md files.
hugo.yaml— site config;params.downloadVersionis the current release version. Do not edit by hand — it is updated automatically by theupdate-download-version.ymlworkflow in thepolyphonrepo on each release.data/homepage.yaml— feature cards on the homepagedata/roadmap.yaml— roadmap items with status, dates, and GitHub discussion linksthemes/polyphon/— custom theme (not a git submodule; edit in place)
The custom theme lives entirely in themes/polyphon/. Design system highlights:
- OKLCH color space for light/dark mode palettes
- Geist Sans variable font (served from
static/fonts/) - Provider accent colors (Anthropic, OpenAI, Gemini, Copilot, Ollama) defined as CSS custom properties in
main.css
When a Polyphon release is published, the update-download-version.yml workflow in the polyphon repo automatically:
- Updates
params.downloadVersioninhugo.yaml - Creates a new blog post in
content/blog/polyphon-vX.Y.Z-released/ - Commits, pushes, and triggers a site deploy
../polyphon— desktop app; drivesdownloadVersionupdates and release blog posts via GitHub Actions../obsidian-polyphon— Obsidian plugin; its user-facing docs live incontent/docs/integrations/obsidian-polyphon/
This project is part of the polyphon-ai workspace. See ../.github/CLAUDE.md for how the projects relate to each other.