📚 Rhyla Documentation — Markdown‑first docs, zero friction

Rhyla is a lightweight, template‑driven documentation generator. Write in Markdown, drop files into folders, and get a clean docs site with a smart sidebar, instant search, light/dark themes, and a static build ready to deploy.

— Minimal setup. No lock‑in. Fast authoring.


✨ Highlights


⏱ Quickstart

  1. Initialize a docs workspace
rhyla init

This creates a rhyla/ folder with templates (header.html, home.md, styles/, public/, and body/).

  1. Start developing
rhyla dev

Preview at http://localhost:3333. The sidebar and search update as you add/edit files.

  1. Build for production
rhyla build

Outputs a static site to dist/.


📁 Authoring model

The sidebar mirrors the folder tree under rhyla/body/.

Naming tips:


🎨 Theming & layout

Anti‑flicker: the selected theme is applied before first paint to avoid flashing.


🔎 Search

Rhyla ships with a content indexer and a special search page.

Tip: keep rhyla/body/search.html in your project (it’s listed first in the sidebar).


⚙️ SPA‑like navigation

Page transitions only replace the <main> content, keeping header and sidebar fixed. Scripts inside pages are re‑executed safely, so special pages (like Search) work when revisiting.


📦 Project layout (essentials)

rhyla/
   body/               # your docs (md/html)
   public/             # static assets served at /public
   styles/             # global + themes
   header.html         # header + theme toggle + SPA runtime

🧩 FAQ (short)


🤝 Contributing

PRs and issues are welcome: https://github.com/joseRibamar21/rhyla_documentation