承接 ddliu/airdoc 相关项目开发

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

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

ddliu/airdoc

最新稳定版本:v0.1.0

Composer 安装命令:

composer require ddliu/airdoc

包简介

Serve document on the air

README 文档

README

Serve markdown document on the air.

Screenshot

Features

  • Documents are structured by directory
  • Multiple sources
  • No database

Install

With Composer:

composer require ddliu/airdoc

With GIT:

git clone https://github.com/ddliu/airdoc.git docviewer
cd docviewer
composer install

Web Server

Nginx

See nginx.conf

Apache

.htaccess is already configured for Apache.

PHP Builtin Server

make server

or

php -S localhost:8080 -t . router.php

Config

Airdoc can be customized with config.php.

<?php
return [
    'title' => 'Page title',
    // add multiple document sources
    'mount' => [
        'path/to/src2' => '/', // base source
        '../path/to/src1' => '/group1',
        'path/to/src3' => '/group1/group2',
    ],
    // basic auth
    'users' => [
        'user1' => 'password1',
        'user2' => 'password2',
        'user3' => 'password3',
    ],
    // path patterns to be ignored
    'ignore_regexp' => [
        '/\.', // ignore hidden files or directories(start with dot)
        '\.php$', // ignore php file
    ],
];
?>

TODO

  • TOC
  • Cache

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-18