Skip to content

Commit 7da157b

Browse files
committed
🆙 Change route '/api/' -> '/demo/' for Demo pages
1 parent e4950a9 commit 7da157b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ install:
5656
script:
5757
- |
5858
if [[ $PHPDOC == '3' ]]; then
59-
phpdoc -d demo/ -t docs/api/ --force --template=data/templates/vuepress/
59+
phpdoc -d demo/ -t docs/demo/ --force --template=data/templates/vuepress/
6060
else
6161
composer build:api
6262
fi

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
themeConfig: {
1616
nav: [
1717
{ text: 'Guide', link: '/guide/' },
18-
{ text: 'Demo', link: '/api/' },
18+
{ text: 'Demo', link: '/demo/' },
1919
],
2020

2121
sidebar: {
@@ -29,7 +29,7 @@ module.exports = {
2929
]
3030
}
3131
],
32-
'/api/': [
32+
'/demo/': [
3333
{
3434
title: 'Demo',
3535
collapsable: false,

phpdoc.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</parser>
99

1010
<transformer>
11-
<target>docs/api</target>
11+
<target>docs/demo</target>
1212
</transformer>
1313

1414
<transformations>

0 commit comments

Comments
 (0)