moinframe/kirby-paradocs
Composer 安装命令:
composer require moinframe/kirby-paradocs
包简介
Auto-generate beautiful documentation pages using markdown
README 文档
README
Kirby Paradocs
Auto-generate beautiful documentation pages from markdown files within your Kirby plugins.
Features
- Auto-Discovery: Automatically scans installed plugins for documentation
- Beautiful Frontend: Clean, responsive documentation interface inspired by Kirby Docs
- Markdown Processing: Full markdown support with frontmatter, alerts, and code blocks
- Syntax Highlighting: Enhanced code highlighting with Phiki integration
- Access Control: Optional authentication to restrict documentation access
- Smart Caching: Built-in caching for optimal performance
- Plugin Filtering: Safelist specific plugins for documentation inclusion
How It Works
Kirby Paradocs transforms your plugin directories into a unified documentation site. When you visit /docs (configurable), the plugin scans all installed Kirby plugins looking for documentation files. It processes README.md files, /docs directories, and optional .paradocs.json configuration files to build a comprehensive documentation hierarchy.
Each plugin's documentation is automatically organized with support for nested directories, index pages, and rich markdown content. The plugin processes markdown and provides syntax highlighting for code examples. All documentation is rendered through customizable Kirby templates and snippets.
The system respects your plugin's existing documentation structure while providing a polished interface for end users. Whether you're documenting internal tools or public plugins, Paradocs creates a quick and good looking documentation experience.
Quick Start
Download
Download and copy this repository to /site/plugins/kirby-paradocs.
Composer
composer require moinframe/kirby-paradocs
# With enhanced syntax highlighting
composer require moinframe/kirby-paradocs phiki/phiki
Git submodule
git submodule add https://github.com/moinframe/kirby-paradocs.git site/plugins/kirby-paradocs
Visit your documentation:
Navigate to /docs in your Kirby site to view the generated documentation. You have to be logged in to the Kirby Panel if not otherwise configured.
Documentation
- Getting started - Complete setup instructions
- Writing docs - How to write documentation
- Customization - Customize to fit your site
- Custom Processors - Extend the system with custom processors
Requirements
- Kirby CMS: 4.6+
- PHP: 8.3+
- Optional: Phiki for enhanced syntax highlighting
Support
- Documentation: Website
- Issues: GitHub Issues
- Source Code: GitHub Repository
License
moinframe/kirby-paradocs 适用场景与选型建议
moinframe/kirby-paradocs 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 137 次下载、GitHub Stars 达 18, 最近一次更新时间为 2025 年 02 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 moinframe/kirby-paradocs 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 moinframe/kirby-paradocs 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 137
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-28
