Fixed docs generator
This commit is contained in:
1 parent
6f173279aa
commit
74fc451f9e
3 files changed
+10
-7
No files matched your search
@@ -42,7 +42,7 @@ jobs:
|
||||
run: |
|
||||
IS_DIRTY=1
|
||||
|
||||
#php app/packages.php
|
||||
php app/packages.php
|
||||
|
||||
{ git add . && git commit -a -m "Updating package files"; } || IS_DIRTY=0
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const { viteBundler, defaultTheme } = require('vuepress')
|
||||
|
||||
require('dotenv').config();
|
||||
|
||||
const hostname = 'laravel-lang.com';
|
||||
@@ -15,8 +17,9 @@ module.exports = {
|
||||
['meta', { name: 'twitter:image', content: `https://${ hostname }/images/social-logo.png` }]
|
||||
],
|
||||
|
||||
theme: '@vuepress/theme-default',
|
||||
themeConfig: {
|
||||
bundler: viteBundler(),
|
||||
|
||||
theme: defaultTheme({
|
||||
hostname,
|
||||
base: '/',
|
||||
|
||||
@@ -85,7 +88,7 @@ module.exports = {
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
}),
|
||||
|
||||
plugins: [
|
||||
[
|
||||
|
||||
+3
-3
@@ -20,11 +20,11 @@
|
||||
"docs"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@vuepress/plugin-docsearch": "2.0.0-beta.35",
|
||||
"@vuepress/plugin-theme-data": "2.0.0-beta.35",
|
||||
"@vuepress/plugin-docsearch": "^2.0.0-beta.42",
|
||||
"@vuepress/plugin-theme-data": "^2.0.0-beta.42",
|
||||
"@vueuse/core": "^7.5.5",
|
||||
"dotenv": "^15.0.0",
|
||||
"vuepress": "2.0.0-beta.35",
|
||||
"vuepress": "^2.0.0-beta.42",
|
||||
"vuepress-plugin-seo": "^0.2.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user