Skip to content

Commit fb85101

Browse files
committed
add search
1 parent 8a72dcf commit fb85101

File tree

2 files changed

+7
-49
lines changed

2 files changed

+7
-49
lines changed

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

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
export default {
1+
import { defineConfig } from 'vitepress';
2+
3+
export default defineConfig({
24
base: "/",
35
title: 'Documentazione di CoderBot',
46
description: 'Guida all\'uso di CoderBot',
57
themeConfig: {
8+
search: {
9+
provider: 'local'
10+
},
611
outlineTitle: 'Su questa pagina',
712
sidebar: [
813
{
@@ -44,4 +49,4 @@ export default {
4449
['script', {async: true, src: 'https://www.googletagmanager.com/gtag/js?id=G-JH5JX4PBZG'}],
4550
['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-JH5JX4PBZG');"]
4651
]
47-
}
52+
});

docs/.vitepress/config_docs.js

-47
This file was deleted.

0 commit comments

Comments
 (0)