moinframe/kirby-paradocs 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

moinframe/kirby-paradocs

最新稳定版本:1.0.1

Composer 安装命令:

composer require moinframe/kirby-paradocs

包简介

Auto-generate beautiful documentation pages using markdown

README 文档

README

Kirby Paradocs

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

Requirements

  • Kirby CMS: 4.6+
  • PHP: 8.3+
  • Optional: Phiki for enhanced syntax highlighting

Support

License

MIT License

统计信息

  • 总下载量: 133
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固