desilva/lagrafo 问题修复 & 功能扩展

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

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

desilva/lagrafo

Composer 安装命令:

composer require desilva/lagrafo

包简介

To the point documentation app generator for Laravel.

README 文档

README

Latest Version on Packagist Total Downloads GitHub Actions

jsDelivr hits (GitHub)

Important I'm #CodingInPublic, this is not at all ready for production use.

Lagrafo is a simple to the point, documentation site package for Laravel, built to just get some damn documentation without any fuss, configuration, or code.

The package is opinionated and may not suit your needs. I originally created it for my own use, and don't intend to spending a lot of time on adding an extensive feature set to it. If you want a more robust and highly customizable static documentation site, check ouy my other project, HydePHP at hydephp.github.io!

This package is still in development and is not suited for production use. Versions in the v0.x range have no backwards-compatibility guarantees.

Installation

You can install the package via composer:

composer require desilva/lagrafo

Frontend Assets

The frontend styles and scripts are served through the jsDelivr CDN. They are added here for reference, but are already included in the layout.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/caendesilva/lagrafo@v0.1.0-beta/dist/lagrafo.min.css">
<script defer src="https://cdn.jsdelivr.net/gh/caendesilva/lagrafo@v0.1.0-beta/dist/lagrafo.min.js"></script>

Usage

Place markdown files in the resources/docs directory, and access them through the /docs/<markdown-slug> route.

Lagrafo does not really offer any customization options, though you can override the automatic sidebar order and labels using optional front matter.

About

Features

  • Markdown documentation files are automatically discovered
  • Automatic sidebar
  • No configuration
  • Laravel powered routing
  • Lightweight frontend
  • Basic search feature that can return API results

Screenshot

Screenshot

Resources

Contributing

Feel free to fork the project and submit pull requests! I'd love to get proper tests in place, if that's something you're interested in.

Security

If you discover any security related issues, please email caen@desilva.se instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固