-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.php
More file actions
52 lines (38 loc) · 848 Bytes
/
config.php
File metadata and controls
52 lines (38 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* Created by PhpStorm.
* User: lovemo
* Date: 2018/9/18
* Time: 11:08
*/
return [
// markdown样式
'markdown' => [
// 生成目录
'build' => __DIR__ . '/demo.md',
'style' => [
'func' => [
'name' => '##',
'mark' => '####',
]
],
],
// eolinker样式
'eolinker' => [
// 生成目录
'build' => __DIR__ . '/demo.export',
],
// 模块所在路径
'path' => __DIR__ . '/../../../',
// 定义模块的自动生成
'module' => [
'api' => [
// 定义控制器的自动生成
[
'controller' => 'Test.php',
// [] 为所有
'action' => ['q', 'ww'],
]
],
],
];