Skip to content

Releases: remorses/holocron

@holocron.so/vite@0.1.0

16 Apr 13:33

Choose a tag to compare

Initial release — drop-in Mintlify replacement as a Vite plugin.

  1. Full Mintlify-compatible docs site from MDX — reads docs.json (or holocron.jsonc) for navigation, tabs, groups, anchors, redirects, footer, banner, fonts, colors, SEO metadata, and favicon. Renders MDX pages with editorial typography, code blocks (Prism with all languages), callouts, tables, accordions, expandable fields, cards, steps, frames, panels, badges, tooltips, and more.

  2. React Server Components on Vite 8 — powered by spiceflow. Server-rendered pages with full client hydration, client-side navigation, and per-page loaders.

  3. Navigation with tabs, versions, and dropdownsnavigation.tabs for switching sidebar content, navigation.versions for a version selector dropdown, and navigation.dropdowns (or navigation.products) for product-scoped navigation. Each switcher owns its own inner tab/group tree.

  4. Custom entry point support — mount holocron as a child of your own spiceflow app:

    import { createHolocronApp } from '@holocron.so/vite/app'
    const holocronApp = await createHolocronApp()
    const app = new Spiceflow().use(holocronApp)
  5. HMR for config and MDX — editing MDX content, adding/removing pages, and changing docs.json all hot-reload without a full page refresh.

  6. AI agent support — serves raw markdown at /<page>.md URLs, redirects AI user-agents to .md endpoints, exposes /sitemap.xml with .md hints, and bundles all docs as /docs.zip.

  7. Built-in icon atlas — resolves Lucide and Font Awesome icons at build time. Icons render inline as SVGs inheriting currentColor. Supports emoji, URL, and structured { name, library } icon objects.

  8. Image processing with pixelated placeholders — local images get dimensions + compact WebP placeholders at build time. Blur-to-sharp transition and click-to-zoom via react-medium-image-zoom.

  9. OG image generation — auto-generates Open Graph PNG images per page using Takumi.

  10. Generated fallback logo — text-based logo PNG using Bagnard font, with light and dark variants.

  11. Sidebar search — Orama full-text index with keyboard navigation and wrap-around.

  12. Dark mode — class-based with cookie persistence and a blocking theme script (no flash). OS preference fallback.

  13. CSS @layer holocron — all styles wrapped in a CSS layer. Uses shadcn v2 CSS variable convention for full theme customization.

  14. Redirects — exact match, named parameters (:id), trailing wildcards (*). Query strings preserved. 301 status.

  15. Base path support — mount docs under a subpath like /docs.

  16. Footer with socials — logo, social icons, up to 4 link columns.

  17. Banner — dismissible top banner with MDX content and configurable colors.

  18. Custom virtual modules — override virtual:holocron-config and virtual:holocron-pages for programmatic control.

  19. Sticky per-section asides<Aside> scoped to its section, <Aside full> spans multiple sections. RequestExample/ResponseExample auto-widen the sidebar.

  20. 404 page — styled 404 inside the editorial layout with missing path, link home, and noindex meta.

@holocron.so/cli@0.3.2

18 Sep 17:24

Choose a tag to compare

Patch Changes

  • export holocronjsonc type

@holocron.so/cli@0.3.1

18 Sep 17:04

Choose a tag to compare

Patch Changes

  • fix double api api in client