erikaheidi/autodocs
最新稳定版本:0.2.0
Composer 安装命令:
composer require erikaheidi/autodocs
包简介
Reference Documentation Builder
关键字:
README 文档
README
Autodocs is a PHP library designed to facilitate building highly customizable automated docs based on markdown templates and JSON data sources. It provides a layer of abstraction on top of which you can create your own documentation factory.
Autodocs was built to be combined with a Minicli application, making it suitable for running as a scheduled task on GitHub Actions.
Requirements
- PHP >= 8.2
- Composer
- ext-json
Visit the Autodocs Wiki for architecture details and basic documentation.
Tutorial
For a detailed guide on how to implement an Autodocs application, check the tutorial on DEV: Creating an Automated Documentation Pipeline in PHP with Autodocs and GitHub Actions. It covers everything from bootstrapping a new Minicli app and configuring it with Autodocs, creating a custom documentation page, setting up a JSON data source, and setting up a custom layout for a README page. The tutorial also covers how to create a GitHub Actions workflow to run this application and create a pull request when there are changes in the generated docs.
Demo
A demo implementation that generates JSON-based README files is available in this repo: https://github.com/erikaheidi/autodocs-demo
统计信息
- 总下载量: 439
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-06