From 21df3991b72baa97d0e581f4e7d6afd06635a678 Mon Sep 17 00:00:00 2001 From: Relakkes Date: Thu, 29 Aug 2024 06:41:02 +0800 Subject: [PATCH] refactor: update config --- .gitattributes | 3 --- docs/.vitepress/config.mjs | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3ab78cc..e69de29 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +0,0 @@ -*.js linguist-language=python -*.css linguist-language=python -*.html linguist-language=python diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index 51044eb..dd02c78 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -2,11 +2,15 @@ import {defineConfig} from 'vitepress' // https://vitepress.dev/reference/site-config export default defineConfig({ + lang: 'zh-CN', base: '/CrawlerTutorial/', title: "程序员阿江-Relakkes的爬虫教程", description: "程序员阿江-Relakkes的爬虫教程", lastUpdated: true, themeConfig: { + editLink: { + pattern: 'https://github.com/NanmiCoder/CrawlerTutorial/tree/main/docs/:path' + }, search: { provider: 'local' },