@@ -4,7 +4,7 @@ module.exports = {
44 base : '/phpdoc-vuepress/' ,
55
66 title : 'phpdoc-vuepress' ,
7- description : 'VuePress template for phpDocumentor ' ,
7+ description : 'Template for generating your PHP API documentation in a pretty VuePress format ' ,
88 ga : 'UA-58599811-1' ,
99
1010 markdown : {
@@ -14,33 +14,37 @@ module.exports = {
1414
1515 themeConfig : {
1616 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
1919 ] ,
2020
2121 sidebar : {
22- '/guide/' : [
22+ '/guide/' : [ // Normal documentation
2323 {
2424 title : 'Guide' ,
2525 collapsable : false ,
26- children : [
26+ children : [ // Normal pages
2727 '' ,
2828 'getting-started' ,
2929 'configuration' ,
3030 ]
3131 }
3232 ] ,
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)
3337 '/demo/' : [
3438 {
35- title : 'Demo' ,
39+ title : 'Demo' , // Title of your API documentation
3640 collapsable : false ,
3741 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
4448 ]
4549 }
4650 ] ,
0 commit comments