Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

official web

Pancakecb29157618e5
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 08235cb9b..253d0f417 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -5,6 +5,7 @@ on:
branches: [main]
paths:
- 'docs/**'
+ - '.github/workflows/docs.yaml'
workflow_dispatch:
permissions:
@@ -34,6 +35,8 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v4
+ with:
+ enablement: true
- name: Install dependencies
run: cd docs && npm ci
@@ -56,4 +59,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
-
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
index adeb2acf3..0edf544ef 100644
--- a/docs/.vitepress/config.mts
+++ b/docs/.vitepress/config.mts
@@ -3,17 +3,17 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "DeepTutor",
description: "AI-Powered Personalized Learning Assistant",
-
+
// GitHub Pages 部署配置
base: '/DeepTutor/',
-
+
head: [
['link', { rel: 'icon', href: '/DeepTutor/logo.png' }]
],
themeConfig: {
logo: '/logo.png',
-
+
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide/getting-started' },
@@ -74,4 +74,3 @@ export default defineConfig({
}
}
})
-
diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md
index 6c2454e2e..5ee9dbf9f 100644
--- a/docs/guide/troubleshooting.md
+++ b/docs/guide/troubleshooting.md
@@ -169,4 +169,3 @@ python src/knowledge/extract_numbered_items.py --kb <kb_name> --base-dir ./data/
```
This will extract numbered items (Definitions, Theorems, Equations, etc.) from your knowledge base without reinitializing it.
-
diff --git a/docs/package.json b/docs/package.json
index 87e13fefd..880fd7ea9 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -11,4 +11,3 @@
"vitepress": "^1.5.0"
}
}
-
diff --git a/docs/roadmap.md b/docs/roadmap.md
index 5fe0b5956..92fa0931e 100644
--- a/docs/roadmap.md
+++ b/docs/roadmap.md
@@ -30,4 +30,3 @@ Have a feature idea? We'd love to hear it!
---
⭐ **Star the repo** to follow our future updates!
-