Petal Docs will be a Free & Open Source (Apache 2.0) documentation generator and theming toolkit with a calm, sakura‑inspired aesthetic.
Goal: turn Markdown collections into a fast, accessible static site with minimal configuration and tasteful visual identity.
Create a lightweight Static Site Generator (SSG) focused on:
- Writer ergonomics (just Markdown + optional frontmatter)
- Readability first (typography, spacing, color contrast)
- Subtle theming personality (sakura accents without visual noise)
- Extensibility via simple component / shortcode primitives (later)
- Clarity over spectacle (content must remain the hero)
- Zero required JavaScript for baseline navigation & reading
- Progressive enhancement (search, dark mode, interactive blocks)
- Predictable build pipeline (deterministic output)
- Pluggable but not tangled (themes & processors isolated)
- CLI:
petal build src/ -o dist/
- Frontmatter support (
title
,description
,nav_order
,tags
) - Automatic sidebar & breadcrumb generation
- Search index (client-side, likely Fuse-based; optional)
- Dark / light / auto theme
- Built-in components: callouts, badges, code block enhancements
- Mermaid diagram rendering (optional)
- Asset hashing + clean relative linking
- Theme override directory (
theme/
)
- Complex server-side dynamic rendering
- Full CMS / database integration
- Heavy client frameworks or SPA routing
docs/
getting-started.md
concepts/
architecture.md
glossary.md
guides/
extending-theme.md
Frontmatter example (planned):
---
title: Getting Started
description: How to begin using Petal Docs.
nav_order: 1
tags: [intro]
---
# Getting Started
...
- Minimal parser + file walker
- Static HTML emitter + base theme
- Navigation + frontmatter metadata
- Dark/light mode + small search
- Components / shortcodes
- Plugin API + theme packaging
Concept stage only. No functional code has been published yet. This repository currently represents future intent.
Planned & intended license: Apache License 2.0 (will be present before first code commit).
MkDocs, Docusaurus, Hugo, Zola, and minimalist typographic design systems.
“Documentation can carry identity without sacrificing clarity.”