Skip to content

Commit 21df399

Browse files
committed
refactor: update config
1 parent 4814c1d commit 21df399

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
*.js linguist-language=python
2-
*.css linguist-language=python
3-
*.html linguist-language=python

docs/.vitepress/config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ import {defineConfig} from 'vitepress'
22

33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
5+
lang: 'zh-CN',
56
base: '/CrawlerTutorial/',
67
title: "程序员阿江-Relakkes的爬虫教程",
78
description: "程序员阿江-Relakkes的爬虫教程",
89
lastUpdated: true,
910
themeConfig: {
11+
editLink: {
12+
pattern: 'https://github.com/NanmiCoder/CrawlerTutorial/tree/main/docs/:path'
13+
},
1014
search: {
1115
provider: 'local'
1216
},

0 commit comments

Comments
 (0)