Deca is a modern documentation theme built for Hugo, featuring seamless page transitions and multiple sidebars to deliver a smoother and more scalable documentation browsing experience.
- Built-in Swup with preload plugin for instant page transitions
- Three-column layout for clear structure and navigation
- Multiple sidebar support for large or modular documentation
- Hugo-based build with cached rendering for faster site generation
- Minimal JavaScript, fully functional in no-JS environments
- Minimal CSS, less than 10KB
- Customizable through the Infima CSS variable system
- Core resources bundled within the theme, no CDN required, works without external network access
Deca integrates seamless page navigation with Swup and page preloading, delivering a silky-smooth browsing experience with no white-screen flashes or loading delays, while retaining the SEO benefits and fast initial load times of static sites.
Beyond that, Deca extensively uses caching to fully leverage Hugo's performance advantages—a capability currently unavailable in other Hugo documentation themes. Deca not only caches sidebar data to avoid repeated traversal during builds but also natively skips collapsed sidebars to accelerate builds. For large-scale sites, Deca supports the sidebarCachedRender option to further optimize build performance.
This project is licensed under the MIT License. Please retain the original author credit in any adapted or derivative works.
