mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 15:28:54 +00:00
[vuepress] Update config
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
parent
fd85d5a0e5
commit
c572a399f3
@ -15,6 +15,6 @@
|
|||||||
"postStartCommand": [
|
"postStartCommand": [
|
||||||
"sh",
|
"sh",
|
||||||
"-cx",
|
"-cx",
|
||||||
"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"
|
"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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -1,6 +1,7 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
const resolve = require("vuepress-theme-hope/resolve");
|
const resolve = require("vuepress-theme-hope/resolve");
|
||||||
|
// const { config } = require('vuepress-theme-hope')
|
||||||
|
|
||||||
|
// module.exports =config({
|
||||||
module.exports = resolve({
|
module.exports = resolve({
|
||||||
title: 'Docker 从入门到实践',
|
title: 'Docker 从入门到实践',
|
||||||
base: '/',
|
base: '/',
|
||||||
@ -52,7 +54,7 @@ module.exports = resolve({
|
|||||||
'Word',
|
'Word',
|
||||||
],
|
],
|
||||||
footer: {
|
footer: {
|
||||||
content: "",
|
content: "Powerd by Vuepress, Made with <a target='_blank' href='https://github.com/mister-hope/vuepress-theme-hope'>vuepress-theme-hope</a>",
|
||||||
display: true,
|
display: true,
|
||||||
copyright: false,
|
copyright: false,
|
||||||
},
|
},
|
||||||
@ -62,16 +64,13 @@ module.exports = resolve({
|
|||||||
hostname: 'https://vuepress.mirror.docker-practice.com',
|
hostname: 'https://vuepress.mirror.docker-practice.com',
|
||||||
// author: 'yeasy',
|
// author: 'yeasy',
|
||||||
markdown: {
|
markdown: {
|
||||||
// lineNumbers: true,
|
lineNumbers: true,
|
||||||
// sub: true,
|
|
||||||
// footnote: true
|
|
||||||
enableAll: true
|
|
||||||
},
|
},
|
||||||
themeColor: {
|
themeColor: {
|
||||||
blue: '#2196f3',
|
blue: '#2196f3',
|
||||||
red: '#f26d6d',
|
// red: '#f26d6d',
|
||||||
green: '#3eaf7c',
|
// green: '#3eaf7c',
|
||||||
orange: '#fb9b5f'
|
// orange: '#fb9b5f'
|
||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user