Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Hugo documentation theme forked from Hugo Alabaster, indirectly ported from Sphinx.
Onyx is a documentation theme for Hugo, forked from the Hugo Alabaster theme and indirectly ported from Sphinx, designed to build documentation sites with a familiar sidebar-based layout.
Onyx is a Hugo theme component that provides a documentation-oriented layout inherited from the Alabaster design. It takes a Hugo site's content (such as Markdown files for documentation) and renders it into a structured documentation site with a sidebar navigation. The theme runs on Hugo, requires a Go installation to use Hugo Modules, and was created by Kaushal Modi (based on the repository URL). It is an indirect port of the Sphinx documentation system's Alabaster theme, adapted from Digitalcraftsman's Hugo Alabaster theme.
hugo mod tidy to fetch it.hugo mod.hugo mod tidy command, a new Hugo site can adopt Onyx as its theme.Onyx uses Hugo's component system. You add the module import path to your site's configuration file, then run hugo mod tidy in your main site directory. The theme automatically fetches both its base and the debugprint component during the build process.
hugo mod commands need it; not tested on older Hugo versions (only v0.92.0 and later).Onyx is free and open source under the BSD license. There are no pricing tiers or paid plans mentioned.
Yes, Onyx is released under the BSD license, which permits free use, modification, and redistribution with attribution.
You need Go installed (from go.dev/doc/install) because the theme uses Hugo Modules, and a current Hugo version (the theme was last tested with v0.92.0).
Add github.com/kaushalmodi/hugo-onyx-theme to your site's module.imports in the TOML config, then run hugo mod tidy in your site directory.
Onyx is a Hugo theme; Alabaster is a Sphinx theme for Python documentation. Onyx is a fork of Hugo Alabaster, which is itself an indirect port of Sphinx's Alabaster.
