
Product
Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies
A safer, faster way to eliminate vulnerabilities without updating dependencies
@trieve/docusaurus-search-theme
Advanced tools
Add the following into your docusaurus.config.js
npm install @trieve/docusaurus-search-theme
/** @type {import('@docusaurus/types').Config} */
const config = {
...
themes: [
[
require.resolve("@trieve/docusaurus-search-theme"),
{
apiKey: "tr-****************",
datasetId: "<your-dataset-id>",
defaultSearchQueries: [
"How to use the API reference?",
"Is there a python sdk?",
"How to get started?"
]
}
],
],
};
| Name | Type | Default |
|---|---|---|
| datasetId | string | '' |
| apiKey | string | '' |
| chat | boolean | true |
| analytics | boolean | true |
| placeholder | string | "Search..." |
| theme | "light" or "dark" | "light" |
| searchOptions | AutocompleteReqPayload | { search_type: "fulltext" } |
| suggestedQueries | boolean | true |
| defaultSearchQueries | string[] | [] |
| defaultAiQuestions | string[] | [] |
| brandLogoImgSrcUrl | string | null |
| brandName | string | null |
| accentColor | string | #CB53EB |
clients/docusaurus-theme-search $ yarn dev
This may also need to be fully restarted for the theme to update, this will automatically pull
from dist/index.js. Some changes get update without a restart but not all.
clients/docusaurus-theme-search/example $ npm run start
DO NOT RUN yarn publish, instead run yarn pub
FAQs
Add the following into your `docusaurus.config.js`
We found that @trieve/docusaurus-search-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.