@@ -4,7 +4,7 @@ module.exports = {
4
4
base : '/phpdoc-vuepress/' ,
5
5
6
6
title : 'phpdoc-vuepress' ,
7
- description : 'VuePress template for phpDocumentor ' ,
7
+ description : 'Template for generating your PHP API documentation in a pretty VuePress format ' ,
8
8
ga : 'UA-58599811-1' ,
9
9
10
10
markdown : {
@@ -14,33 +14,37 @@ module.exports = {
14
14
15
15
themeConfig : {
16
16
nav : [
17
- { text : 'Guide' , link : '/guide/' } ,
18
- { text : 'Demo' , link : '/demo/' } ,
17
+ { text : 'Guide' , link : '/guide/' } , // Normal documentation link
18
+ { text : 'Demo' , link : '/demo/' } , // Your api documentation link
19
19
] ,
20
20
21
21
sidebar : {
22
- '/guide/' : [
22
+ '/guide/' : [ // Normal documentation
23
23
{
24
24
title : 'Guide' ,
25
25
collapsable : false ,
26
- children : [
26
+ children : [ // Normal pages
27
27
'' ,
28
28
'getting-started' ,
29
29
'configuration' ,
30
30
]
31
31
}
32
32
] ,
33
+
34
+ // Your API documentation
35
+ // Here is where will be generated your files (`docs/demo/` in this case).
36
+ // (This directory should be ignored by Git)
33
37
'/demo/' : [
34
38
{
35
- title : 'Demo' ,
39
+ title : 'Demo' , // Title of your API documentation
36
40
collapsable : false ,
37
41
children : [
38
- '' ,
39
- 'classes' ,
40
- 'interfaces' ,
41
- 'traits' ,
42
- 'functions' ,
43
- 'constants'
42
+ '' , // Ref. to the `README.md` file
43
+ 'classes' , // Ref. to the `classes.md` file
44
+ 'interfaces' , // Ref. to the `interfaces.md` file
45
+ 'traits' , // Ref. to the `traits.md` file
46
+ 'functions' , // Ref. to the `functions.md` file
47
+ 'constants' // Ref. to the `constants.md` file
44
48
]
45
49
}
46
50
] ,
0 commit comments