8000 add search, bump vitepress · CoderBotOrg/dev-docs@422d8a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 422d8a7

Browse files
committed
add search, bump vitepress
1 parent 8aad0b8 commit 422d8a7

File tree

6 files changed

+103
-6
lines changed

6 files changed

+103
-6
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,94 @@
1-
node_modules
2-
dist
1+
.DS_Store
2+
*.swp
3+
pages/.vuepress/dist
4+
**/dist/**
5+
**/.vitepress/dist
6+
**/.vitepress/cache
7+
8+
# Created by https://www.gitignore.io/api/node
9+
# Edit at https://www.gitignore.io/?templates=node
10+
11+
### Node ###
12+
# Logs
13+
logs
14+
*.log
15+
npm-debug.log*
16+
yarn-debug.log*
17+
yarn-error.log*
18+
19+
# Runtime data
20+
pids
21+
*.pid
22+
*.seed
23+
*.pid.lock
24+
25+
# Directory for instrumented libs generated by jscoverage/JSCover
26+
lib-cov
27+
28+
# Coverage directory used by tools like istanbul
29+
coverage
30+
31+
# nyc test coverage
32+
.nyc_output
33+
34+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
35+
.grunt
36+
37+
# Bower dependency directory (https://bower.io/)
38+
bower_components
39+
40+
# node-waf configuration
41+
.lock-wscript
42+
43+
# Compiled binary addons (https://nodejs.org/api/addons.html)
44+
build/Release
45+
46+
# Dependency directories
47+
node_modules/
48+
jspm_packages/
49+
50+
# TypeScript v1 declaration files
51+
typings/
52+
53+
# Optional npm cache directory
54+
.npm
55+
56+
# Optional eslint cache
57+
.eslintcache
58+
59+
# Optional REPL history
60+
.node_repl_history
61+
62+
# Output of 'npm pack'
63+
*.tgz
64+
65+
# Yarn Integrity file
66+
.yarn-integrity
67+
68+
# dotenv environment variables file
69+
.env
70+
.env.test
71+
72+
# parcel-bundler cache (https://parceljs.org/)
73+
.cache
74+
75+
# next.js build output
76+
.next
77+
78+
# nuxt.js build output
79+
.nuxt
80+
81+
# vuepress build output
82+
.vuepress/dist
83+
84+
# Serverless directories
85+
.serverless/
86+
87+
# FuseBox cache
88+
.fusebox/
89+
90+
# DynamoDB Local files
91+
.dynamodb/
92+
93+
# End of https://www.gitignore.io/api/node
94+

docs/.DS_Store

-6 KB
Binary file not shown.

docs/.vitepress/config.js renamed to docs/.vitepress/config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
export default {
1+
import { defineConfig } from 'vitepress';
2+
3+
export default defineConfig({
24
title: 'CoderBot Developer documentation',
35
description: 'CoderBot Developer documentation',
46
themeConfig: {
7+
search: {
8+
provider: 'local'
9+
},
510
sidebar: [
611
{
712
text: 'Guide',
@@ -22,4 +27,4 @@ export default {
2227
['script', {async: true, src: 'https://www.googletagmanager.com/gtag/js?id=G-XNTKRP57LY'}],
2328
['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-XNTKRP57LY');"]
2429
]
25-
}
30+
});

docs/images/.DS_Store

-6 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"docs:preview": "vitepress preview docs"
66
},
77
"dependencies": {
8-
"vitepress": "^1.0.0-alpha.30",
9-
"vue": "^3.2.45"
8+
"vitepress": "^1.0.0-beta.1",
9+
"vue": "^3.3.4"
1010
}
1111
}

0 commit comments

Comments
 (0)
0