Fixed docs generator

This commit is contained in:
Andrey Helldar committed 2022-05-04 21:41:18 +09:00
1 parent 6f173279aa
commit 74fc451f9e
3 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -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
+6 -3
View File
@@ -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
View File
@@ -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"
}
}