lindemannrock/craft-docs-manager
Composer 安装命令:
composer require lindemannrock/craft-docs-manager
包简介
Parse and sync documentation from markdown files to Craft CMS
README 文档
README
Docs Manager for Craft CMS
Sync and serve documentation for plugins and themes from markdown files on your Craft CMS website. Supports local filesystem and GitHub API sources with automatic scheduled syncing.
⚠️ Pre-Release
This plugin is in active development and not yet available on the Craft Plugin Store. Features and APIs may change before the initial public release.
Features
- Dual Source Support — Sync from local filesystem or GitHub API per-source
- Plugin & Theme Sources — Each source has a kind (plugin or theme) for filtering
- Versioned Docs — Sync default docs from
mainand pinned versions from refs such ascraft-5 - Automatic Sync — Scheduled sync via Craft queue (hourly, daily, weekly, monthly)
- Custom Pages — CP-managed pages (FAQ, features, pricing, support) attached to a source alongside synced docs
- Code Extraction — Auto-generate docs skeleton from PHP source (Settings, permissions, commands, events, Twig variables)
- CommonMark Parser — Full markdown parsing with syntax highlighting, anchor generation, and
.mdlink stripping - Sidebar Navigation — Driven by
.sidebar.jsonwith section grouping - On This Page — Auto-generated heading anchors for in-page navigation
- Changelog Parsing — Syncs and parses CHANGELOG.md with CommonMark rendering
- Version Detection — Reads source versions from
composer.json/ CHANGELOG / Packagist / git tags - Quick Add — Auto-discover sources with
docs/index.jsonvia dropdown - Prev/Next Navigation — Automatic previous and next page links
- Frontend Templates — Installable starter templates for source listing, docs, and changelog pages
Requirements
- Craft CMS 5.0+
- PHP 8.2+
- Logging Library 5.0+ — installed automatically; enable in CP to activate log viewing
- Code Highlighter 5.0+ — installed automatically; enable in CP to activate syntax highlighting
Installation
Via Composer
composer require lindemannrock/craft-docs-manager
php craft plugin/install docs-manager
Using DDEV
ddev composer require lindemannrock/craft-docs-manager
ddev craft plugin/install docs-manager
Documentation
Full documentation is available in the docs folder.
Support
- Documentation: https://github.com/LindemannRock/craft-docs-manager
- Issues: https://github.com/LindemannRock/craft-docs-manager/issues
- Email: support@lindemannrock.com
License
This plugin is licensed under the Craft License. See LICENSE.md for details.
Developed by LindemannRock
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2026-05-21
