+
Skip to content

sakuraforge/petal-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Petal Docs

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.

Vision

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)

Core Principles

  1. Clarity over spectacle (content must remain the hero)
  2. Zero required JavaScript for baseline navigation & reading
  3. Progressive enhancement (search, dark mode, interactive blocks)
  4. Predictable build pipeline (deterministic output)
  5. Pluggable but not tangled (themes & processors isolated)

Planned (Future – Not Yet Implemented)

  • 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/)

Non‑Goals (Initial Phase)

  • Complex server-side dynamic rendering
  • Full CMS / database integration
  • Heavy client frameworks or SPA routing

Example Concept (Not Implemented)

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
...

Roadmap Sketch (Aspirational)

  1. Minimal parser + file walker
  2. Static HTML emitter + base theme
  3. Navigation + frontmatter metadata
  4. Dark/light mode + small search
  5. Components / shortcodes
  6. Plugin API + theme packaging

Status

Concept stage only. No functional code has been published yet. This repository currently represents future intent.

License

Planned & intended license: Apache License 2.0 (will be present before first code commit).

Inspiration

MkDocs, Docusaurus, Hugo, Zola, and minimalist typographic design systems.


“Documentation can carry identity without sacrificing clarity.”

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载