Closed abtestingalpha closed 2 months ago
The changes involve the addition of a local search plugin to the Docusaurus configuration for the documentation site. Specifically, the searchPlugin
from the @easyops-cn/docusaurus-search-local
package has been imported and configured with specific options. Additionally, the package.json
file has been updated to include this new dependency, ensuring that the necessary package is available for the documentation site to utilize the local search functionality.
File | Change Summary |
---|---|
docs/bridge/docusaurus.config.ts | Added searchPlugin import and configuration with options { hashed: true, language: ['en'] } . |
docs/bridge/package.json | Added dependency "@easyops-cn/docusaurus-search-local": "^0.44.5" to dependencies . |
In the garden of code, a new search does bloom,
With options so bright, it dispels all the gloom.
A hop here, a skip there, now find what you seek,
In the world of our docs, it's the search we now speak! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Changes will increase total bundle size by 5.95MB (16.69%) :arrow_up::warning:, exceeding the configured threshold of 5%.
Bundle name | Size | Change |
---|---|---|
sdk-router-@synapsecns/sdk-router-esm* | 255.08kB | 426 bytes (0.17%) :arrow_up: |
sdk-router-@synapsecns/sdk-router-cjs* | 117.47kB | 234 bytes (0.2%) :arrow_up: |
explorer-ui-server-cjs* | 866.14kB | 76 bytes (0.01%) :arrow_up: |
explorer-ui-client-array-push* | 2.31MB | 152 bytes (0.01%) :arrow_up: |
synapse-interface-client-array-push* | 7.28MB | 746 bytes (0.01%) :arrow_up: |
synapse-interface-server-cjs* | 1.64MB | 147.92kB (9.9%) :arrow_up::warning: |
widget-cjs-esm* | 271.27kB | 2.03kB (-0.74%) :arrow_down: |
docs-bridge-client-array-push | 10.27MB | 2.37MB (29.94%) :arrow_up::warning: |
docs-bridge-server-cjs | 17.96MB | 3.09MB (20.74%) :arrow_up::warning: |
synapse-constants-esm-cjs* | 174.63kB | 174.63kB (100%) :arrow_up::warning: |
synapse-constants-cjs-esm* | 174.18kB | 174.18kB (100%) :arrow_up::warning: |
ℹ️ *Bundle size includes cached data from a previous commit
Latest commit: |
a10d955
|
Status: | ✅ Deploy successful! |
Preview URL: | https://f1b07f01.sanguine-fe.pages.dev |
Branch Preview URL: | https://docs-search.sanguine-fe.pages.dev |
Description Adds search to docs.
Summary by CodeRabbit
@easyops-cn/docusaurus-search-local
to improve search functionality within the documentation.5892df3025c3013fd8aab5bab935cdb09258f190: docs preview link