@doxbrix/doxloop-generator-hugo
v0.1.0
Published
Hugo generator adapter and authoring skill for Doxloop.
Readme
@doxbrix/doxloop-generator-hugo
Hugo support for Doxloop. This package
connects Doxloop to a native Hugo documentation project and includes the
doxloop-hugo authoring skill used by supported coding agents.
Install
Install the Doxloop CLI and this generator in your documentation project:
npm install --save-dev \
@doxbrix/doxloop \
@doxbrix/doxloop-generator-hugoNode.js 20.12 or later and a working Hugo installation are required.
Create documentation
Initialize a Hugo documentation project and connect the product source that Doxloop should research:
npx doxloop init . \
--source product=../my-product \
--generator hugo
npx doxloop createDoxloop scaffolds Hugo configuration, Markdown content, generator-native navigation, and the project-local authoring skill.
Use with an existing project
Install Hugo support in an existing Doxloop project with:
npx doxloop generator add hugoAdding the package does not convert existing content or change the generator
selected in .doxloop/project.json.
Preview and verify
npx doxloop preview --open
npx doxloop test
hugo --minify| Detail | Value |
| --- | --- |
| Content | Markdown |
| Native build | hugo --minify |
| Build output | public/ |
Run npx doxloop generator info hugo to inspect the installed adapter.
