Skip to content

Commit

Permalink
doc: enable code search in rspress (#356)
Browse files Browse the repository at this point in the history
* doc: enable code search in rspress

* fix: lint

* chore: update lockfile
  • Loading branch information
yuyutaotao authored Feb 6, 2025
1 parent e860215 commit 175a895
Show file tree
Hide file tree
Showing 3 changed files with 577 additions and 389 deletions.
4 changes: 2 additions & 2 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"packageManager": "[email protected]",
"dependencies": {
"querystring": "0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"querystring": "0.2.1",
"rspress": "1.34.1"
"rspress": "^1.41.0"
},
"devDependencies": {
"@types/node": "^18.0.0"
Expand Down
3 changes: 3 additions & 0 deletions apps/site/rspress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { defineConfig } from 'rspress/config';
export default defineConfig({
root: path.join(__dirname, 'docs'),
title: 'Midscene.js',
search: {
codeBlocks: true,
},
description:
'Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML.',
icon: '/midscene-icon.png',
Expand Down
Loading

0 comments on commit 175a895

Please sign in to comment.