@doxbrix/doxloop-generator-sphinx
v0.1.0
Published
Sphinx generator adapter and authoring skill for Doxloop.
Downloads
39
Readme
@doxbrix/doxloop-generator-sphinx
Sphinx support for Doxloop. This package
connects Doxloop to a native Sphinx documentation project and includes the
doxloop-sphinx 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-sphinxNode.js 20.12 or later and Python 3 are required. Doxloop creates a managed Python environment when the Sphinx preview is started for the first time.
Create documentation
Initialize a Sphinx documentation project and connect the product source that Doxloop should research:
npx doxloop init . \
--source product=../my-product \
--generator sphinx
npx doxloop createDoxloop scaffolds Sphinx configuration, reStructuredText content, generator-native navigation, and the project-local authoring skill.
Use with an existing project
Install Sphinx support in an existing Doxloop project with:
npx doxloop generator add sphinxAdding 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
sphinx-build -W -b html docs _build/html| Detail | Value |
| --- | --- |
| Content | reStructuredText (.rst) |
| Native build | sphinx-build -W -b html docs _build/html |
| Build output | _build/html/ |
Run npx doxloop generator info sphinx to inspect the installed adapter.
