-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
5,513 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "ccman-docs", | ||
"version": "2.0.0", | ||
"description": "技术改变生活", | ||
"license": "MIT", | ||
"type": "module", | ||
"scripts": { | ||
"docs:build": "vuepress-vite build src", | ||
"docs:clean-dev": "vuepress-vite dev src --clean-cache", | ||
"docs:dev": "vuepress-vite dev src", | ||
"docs:update-package": "pnpm dlx vp-update" | ||
}, | ||
"devDependencies": { | ||
"@vuepress/bundler-vite": "2.0.0-rc.9", | ||
"vue": "^3.4.27", | ||
"vuepress": "2.0.0-rc.9", | ||
"vuepress-theme-hope": "2.0.0-rc.41" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { defineUserConfig } from "vuepress"; | ||
import theme from "./theme.js"; | ||
|
||
export default defineUserConfig({ | ||
base: "/", | ||
|
||
locales: { | ||
"/": { | ||
lang: "en-US", | ||
title: "CcMan Docs", | ||
description: "Technology changes life", | ||
}, | ||
"/zh/": { | ||
lang: "zh-CN", | ||
title: "CcMan Docs", | ||
description: "技术改变生活", | ||
}, | ||
}, | ||
|
||
theme, | ||
|
||
// Enable it with pwa | ||
// shouldPrefetch: false, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { navbar } from "vuepress-theme-hope"; | ||
|
||
export const enNavbar = navbar([ | ||
"/", | ||
"/demo/", | ||
{ | ||
text: "Guide", | ||
icon: "lightbulb", | ||
prefix: "/guide/", | ||
children: [ | ||
{ | ||
text: "Bar", | ||
icon: "lightbulb", | ||
prefix: "bar/", | ||
children: ["baz", { text: "...", icon: "ellipsis", link: "#" }], | ||
}, | ||
{ | ||
text: "Foo", | ||
icon: "lightbulb", | ||
prefix: "foo/", | ||
children: ["ray", { text: "...", icon: "ellipsis", link: "#" }], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "V2 Docs", | ||
icon: "book", | ||
link: "https://theme-hope.vuejs.press/", | ||
}, | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from "./en.js"; | ||
export * from "./zh.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { navbar } from "vuepress-theme-hope"; | ||
|
||
export const zhNavbar = navbar([ | ||
"/zh/", | ||
"/zh/demo/", | ||
{ | ||
text: "指南", | ||
icon: "lightbulb", | ||
prefix: "/zh/guide/", | ||
children: [ | ||
{ | ||
text: "Bar", | ||
icon: "lightbulb", | ||
prefix: "bar/", | ||
children: ["baz", { text: "...", icon: "ellipsis", link: "" }], | ||
}, | ||
{ | ||
text: "Foo", | ||
icon: "lightbulb", | ||
prefix: "foo/", | ||
children: ["ray", { text: "...", icon: "ellipsis", link: "" }], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "V2 文档", | ||
icon: "book", | ||
link: "https://theme-hope.vuejs.press/zh/", | ||
}, | ||
]); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.