Skip to content

Commit da1e9a6

Browse files
authored
Merge pull request #16 from QwenLM/sync
feat: Integrates with Pagefind
2 parents ad64ae8 + 3529e95 commit da1e9a6

File tree

3 files changed

+109
-1
lines changed

3 files changed

+109
-1
lines changed

website/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
.temp-source-repo/
44
.source-docs/
55
last-sync.json
6+
7+
# Pagefind search index
8+
_pagefind/

website/package-lock.json

Lines changed: 103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Multilingual documentation site providing AI-powered automatic translation and high-quality localized documentation experience for the Qwen Code project",
55
"scripts": {
66
"dev": "next dev",
7-
"build": "next build"
7+
"build": "next build",
8+
"postbuild": "pagefind --site out --output-path out/_pagefind"
89
},
910
"keywords": [
1011
"qwen",
@@ -51,6 +52,7 @@
5152
"@types/node": "24.3.0",
5253
"@types/react": "^18.0.0",
5354
"@types/react-dom": "^18.0.0",
55+
"pagefind": "^1.4.0",
5456
"react-day-picker": "^9.9.0",
5557
"tailwindcss": "^4.1.10",
5658
"tailwindcss-animate": "^1.0.7",

0 commit comments

Comments
 (0)