Skip to content

Commit c572a39

Browse files
committed
[vuepress] Update config
Signed-off-by: Kang Huaishuai <[email protected]>
1 parent fd85d5a commit c572a39

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Diff for: .devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"postStartCommand": [
1616
"sh",
1717
"-cx",
18-
"pwd ; mkdir -p /workspaces/docker_practice/node_modules; mkdir -p /workspaces/docker_practice/_book; mount --bind /srv/gitbook/node_modules /workspaces/docker_practice/node_modules ; mount --bind /mnt /workspaces/docker_practice/_book"
18+
"pwd ; cd /workspaces/docker_practice ; mkdir -p ${PWD}/node_modules; mkdir -p ${PWD}/_book; mount --bind /srv/gitbook/node_modules ${PWD}/node_modules ; mount --bind /mnt ${PWD}/_book"
1919
]
2020
}

Diff for: .github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
22
push:
33
pull_request:
4+
workflow_dispatch:
45

56
name: CI
67

Diff for: .vuepress/config.js

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const resolve = require("vuepress-theme-hope/resolve");
2+
// const { config } = require('vuepress-theme-hope')
23

4+
// module.exports =config({
35
module.exports = resolve({
46
title: 'Docker 从入门到实践',
57
base: '/',
@@ -52,7 +54,7 @@ module.exports = resolve({
5254
'Word',
5355
],
5456
footer: {
55-
content: "",
57+
content: "Powerd by Vuepress, Made with <a target='_blank' href='https://github.com/mister-hope/vuepress-theme-hope'>vuepress-theme-hope</a>",
5658
display: true,
5759
copyright: false,
5860
},
@@ -62,16 +64,13 @@ module.exports = resolve({
6264
hostname: 'https://vuepress.mirror.docker-practice.com',
6365
// author: 'yeasy',
6466
markdown: {
65-
// lineNumbers: true,
66-
// sub: true,
67-
// footnote: true
68-
enableAll: true
67+
lineNumbers: true,
6968
},
7069
themeColor: {
7170
blue: '#2196f3',
72-
red: '#f26d6d',
73-
green: '#3eaf7c',
74-
orange: '#fb9b5f'
71+
// red: '#f26d6d',
72+
// green: '#3eaf7c',
73+
// orange: '#fb9b5f'
7574
},
7675

7776
//

0 commit comments

Comments
 (0)