承接 gobst/buildadoc 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

gobst/buildadoc

最新稳定版本:v1.0.4

Composer 安装命令:

composer require gobst/buildadoc

包简介

BuildADoc is a PHP documentation generator designed specifically for DokuWiki.

README 文档

README

Latest Stable Version License PHP Version Required Coverage Status Mutation testing badge

BuildADoc

About

BuildADoc is a PHP documentation generator designed specifically for DokuWiki. It parses your PHP classes and converts them into DokuWiki-compatible syntax for seamless integration with your documentation workflow.

Key Features:

  • Automatic generation of class documentation.
  • Easy integration with DokuWiki installations.
  • Planned Features:
    • Markdown format support.
    • usedByClasses feature for enhanced class relationship tracking.
    • trait support.

Requirements

  • PHP 8.3 or higher
  • Docker (optional)

Installation

To install BuildADoc directly into your project you can use Composer with the command:

composer require gobst/buildadoc

Usage

1. Within your project

To generate class documentation for DokuWiki, use the following command:

php bin/console.php DokuWiki:create-doc path/to/src/ /path/to/destination/dir/ projectname

The generated directories and files must be placed under your DokuWiki installation at /data/pages. For more options and information run:

php bin/console.php DokuWiki:create-doc -help

2. With Docker

You can also use the gobst/buildadoc Docker image to avoid setting up PHP dependencies directly on your system:

docker run --rm --tty --volume "$PWD:$PWD" --workdir "$PWD" gobst/buildadoc php bin/console.php DokuWiki:create-doc src/ /path/to/destination/dir/ projectname

Support

If you encounter any issues or have questions, feel free to open an issue in the GitHub Issue Tracker.

License

Distributed under the BSD 3-Clause license. See LICENSE for more information.

Acknowledgments

  • ApiGen for inspiration.
  • DokuWiki for providing an excellent documentation platform.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-09-25