chore(deps): update Vuepress
This commit is contained in:
parent
2d1e17f03b
commit
04ad590c24
@ -17,12 +17,9 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
- uses: borales/actions-yarn@v4.2.0
|
||||
with:
|
||||
cmd: install --frozen-lockfile
|
||||
- uses: borales/actions-yarn@v4.2.0
|
||||
with:
|
||||
cmd: docs:build
|
||||
- run: corepack enable
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn build
|
||||
- name: "Deploy to remote server"
|
||||
uses: appleboy/scp-action@v0.1.4
|
||||
with:
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ node_modules
|
||||
.cache
|
||||
/docs/**/*.md
|
||||
/docs/.vuepress/dist/
|
||||
/.yarn/
|
||||
|
3
.yarnrc.yml
Normal file
3
.yarnrc.yml
Normal file
@ -0,0 +1,3 @@
|
||||
enableMessageNames: false
|
||||
|
||||
nodeLinker: node-modules
|
@ -1,5 +1,7 @@
|
||||
import { defineUserConfig, defaultTheme } from 'vuepress';
|
||||
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension';
|
||||
import { defaultTheme } from '@vuepress/theme-default';
|
||||
import { viteBundler } from '@vuepress/bundler-vite';
|
||||
import { defineUserConfig } from 'vuepress';
|
||||
|
||||
import head from './head';
|
||||
|
||||
interface ChildPage {
|
||||
@ -109,6 +111,7 @@ export default defineUserConfig({
|
||||
title: "Phundrak's Dotfiles",
|
||||
head: head,
|
||||
description: "Documentation of the GNU/Linux configuration of P'undrak",
|
||||
bundler: viteBundler({}),
|
||||
markdown: {
|
||||
html: false,
|
||||
linkify: true,
|
||||
@ -117,7 +120,6 @@ export default defineUserConfig({
|
||||
level: [1, 2, 3, 4, 5],
|
||||
},
|
||||
},
|
||||
plugins: [removeHtmlExtensionPlugin()],
|
||||
theme: defaultTheme({
|
||||
sidebarDepth: 5,
|
||||
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
|
||||
|
12
package.json
12
package.json
@ -4,8 +4,8 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"docs:dev": "vuepress dev docs",
|
||||
"docs:build": "vuepress build docs"
|
||||
"dev": "vuepress dev docs",
|
||||
"build": "vuepress build docs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -14,9 +14,9 @@
|
||||
"author": "Lucien Cartier-Tilet <lucien@phundrak.com>",
|
||||
"license": "AGPL-3.0",
|
||||
"devDependencies": {
|
||||
"vuepress": "2.0.0-beta.63"
|
||||
"@vuepress/bundler-vite": "^2.0.0-rc.2",
|
||||
"@vuepress/theme-default": "^2.0.0-rc.2",
|
||||
"vuepress": "2.0.0-rc.2",
|
||||
},
|
||||
"dependencies": {
|
||||
"vuepress-plugin-remove-html-extension": "^0.1.0"
|
||||
}
|
||||
"packageManager": "yarn@4.0.2"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user