Skip to content

Commit

Permalink
[v4] migrate search from Flexsearch to Pagefind (#2569)
Browse files Browse the repository at this point in the history
* aa

* aa

* aa

* aa

* aa

* aa

* aa

* env

* aa

* aa

* aa

* aa

* aa

* prettier

* more

* more

* more

* aa

* more

* more

* more

* aa

* more

* more

* more

* more

* more

* remove nextra search

* fix

* Update get-posts.js

* Update generate-page-map.ts

* try

* fix

* try

* remove console
  • Loading branch information
dimaMachina committed Sep 11, 2024
1 parent 3e18deb commit 26851b5
Show file tree
Hide file tree
Showing 50 changed files with 586 additions and 1,040 deletions.
7 changes: 7 additions & 0 deletions .changeset/lazy-cycles-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'nextra-theme-blog': major
'nextra-theme-docs': major
'nextra': major
---

migrate search from Flexsearch to Pagefind
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint

on:
pull_request:
branches: [main, v4-v2]
branches: [main, v3, v4-v2]

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nextjs-bundle-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Next.js Bundle Analysis
on:
pull_request:
push:
branches: [main, v4-v2]
branches: [main, v3, v4-v2]
workflow_dispatch:

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
branches: [main, v4-v2]
branches: [main, v3, v4-v2]

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test

on:
pull_request:
branches: [main, v4-v2]
branches: [main, v3, v4-v2]

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ out/

tsup.config.bundled*
tsconfig.tsbuildinfo
pagefind/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
strict-peer-dependencies=false
shell-emulator=true
enable-pre-post-scripts=true
2 changes: 1 addition & 1 deletion docs/app/about/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Nextra is powered by these incredible open source projects:
- https://tailwindcss.com
- https://github.com/pacocoursey/next-themes
- https://github.com/shikijs/shiki
- https://github.com/nextapps-de/flexsearch
- https://github.com/cloudcannon/pagefind
- https://github.com/atomiks/rehype-pretty-code
- https://github.com/Brooooooklyn/simple-git
- https://github.com/francoismassart/eslint-plugin-tailwindcss
Expand Down
Loading

0 comments on commit 26851b5

Please sign in to comment.