dev-master
9999999-devServe document on the air
MIT
The Requires
by dong
v0.1.0
0.1.0.0Serve document on the air
MIT
The Requires
by dong
Wallogit.com
2017 © Pedro Peláez
Serve document on the air
Serve markdown document on the air., (*1)
, (*2)
With Composer:, (*3)
composer require ddliu/airdoc
With GIT:, (*4)
git clone https://github.com/ddliu/airdoc.git docviewer cd docviewer composer install
See nginx.conf, (*5)
.htaccess is already configured for Apache., (*6)
make server
or, (*7)
php -S localhost:8080 -t . router.php
Airdoc can be customized with config.php., (*8)
<?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
],
];
?>
Serve document on the air
MIT
Serve document on the air
MIT